Tutorial · Updated June 2026

How to add an AI chatbot to your website — no code

You don't need a backend, a plugin, or a developer. If you can paste a line of HTML, you can give your site an AI that answers visitors from your content and captures leads. Here's the whole thing in four steps with CodeBurst — it works on any site that lets you add a script tag.

Step 1 — Create a bot (30 seconds)

Sign in to CodeBurst and create a bot. You'll get a bot ID — that's all you need to wire it up.

Step 2 — Paste one script tag

Add this before your closing </body> tag, swapping in your bot ID:

<script src="https://codeburst.ai/greeterbot.js" data-bot-id="YOUR_BOT_ID"></script>

That's the entire install. The chat bubble appears bottom-right on every page the tag is on. Works on WordPress, Webflow, Shopify, Wix, Framer, or hand-written HTML — anywhere you can drop a script.

Step 3 — Train it on your content

Point the bot at your URL or sitemap. CodeBurst crawls and auto-indexes the pages for retrieval, so the bot answers from your real content — pricing, docs, FAQs — instead of making things up. Re-run it whenever your site changes.

Step 4 — Capture leads

Turn on lead capture and the bot collects names, emails and intent from visitors as it chats — so a late-night question becomes a lead in your inbox instead of a bounce.

Why this approach (vs the usual)

Typical bot toolsThis approach
Dashboard setup + per-message creditsOne script tag, no per-message meter
Upload files one by onePoint at a URL/sitemap → auto-indexed
Free = 50 messages or 14-day deletionFree to start, scales with BYOK (no markup)

Get started

Create your bot Best free website chatbot →

FAQ

How do I add a chatbot without code?
Create a bot, paste one script tag before </body>, point it at your sitemap. Done.

Does it work on my site builder?
Yes — anywhere you can add a script tag (WordPress, Webflow, Shopify, Wix, HTML).

Is it free?
Free to start, no per-message metering; scale with BYOK at no markup.