Guides

How to Add an AI Chatbot to Your Website in 5 Minutes

By Frank.lu0819 · 7/6/2026 · 4 min read

Most "add a chatbot to your site" tutorials assume you want to build one: pick a model, write a backend, build a chat UI, wire up streaming. That is a fun weekend project and a bad use of a Tuesday. This walkthrough takes the other path — a doc-trained chatbot, live on your site, in about five minutes.

If you want to see the end result first, paste your website's URL into the demo tool and chat with a temporary bot built from your own pages before creating an account.

Step 1: Create your bot

Sign up and click New chatbot. Give it a name (internal, visitors never see it) and, optionally, a system prompt describing how it should behave — tone, language, what to escalate instead of guess.

Step 2: Train it on your content

This is the step that decides whether your bot is useful. AskEmbed indexes the content you give it, so the bot can only answer from what you feed it. Two options, and you can mix both:

  • From URLs. Paste a docs or help-center URL. Index just that page, or enable crawling to follow links and pull in the whole section. Crawling is capped per plan, so start with your most-asked-about pages rather than the entire site.
  • From files. Upload PDFs, markdown, or text files — manuals, onboarding decks, internal runbooks.

A practical starting set: pricing, setup/getting-started, the top 10 most-viewed help articles, and anything your support inbox keeps repeating. You can add more sources any time; indexing is per-bot and incremental.

Quality tip: the bot inherits the clarity of your source pages. If a page is a wall of text with no headings, retrieval finds it but the answer will be mushy. We wrote a whole guide to chatbot-ready docs on this.

Step 3: Configure the widget

Still in the dashboard, set the basics:

  • Theme color — matched to your brand hex.
  • Position — corner placement on desktop and mobile.
  • Welcome message — the first thing visitors read; make it specific ("Ask me anything about setup, billing, or the API") instead of generic ("Hi! How can I help?").
  • Placeholder text — an example question is the best prompt.

Higher tiers unlock a custom header, avatar, a domain allowlist so your script only loads on your own domains, and control over the "Powered by AskEmbed" badge.

Step 4: Embed the script

Copy the embed snippet from the bot page and paste it into your site's HTML, ideally just before the closing </body> tag:

<script src="https://widget.askembed.com/widget.js"
        data-bot="YOUR_BOT_ID" async></script>

That's the whole integration. There is no build plugin, no npm dependency, and no framework requirement — the widget is a small standalone script, so it works identically on WordPress, Webflow, Shopify, Rails, or a static site. If you can edit your site's HTML, you can embed it.

Test it on a staging page first if you like; the domain allowlist (Business plan) lets you pin the widget to specific hosts.

Step 5: Watch what people ask

Once live, the dashboard shows real questions and how each answer was rated. Two things to do in the first week:

  1. Find questions the bot could not answer. Every miss points at a missing or unclear docs page. Fix the page, re-index, and the same question resolves next time.
  2. Tighten the system prompt. If the bot is too chatty or too terse, say so in the prompt — it is the cheapest knob to turn.

We cover the metrics worth tracking (deflection, feedback rate, resolution) in how to measure chatbot ROI.

Common questions

Does it slow my site down? The script loads asynchronously after your page renders, so it does not block first paint.

What happens when I update my docs? Re-run ingestion for the changed pages (or the crawl) and the bot picks up the new content. Keeping indexed content in sync with source-of-truth pages is the main maintenance task.

Can I have different bots on different sites? Yes — bots are independent, each with its own sources and widget settings. The number of bots depends on your plan.

Will it answer questions outside my docs? It answers from your indexed content. If nothing relevant is indexed, it says it doesn't know rather than improvising — by design.

Wrap-up

Five minutes, one script tag, and your website starts answering questions with your own content. Start with the free plan — one bot, 200 messages a month, 100 pages of content — and upgrade when the questions outgrow it.

How to Add an AI Chatbot to Your Website in 5 Minutes