How to add an AI chatbot to your website with one line of code
Add an AI chat bubble to any website in minutes. It answers visitors 24/7 from your help center, captures leads into your CRM and hands hard chats to you.
To add an AI chatbot to your website, turn on the KutrimBots Chat Widget, pick the agent that should answer, describe your business, and paste one line of code into your site. Visitors can then ask questions any time of day, read your help center, leave their details and book a call. Chats show up in your inbox, and anyone who leaves an email or phone number becomes a lead in your CRM.
Setup takes about 15 minutes. This guide covers each step and how to make the bot answer well.
What does an AI website chatbot do?
The chat bubble sits in the corner of your website. Behind it, a restricted copy of your agent:
- answers questions from your help center and business background, in plain language;
- collects contact details when a visitor wants a quote, a call back or more information;
- offers booking slots so visitors can book a call without leaving the page;
- hands over to you when a visitor asks for a person, and reminds you if someone has waited 15 minutes.
You can read every conversation and step in to reply yourself at any time.
What it can't do: the website copy of your agent is deliberately limited. It sees only your help center and business background, never your inbox, files or other customers' data. Visitors' messages are treated as customer questions, never as instructions.
Step 1: Turn on the Chat Widget and choose who answers
- In KutrimBots, open the Chat Widget app.
- Choose the agent that should answer visitors, for example your support or sales agent.
- Set the greeting ("Hi! Questions about our plans? Ask away.") and 3–4 starter questions visitors can tap, such as "How much does it cost?" or "Do you deliver to Pune?".
- Set reply hours if you want a person available during office hours, and a clear message for nights and weekends.
Step 2: Give it your business background
The answers are only as good as what the bot knows. Fill in the about text with:
- what you sell, who it's for and what it costs;
- delivery areas and timelines, or service areas;
- refund, cancellation and warranty policies;
- how to contact a person, and your hours.
Then add guidelines, the rules for the bot:
"Keep answers under 4 sentences. Never offer discounts. If someone asks about a custom order, collect their name, phone and requirement, and tell them we'll call within one working day."
Tip: ask your agent "fill in the Chat Widget background from what you know about our business". It drafts the text from your Super Brain for you to check.
Step 3: Build a small help center
The widget's Help tab and the bot both use your help center articles. Start with the 10 questions customers ask most. Write each article:
- with the title as the question ("How long does delivery take?");
- with the answer in the first sentence;
- in short paragraphs or a list.
Your agent can write them for you and, later, suggest new ones from what visitors actually ask.
Step 4: Paste one line of code into your website
The Chat Widget shows your install code. It looks like this:
<script src="https://kutrimbots.com/widget.js" data-key="cw_your_key" async></script>
Paste it before the closing </body> tag, or in your site builder's "custom code" or "footer scripts" setting:
| Website builder | Where to paste |
|---|---|
| WordPress | A header/footer code plugin, or your theme's footer |
| Shopify | Online Store → Themes → Edit code → theme.liquid, before </body> |
| Wix | Settings → Custom code → Body – end |
| Webflow | Project settings → Custom code → Footer code |
| Plain HTML | Before </body> on every page |
In the Chat Widget app, you can also limit which domains may show your widget, change colours to match your brand, and turn on proactive greetings.
Step 5: Test it like a visitor
Open your website on your phone and ask:
- simple questions ("What are your timings?");
- buying questions ("How much for 3 rooms?");
- edge cases ("Can I talk to someone?", "Do you have a discount?").
If an answer is wrong, fix the help center article or the about text. Check that a test enquiry with an email shows up as a lead in your CRM.
How do website chats become sales?
This is where a chatbot connected to the rest of your business beats a standalone one:
- Leads: a visitor who shares an email or phone number becomes a CRM lead, and your sales agent can follow up on time. See CRM lead follow-up on autopilot.
- Bookings: visitors pick a slot, and the booking lands in your calendar.
- Insights: a summary of what visitors ask and which chats needed a person shows which help articles to write next.
Frequently asked questions
How do I add an AI chatbot to my website for free?
KutrimBots starts with a 7-day trial for $1, which includes the Chat Widget. After that it's part of every plan, from $20 a month, with AI usage included; see pricing for each plan's chat limits.
Does the chatbot work on WordPress, Shopify and Wix?
Yes. The widget is one line of code, so it works on any website where you can add a script, including WordPress, Shopify, Wix, Webflow and plain HTML sites.
Can I take over a chat from the AI?
Yes. You see every conversation and can reply yourself at any time. When a visitor asks for a person, the chat is flagged, and you're reminded if they've waited 15 minutes.
Will the chatbot make things up?
It answers from your help center and business background, and follows your guidelines. If it doesn't know, it should offer to take the visitor's details for a person to reply. Keep your help center current to keep answers accurate.
Is the website chatbot safe for my data?
Yes. The website copy of your agent can only see your help center and business background. It can't read your inbox, files or other customers' data, and visitors' messages are never treated as instructions.