Time estimate: ~3 minutes
The embed snippet
Copy this from your dashboard (Settings > Installation):YOUR_WIDGET_ID with your actual widget ID from the dashboard.
Paste it just before the closing </body> tag on every page where you want the chatbot to appear.
Plain HTML
- Open your website’s HTML file
- Find the closing
</body>tag - Paste the snippet directly above it
- Save and reload the page
WordPress
Option A: Plugin (recommended)
- Install the Insert Headers and Footers plugin (by WPCode) from Plugins > Add New
- Go to Code Snippets > Header & Footer
- Paste the snippet into the Footer section
- Click Save Changes
Option B: Theme Editor
- Go to Appearance > Theme File Editor
- Open
footer.php(in the right sidebar) - Paste the snippet just before
</body> - Click Update File
Note: Theme editor changes may be lost when your theme updates. The plugin method is more durable.
Shopify
- Go to Online Store > Themes
- Click Actions > Edit Code on your active theme
- Open
theme.liquidin the Layout folder - Find the closing
</body>tag - Paste the snippet directly above it
- Click Save
Squarespace
- Go to Settings > Advanced > Code Injection
- Paste the snippet into the Footer field
- Click Save
Wix
- Go to your site’s Dashboard > Settings
- Click Custom Code (under Advanced)
- Click Add Code
- Paste the snippet
- Set placement to Body - end
- Choose to apply to All pages
- Click Apply
Webflow
- Go to Project Settings > Custom Code
- Paste the snippet into the Footer Code section
- Click Save Changes
- Publish your site for changes to take effect
Per-page installation
If you only want the widget on specific pages:- Open the page in the Webflow Designer
- Go to Page Settings > Custom Code
- Paste the snippet into the Before body closing tag section
- Save and publish
Google Tag Manager
- In GTM, go to Tags > New
- Choose Custom HTML as the tag type
- Paste the snippet
- Set the trigger to All Pages (or specific pages)
- Click Save and Publish
Note: Loading the widget through GTM adds a small delay since it loads asynchronously through GTM’s container. In most cases this is not noticeable.
Verifying installation
After adding the snippet:- Open your website in a new browser tab (or hard-refresh with Ctrl+Shift+R)
- Look for the chat bubble in the bottom-right corner of the page
- Click it and send a test message
- Verify the bot responds using your knowledge base content
If the widget doesn’t appear
- Check your widget ID — make sure it matches the one in your dashboard
- Check for JavaScript errors — open your browser’s developer console (F12) and look for errors
- Check your CSP headers — if your site uses Content Security Policy, you need to allow
*.replybubble.com. See Troubleshooting for details - Wait a moment — the widget loads after the page is idle to avoid slowing down your site. Give it a few seconds
Advanced options
Custom API URL
If you’re using a self-hosted or custom API endpoint, add thedata-api-url attribute:

