Install Conferbot Chatbot on Any Website
Add a powerful AI chatbot to your website in under 5 minutes. Step-by-step guides for every major platform - no coding required.
Overview
Conferbot's widget lets you seamlessly add an AI-powered chatbot to any website or web application. Choose from three widget types - live chat, popup, or full-page - and have it running in minutes. The widget is fully customizable, loads asynchronously (won't slow down your site), and works on all modern browsers.
Platform-Specific Guides
Choose your website platform for a tailored step-by-step installation guide.
How to Install Conferbot (General Steps)
Follow these steps to add the Conferbot chatbot widget to any website.
Create your Conferbot account
Sign up for a free account atapp.conferbot.com. No credit card required.
Build your chatbot
Choose from 100+ pre-built templates or create a chatbot from scratch using the drag-and-drop builder.
Customize the flow
Modify conversation flows, add your brand colors, set welcome messages, and configure responses to match your business needs.
Open the install screen
In the dashboard, open, click the menu on your bot and choose Install on your site.Chatbots
Choose how it appears
Pick the embed type: live chat (a bubble in the corner), popup, or full page.
Customize appearance
Set the widget position, colors, avatar and greeting message in the Customize screen, which previews the real widget before you go live.
Select your platform
Choose your website platform (WordPress, Shopify, etc.) to get platform-specific instructions, or use the universal JavaScript snippet.
Copy the embed code
Copy the snippet shown for your platform. It already contains your bot ID and looks like the example below.
Paste on your website
Add the code to your website's tag. See platform-specific guides for detailed instructions.<head> or before the closing </body>
You're live!
Refresh your website in a normal browser window and send a test message. It appears in your Conferbot inbox straight away.
Universal Widget Code
Copy this JavaScript snippet and paste it into your website's HTML. Replace YOUR_BOT_ID with your actual bot ID from the dashboard.
Installing on an HTML Website
Any site that serves HTML can run the widget: hand-written pages, static hosts like Netlify, GitHub Pages or Vercel, and server-rendered sites in PHP, Ruby or Python.
- Open the HTML file (or your shared footer template) in a code editor.
- Find the closing
</body>tag near the end of the file. - Paste the snippet from the dashboard just before it, so your content loads first.
- Save, upload or deploy, then reload the page in a normal browser window.
If every page is its own file, the snippet goes into each page that should show the chatbot. If your pages share a footer (a footer.php include, a server-side include, a layout file in a static site generator), paste it once in that footer. Loading the snippet twice is harmless: the loader checks for the conferbot-js script and a second ConferbotWidget() call returns the widget that is already on the page instead of mounting another.
Live Chat, Popup or Full Page
The second argument of ConferbotWidget() decides how the chatbot appears. You choose it on the install screen and the snippet comes filled in, but you can change it in the code at any time.
| Embed type | What visitors see | Good for |
|---|---|---|
live_chat | A chat bubble in the corner that opens a chat window | Support and sales on every page |
popup_chat | The chat as a popup | Campaign pages and lead capture |
fullpage_chat | The chat takes over the page | A dedicated "chat with us" page, forms and quizzes |
Position, colors, avatar, greeting and launcher are set in the dashboard, not in the code, so you can restyle the widget without touching your site again.
Signed-In Visitors and Website Events
If your site has logins, pass the visitor to the widget so your team sees who they are talking to. Replace the ConferbotWidget line in the snippet with:
var w = window.ConferbotWidget("YOUR_BOT_ID", "live_chat", {
user: {
id: "u_123", // your own id for them
name: "Jane Doe",
email: "[email protected]",
plan: "Pro" // anything else your team should see
},
customData: { landingPage: location.pathname }
});The user and customData are read once, when the widget starts. For what the visitor does afterwards, send events at any time after the widget has loaded:
window.ConferbotWidget && window.ConferbotWidget.track("purchase", { value: 49, currency: "GBP" });Events appear beside the visitor's chats in your inbox, and a purchase or sign-up within a week of a chat is credited to that chat. Nothing is tracked for visitors whose browser sends Do Not Track. Only pass what your team should see: never tokens, passwords or internal secrets, because anything in the page can be read by the visitor.
React, Next.js, Vue, Angular and Other Single-Page Apps
The widget attaches its own <conferbot-widget> element to the page body and draws inside a shadow root, outside your framework's component tree. That has three consequences: it survives client-side route changes, your CSS cannot break it, and it never causes re-renders or hydration mismatches by itself.
The simplest setup is to paste the snippet into your app's root HTML file. Load it from a component instead when you want to pass the signed-in user, load it only on some routes, or test it. The framework guides cover each case with code:
- React: a loader component, mounting once at the root, passing the user.
- Next.js: next/script strategies, the dashboard's Next.js snippet, App Router layouts and testing.
- Vue and Nuxt and Angular: the same pattern in each framework.
Building a native app instead? Use the mobile SDKs for iOS, Android, React Native and Flutter.
Content Security Policy and Cookie Consent
If your site sends a Content-Security-Policy header, allow the hosts the widget uses, or the browser blocks it and logs a CSP error in the console:
script-src https://cdn.conferbot.com
connect-src https://wdt.conferbot.com wss://wdt.conferbot.com
img-src https://prd.media.cdn.conferbot.com
media-src https://prd.media.cdn.conferbot.comThe script is loaded from cdn.conferbot.com, the conversation runs over a live connection to wdt.conferbot.com, and images and files your bot sends come from Conferbot's media CDN. Add the hosts to the directives you already have rather than replacing them.
The widget keeps the visitor's conversation in the browser's local storage so a chat survives page loads. If you use a consent manager that holds back scripts until a visitor agrees, put the Conferbot snippet in the category that matches how you describe the chat in your privacy policy (usually functional or support). If a browser blocks storage entirely, the widget still starts; the chat just does not persist between pages.
Performance
- It never blocks rendering. The loader adds the script with
async, so the page paints and becomes interactive without waiting for the chat. - Put it at the end of the body. The widget is a full chat application (about 680 KB compressed), so starting it after your content keeps it out of the way of your largest content paint.
- Bots do not run it. The widget skips crawlers, Lighthouse, PageSpeed and uptime monitors, so it does not affect those scores and does not use your conversations.
- Preconnect if you want the bubble sooner. Add
<link rel="preconnect" href="https://cdn.conferbot.com">to your page head.
Verify the Install and Troubleshoot
Check these in order in a normal browser window (not a headless browser, which the widget ignores on purpose):
- View the page source and search for
conferbot-js. If the snippet is missing, your platform did not save it, or a cache is serving an old page: clear the site or CDN cache. - Open the developer console and type
typeof window.ConferbotWidget. If it says"undefined", the script did not load: look for a CSP error or an ad or script blocker in the console. - Check that the bot ID in the snippet is your bot's ID, copied from the install screen, and that the bot is published.
- Inspect the end of the page body for a
<conferbot-widget>element. If it is there but you see nothing, another element on your page may be covering the corner, or the embed type is not the one you expected. - Send a test message and confirm it reaches your inbox.
Eleven causes, with fixes for each, are in chat widget not showing on your website. For a non-technical walkthrough of adding a chatbot and getting value from it, see how to add a chatbot to a website.
Video Tutorial
Watch how to set up Conferbot in under 5 minutes
Ready to Add Your Chatbot?
Create your free account and have your chatbot live in minutes.
Get Started FreeContinue Exploring
Explore features, connect third-party tools, and browse ready-made templates.
Deep-dive pillar guides, real use cases, and the chatbot & AI glossary.
One Chatbot,
Every Channel
Your chatbot works seamlessly across WhatsApp, Messenger, Slack, and 6 more platforms. Build once, deploy everywhere.
View All Channels