Anested CloudAnestedCloud
Back to blog
GuidesMay 26, 2026 · 5 min read

Add an AI chatbot to your website in an afternoon

A good site chatbot doesn't improvise from the open internet — it answers from your content, in your tone, and admits when it doesn't know. Here's the whole setup on Anested Cloud, start to finish, in an afternoon.

Train it on your own content

Point the bot at your docs, FAQ and public pages. It reads them, builds a knowledge base and answers only from that — nothing scraped from the wider web, nothing invented on the fly.

That's the difference between a chatbot that helps and one that embarrasses you. When a customer asks about your refund policy, the answer comes from your refund policy — the actual page, kept in sync with your site.

Drop in the widget

Once the bot is trained, adding it to your site is a single script tag before </body>. No build step, no framework requirement — it works on Next.js, WordPress and plain static hosting alike.

The widget loads lazily and stays out of the way until a visitor opens it. Copy the snippet from your dashboard, paste it, deploy:

<script src="https://cdn.anested.com/chatbot.js"
        data-bot-id="your-bot-id" defer></script>

Set the guardrails

Custom instructions let you decide how the bot behaves: what it may talk about, how formal it sounds and what it does when it isn't sure. Uncertainty is a feature — a confident wrong answer is worse than a polite handover.

The safest default is simple: answer from the knowledge base, and when confidence drops, hand the conversation to a human through your contact form.

  • Answer only from the knowledge base — never from the open internet
  • Escalate to email or your contact form when confidence is low
  • Match your brand's tone and language in every reply

Speak your customer's language

Your visitors don't all write in English, and they shouldn't have to. The bot detects the language of each question and replies in kind — Hindi, French, Portuguese, Spanish and more.

The knowledge base itself doesn't need translating. Keep your docs in one language, and the bot bridges the gap for every visitor who asks in another.

Measure and improve

The dashboard shows every conversation, and more importantly, every question the bot couldn't answer. Those unanswered questions are a free roadmap of the docs you haven't written yet.

Add the missing page, retrain in one click, and the gap is closed. A chatbot isn't a launch-day project — it's a loop: review, fill, retrain.

Ready to put it into practice?

Spin up a server, a database or a bucket — free tiers included.

Get started