How to add a chatbot
to your website.
Whatever your site is built on, the method is the same: one script tag before the closing </body> tag. Here's the five-minute version for every platform, plus how to choose a bot worth installing.
To add a chatbot to your website, build the bot from your site's URL, then paste its script tag just before the closing body tag of your pages. WordPress users can use a plugin; Wix, Shopify and Squarespace all have embed or code-injection settings. With HyperChat the whole job takes about five minutes and building the bot is free.
Five steps. One works
everywhere.
Build
Paste your URL into HyperChat. Your bot trains on your real pages in about 60 seconds.
Tune
Chat with it free. Adjust greeting, tone and knowledge until it sounds like you.
Copy
Go live (£49/mo) and copy your unique one-line embed code.
Paste
Drop it before the closing body tag — every platform has a place for it.
Test
Ask a real question on your live site and watch the lead land in your inbox.
<script src="https://www.hyperchat.uk/api/embed/YOUR-BOT-ID" async></script>
Placed before </body>, it loads after your page content — so the bot never slows your site down. Your real code appears in your portal when you go live.
Where the paste
actually goes.
WordPress
- 1. Walkthrough: how to add a chatbot to WordPress.
- 2. Easiest: our official plugin — it passed the automated Plugin Check scan and is submitted, awaiting directory review.
- 3. Today: install any "insert headers and footers"-style plugin and paste the embed code in its footer box.
- 4. Or edit your theme's footer.php and paste before </body>.
Wix
- 1. Open Settings → Custom Code in your Wix dashboard.
- 2. Paste the embed code, set it to load on all pages, placement Body — end.
- 3. Apply, publish, and the bubble appears. (Custom code needs a premium Wix plan.)
Shopify
- 1. Go to Online Store → Themes → Edit code.
- 2. Open layout/theme.liquid and paste the embed just before </body>.
- 3. Save — every page of the shop picks it up, product pages included.
Squarespace
- 1. Open Settings → Advanced → Code Injection.
- 2. Paste the embed code into the Footer field.
- 3. Save. The bot now appears site-wide, blogs and shops included.
Something bespoke? Any site that serves HTML can run the embed — see integrations for the automation side, or open the integration guide.
What to look for
in a chatbot.
The embed is the easy part. Picking a bot that earns its keep is the decision. Four checks, in order of importance:
What should it cost?Trained on YOUR content
Generic script-bots answer like a leaflet. A website-trained bot answers like your business — services, prices, policies. Ask any vendor: "where do the answers come from?"
Lead capture with consent
A chatbot that can't capture the enquiry is a novelty. Look for consent wording and a privacy link built into the ask, not bolted on.
Honest pricing
Credit packs, de-branding fees and per-resolution meters turn a £30 tool into a £200 bill. Flat, in pounds, cancellable monthly is what good looks like.
UK GDPR-aware data handling
A public subprocessor register, a retention schedule and clear controller/processor roles. If a vendor can't show you these, walk.
Installation questions.
Do I need a developer to add a chatbot to my website?
Where exactly does the chatbot code go?
Will a chatbot slow my website down?
Is there a WordPress plugin for HyperChat?
What should I look for when choosing a chatbot?
Can I add the same chatbot to more than one website?
How do I know if it’s working?
Next: what the bot does for businesses · pricing · integrations
Step one takes 60 seconds. And it's free.
Paste your website URL and build the bot now — the embed code is ready when you are.
Build my chatbot · free