How to Embed a Chatbot on Your Website (Step-by-Step, Any Platform)

TL;DR: To embed a chatbot on your website, paste one script tag before the closing body tag, or install a plugin on WordPress. The same snippet works on Shopify, Wix, Webflow, Squarespace, WooCommerce, and plain HTML, and the widget is live in about two minutes with no developer needed. Everything else, from colors to trigger rules, is configured in the dashboard afterwards.
Embedding a chatbot on your website sounds like a developer problem. It isn't. For every modern website platform - WordPress, Shopify, Wix, Webflow, Squarespace, WooCommerce, or plain HTML - the install is a single line of code (or a plugin click) and the chatbot is live in under two minutes.
This guide walks through the exact steps for every major platform, what the embed code actually does, how to troubleshoot when the widget doesn't appear, and how to customize placement, colors, and trigger behavior - all without touching your site's code beyond a single paste.
What "embedding a chatbot" actually means
A chatbot embed is a single JavaScript snippet that loads a chat widget onto your page when a visitor arrives. The snippet looks something like this:
<script src="https://chatonbo.com/widget/chatonbo-widget.js" data-bot-id="YOUR_BOT_ID"></script>When the browser loads that line, three things happen:
- The widget JavaScript downloads from our CDN (about 40KB gzipped)
- It reads your bot ID and fetches your bot's configuration (avatar, welcome message, colors, trigger rules)
- It injects a chat bubble into the bottom-right corner of every page
That's it. No server changes, no theme edits, no build step. The widget is fully self-contained and will not conflict with your site's CSS or JavaScript.
How to embed a chatbot on WordPress
WordPress is the easiest case because we publish a free plugin in the WordPress directory.
Option A - plugin (recommended):
- In your WordPress admin, go to Plugins → Add New
- Search for "Chatonbo"
- Click Install Now, then Activate
- Go to Settings → Chatonbo, paste your Bot ID from your Chatonbo dashboard
- Save. The widget is live on every page.
Option B - script tag:
If you don't want a plugin, you can paste the script tag into your theme's footer. Go to Appearance → Theme File Editor, open footer.php, and paste the embed code just before
