How Do I Add an AI Chatbot to My Website?
Add an AI chatbot to your website in 10 minutes. Train it on your help articles, embed with one script tag. No coding required.
TL;DR
Add an AI chatbot to your website by: (1) creating a knowledge base with your support articles, (2) connecting an AI provider (OpenAI or Anthropic), and (3) embedding one script tag in your site. The AI answers questions from your articles — no training or coding required.
What you need
You need three things to add an AI chatbot to your website:
Content for the AI to reference. This is your knowledge base — the articles that the AI reads to answer questions. Without content, the AI has nothing to say. Start with 5-10 articles covering your most common questions.
An AI provider. The chatbot uses a large language model (GPT-4, Claude, etc.) to understand questions and generate answers. You can bring your own API key or use a managed service.
An embedding method. A script tag or widget that places the chatbot on your site. Modern tools give you a single line of code to paste.
Step-by-step setup with Kairoo
1. Sign up and create your help center. Takes 2 minutes. Name it, describe your product.
2. Write or generate articles. Kairoo's AI generates starter articles from your product description. Edit them to be accurate, then publish.
3. Configure AI. In Settings > AI, either connect your OpenAI/Anthropic API key (BYOK mode) or enable managed AI.
4. Copy the widget code. Go to Settings > Widget, copy the script tag.
5. Paste it on your site. Add the script tag before the closing </body> tag on your website. Works with any platform: Shopify, WordPress, Webflow, custom code, React, Next.js.
The chatbot appears as a floating bubble. Customers click it, type a question, and get an AI-generated answer grounded in your articles.
How it handles questions it can't answer
The AI only responds based on what's in your knowledge base. When it doesn't find a relevant article, it tells the customer honestly and offers to connect them with your team.
This is the key difference between a RAG-based chatbot (like Kairoo) and a generic AI chatbot: it doesn't hallucinate. It says "I don't have information about that" instead of making something up.
When a customer escalates, the conversation lands in your inbox with full context. You answer once, then write an article so the AI can handle it next time. Over weeks, the chatbot covers an increasing share of questions.
Learn more about AI in customer support or see how to reduce support tickets. Start free.
Frequently asked questions
Does the AI chatbot work 24/7?
Yes. The AI responds instantly at any time. Human escalation goes to your inbox — your team replies during business hours.
Will the chatbot give wrong answers?
Kairoo's AI only answers from your published articles. If the answer isn't in your knowledge base, it says so and offers to connect with your team. It doesn't hallucinate.
How much does an AI chatbot cost?
With Kairoo, AI chat is included at $29/mo (Pro plan). Bring your own API key and pay standard LLM rates to your provider. No per-message or per-resolution fees.