How to add an AI chatbot to any website
If you can edit your site's HTML, you can add the chatbot. It's a single script tag that loads in the background and works with plain HTML, React, Vue, Next.js and any CMS.
About 10 minutes · No coding beyond pasting one line
Step by step
- 1
Create your chatbot
Sign up to AgenBase, add your pages and documents, test it and click Go live.
- 2
Copy the snippet
On the chatbot's Install tab, copy the script tag.
- 3
Paste it before </body>
Add it just above the closing </body> tag, ideally in a shared layout or footer template so it's on every page.
- 4
Single-page apps
For React, Vue or Next.js, add it once to your root HTML template or root layout. The chat stays open while visitors move between pages.
- 5
Deploy
Publish or deploy your site as usual.
Check it works
Open your site in a new tab. The chat button appears in the bottom corner.
What your chatbot does once it's installed
Answers from your content
Only from the pages and documents you add, with a numbered source on each answer.
Speaks your visitors' language
It replies in the language the visitor writes or speaks in.
Captures leads
When someone wants a person, it collects their details and sends you an AI summary (Pro and Business).
Books appointments
Visitors pick a free time in the chat; no double bookings (Pro and Business).
Troubleshooting and questions
I installed it but nothing appears
The chat bubble only shows once the chatbot is live. Open the chatbot in AgenBase, click Go live, then reload your site. Ad blockers can also hide chat widgets, so try a private window.
My site has a Content Security Policy
Allow the AgenBase app address in script-src and connect-src (and img-src if you use a profile picture), so the widget can load and send messages.
It shows on one domain but not another
If you set allowed domains on the chatbot's Install tab, the widget only loads on those domains and their subdomains. Add every domain your site uses, or leave the list empty.
Will it slow down my site?
No. The script loads in the background (async), so your page shows first and the chat button appears right after.
What does it cost?
AgenBase is free for 50 messages a month, with no credit card. Paid plans start at $29 a month for 1,500 messages and 3 chatbots.
Other platforms
Let your website answer for you, day and night
Create your first chatbot for free. Add a few documents, test it in the playground, and put it on your site today.
No credit card required