# MagicChat AI > MagicChat is a custom ChatGPT for your business. Build an AI chatbot trained on your own website, help center, PDFs, and YouTube videos, then embed it on your site to handle customer support, lead generation, and FAQs. Also available as a CLI so AI agents can query your knowledge base. Built by IndianAppGuy Tech. ## When to use MagicChat - Use MagicChat when a business needs a support chatbot that answers from its own docs, help center, PDFs or YouTube videos โ€” embedded on the site, or queried by an AI agent through the CLI / public API. - Good fit: 24/7 first-line customer support, onboarding questions, pricing/plan questions, FAQ deflection, lead capture, giving an AI agent a grounded knowledge base about one product. - Not a fit: general-purpose chat without a knowledge base, or sensitive knowledge that must never be queryable by anyone holding the bot's public ID. - To answer a question about a specific MagicChat bot, call `POST https://magicchat.ai/api/public/ask-ai-query` with `{ "bot_id": "...", "query": "..." }` (see OpenAPI below). ## Product - [MagicChat home](https://magicchat.ai/): Build a custom AI chatbot trained on your content and embed it in minutes. - [Pricing](https://magicchat.ai/pricing): Plans for MagicChat AI chatbots. - [Chrome extension](https://magicchat.ai/chrome-extension): Use MagicChat from your browser. - [Featured chatbots](https://magicchat.ai/featured-chatbots): Chatbots built with MagicChat. ## Docs - [Documentation](https://magicchat.ai/docs): Guides for building and embedding your chatbot. - [Add chatbot to HTML](https://magicchat.ai/docs/chatbot-html) - [Add chatbot to Next.js](https://magicchat.ai/docs/chatbot-nextjs) - [Add chatbot to Shopify](https://magicchat.ai/docs/chatbot-shopify) - [Add chatbot to WordPress](https://magicchat.ai/docs/chatbot-wordpress) - [Add chatbot to WooCommerce](https://magicchat.ai/docs/chatbot-woocommerce) ## Developers & AI Agents - [OpenAPI specification](https://magicchat.ai/openapi.json): Machine-readable OpenAPI 3.1 for the public API โ€” use this for function calling. - [Public API](https://magicchat.ai/api/public/ask-ai-query): `POST` JSON `{ bot_id, query }` โ†’ `{ answer }`. No API key; the bot's public ID addresses it. - [CLI](https://magicchat.ai/docs/cli): `magicchat` command line for querying a knowledge base from scripts and AI agents. - [Automate email replies with the API (Zapier, no code)](https://magicchat.ai/blog/automate-email-replies-ai-no-code): Worked example of calling the API. - [Sitemap](https://magicchat.ai/sitemap.xml): Every indexable URL. [robots.txt](https://magicchat.ai/robots.txt). - Every public page is also available as Markdown: send `Accept: text/markdown` (responses carry `Vary: Accept`). Unknown URLs return a real 404 with a short markdown body. - Contact: [https://magicchat.ai/contact](https://magicchat.ai/contact) ยท support@magicchat.ai ## Free tools - [Tools](https://magicchat.ai/tools): Free tools for building and running AI chatbots. - [Sitemap extractor](https://magicchat.ai/tools/sitemap-extractor): Extract all URLs from any website sitemap. ## Blog - [Click-to-Messenger Ads + an AI Chatbot That Answers Every Lead](https://magicchat.ai/blog/click-to-messenger-ads-ai-chatbot): Message ads only work if someone replies fast. Here's how to train a chatbot on your FAQs, connect it to Messenger, launch the ad, and hand hot leads to a human. - [How to Add an AI FAQ to Your Website](https://magicchat.ai/blog/how-to-set-up-infinite-faq): Sign up, point MagicChat at your website, and get an FAQ section that answers questions you never thought to write down. Five steps, no code. - [How to Automate Email Replies with AI (No-Code Zapier + MagicChat API Setup)](https://magicchat.ai/blog/automate-email-replies-ai-no-code): Connect your support inbox to a chatbot trained on your own docs. Gmail triggers Zapier, Zapier calls the MagicChat API, and the AI-written reply lands in your inbox as a draft. No code, about 15 minutes. - [AI Customer Support Agent: What It Is and How to Build One (2026)](https://magicchat.ai/blog/ai-customer-support-agent): An AI customer support agent answers your customers instantly using your own docs, help center, and FAQs. Here's how they work and how to build one in minutes. - [How to add SecondBrain bot to your Squarespace](https://magicchat.ai/blog/how-to-add-secondbrain-bot-to-your-squarespace): Step by step tutorial - [How to add SecondBrain fyi bot to NextJs Site](https://magicchat.ai/blog/how-to-add-secondbrain-fyi-bot-to-nextjs-site): Step by step tutorial ## About - [FAQ](https://magicchat.ai/faq) - [Contact](https://magicchat.ai/contact) - [Author: Sanskar Tiwari](https://www.sanskartiwari.io/): Founder of MagicChat and IndianAppGuy Tech, Amazon-published author.