Skip to main content
Install BubblaV on any website in minutes. Choose your platform for step-by-step instructions.
Installation Overview

Getting Your Embed Code

1

Open Dashboard

2

Select Website

Click on the website you want to install
3

Go to Installation

Click Installation in the sidebar
4

Copy Code

Click Copy to copy the embed code to your clipboard

Your Embed Code

<script
  src="https://www.bubblav.com/widget.js"
  data-site-id="YOUR_WEBSITE_ID"
  async
></script>
Your website ID is unique to your account. Never share it publicly, as it identifies your chatbot.

Platform Instructions

Choose your website platform:

WordPress Installation

Option 1: Using a Plugin (Recommended)
1

Install Plugin

Go to PluginsAdd New, search for “Insert Headers and Footers”, and install it
2

Activate

Click Activate after installation
3

Open Settings

Go to SettingsInsert Headers and Footers
4

Paste Code

Paste your BubblaV embed code in the Scripts in Footer section
5

Save

Click Save to apply changes
Option 2: Editing Theme Files
  1. Go to AppearanceTheme File Editor
  2. Select footer.php from the right sidebar
  3. Paste the embed code just before </body>
  4. Click Update File
Editing theme files directly may be overwritten during theme updates. Use a child theme or plugin for permanence.

Developer Platforms

For custom or developer-built websites:

Static HTML

Add the script tag before the closing </body> tag:
<!DOCTYPE html>
<html>
<head>
  <title>My Website</title>
</head>
<body>
  <!-- Your website content -->

  <!-- BubblaV Widget -->
  <script
    src="https://www.bubblav.com/widget.js"
    data-site-id="YOUR_WEBSITE_ID"
    async
  ></script>
</body>
</html>

Advanced Options

Script Attributes

Customize widget behavior with data attributes:
AttributeValuesDescription
data-site-idYour IDRequired. Identifies your chatbot

Excluding Pages

To hide the widget on specific pages, use the Exclude URLs setting in your Widget Design settings:
  1. Go to Design in the sidebar
  2. Expand the Advanced Settings section
  3. Enter the URLs where you want to hide the widget (one per line)
  4. You can use specific paths like https://example.com/checkout or https://example.com/admin
The widget will automatically be hidden on those pages without requiring any code changes.

Verify Installation

After adding the code, verify it’s working:
1

Clear Cache

Clear your browser cache or open an incognito window
2

Visit Your Site

Go to your website in a new tab
3

Look for Widget

The chat bubble should appear in the corner (usually bottom-right)
4

Test It

Click the bubble and send a test message like “Hello”
5

Check Response

You should receive a response from your AI assistant
If the widget doesn’t appear immediately, wait 1-2 minutes for caching to clear, then try again.

Troubleshooting

Check these common issues:
  • Code is placed before </body>, not in <head>
  • Website ID is correct (copy from dashboard)
  • Your domain matches the one in your BubblaV settings
  • JavaScript is enabled in your browser
  • No browser extensions blocking scripts
Debug steps:
  1. Open browser DevTools (F12)
  2. Check Console for errors
  3. Check Network tab for widget.js loading
  • Check your message limits (may be exceeded)
  • Verify crawl completed successfully
  • Ensure knowledge base has content
  • Check browser console for API errors
  • Adjust z-index in Widget Design settings
  • Check for CSS conflicts with .bubblav-widget class
  • Try different position (left vs right)
  • The async attribute ensures non-blocking load
  • Widget loads after main content (intentional)
  • Check if your site has slow third-party scripts
  • Verify mobile isn’t disabled in settings
  • Check responsive CSS isn’t hiding it
  • Test on actual mobile device, not just DevTools
  • Ensure your domain matches BubblaV settings
  • Check for Content Security Policy restrictions
  • Verify HTTPS is used on your site

Content Security Policy (CSP)

If your site uses CSP headers, add these directives:
script-src 'self' https://www.bubblav.com;
frame-src 'self' https://www.bubblav.com;

Multiple Websites

If you have multiple websites:
  1. Each website needs its own embed code
  2. Use the unique data-site-id for each site
  3. Install the appropriate code on each website
Using the wrong website ID will cause the widget to load with incorrect knowledge and settings.

Next Steps