Building with an AI-powered tool? Copy the prompt below and paste it directly into your AI builder to integrate BubblaV automatically.
This works with Lovable, v0, Bolt, Cursor, Windsurf, and any other AI coding assistant.
Add the BubblaV AI chatbot widget to this project.**Option 1: NPM Package (Recommended for React, Vue, Angular)**Install: React: npm install @bubblav/ai-chatbot-react Vue: npm install @bubblav/ai-chatbot-vue Angular: npm install @bubblav/ai-chatbot-angularImport and add to your root component or layout: React — import { BubblaVWidget } from '@bubblav/ai-chatbot-react'; <BubblaVWidget websiteId="YOUR_WEBSITE_ID" /> Vue — import { BubblaVWidget } from '@bubblav/ai-chatbot-vue'; <BubblaVWidget website-id="YOUR_WEBSITE_ID" /> Angular (standalone) — import { BubblaVWidgetComponent } from '@bubblav/ai-chatbot-angular'; Add BubblaVWidgetComponent to the component's imports array, then: <bubblav-widget websiteId="YOUR_WEBSITE_ID"></bubblav-widget>IMPORTANT — For Vite-based projects (Lovable, Bolt, v0, plain Vite), add this tovite.config.ts to prevent duplicate-React conflicts: resolve: { dedupe: ['react', 'react-dom'] }**Option 2: Script Tag (fallback — works with any framework)**Add this before </body> in your main HTML or layout file:<script src="https://www.bubblav.com/widget.js" data-site-id="YOUR_WEBSITE_ID" async></script>For Next.js (app/layout.tsx or pages/_app.tsx), use next/script instead: import Script from 'next/script'; <Script src="https://www.bubblav.com/widget.js" data-site-id="YOUR_WEBSITE_ID" strategy="lazyOnload" />Replace YOUR_WEBSITE_ID with the ID from your BubblaV dashboard at bubblav.com/dashboard.
After the AI applies the change, replace YOUR_WEBSITE_ID with the actual ID from your BubblaV dashboard.
For React, Vue, and Angular applications, you can use our official NPM packages for a better developer experience with type safety and framework integration.
Option 1: Using BubblaV WordPress Plugin (Recommended)Install our official WordPress plugin for seamless WooCommerce integration:
1
Go to Plugins
Log in to your WordPress admin and go to Plugins → Add New
2
Search Plugin
Search for “BubblaV Chat” in the WordPress plugin repository
3
Install Plugin
Click Install Now and then Activate
4
Configure
Go to BubblaV Chat settings and enter your website ID
5
Connect Integration
The widget is automatically installed on your WooCommerce store
The widget will work seamlessly with your WooCommerce store and can be configured to track orders and search products when you connect the WooCommerce integration.
Option 2: Manual InstallationAlternatively, use a generic plugin:
1
Install Plugin
Go to Plugins → Add New, search for “Insert Headers and Footers”, and install it
2
Activate
Click Activate after installation
3
Open Settings
Go to Settings → Insert Headers and Footers
4
Paste Code
Paste your BubblaV embed code in the Scripts in Footer section
Haravan’s theme structure is very similar to Shopify. The theme.liquid file in the Layouts folder is the main template that wraps all pages, making it the ideal location for the widget script.
If you prefer, you can also add the script to the footer-scripts.liquid snippet (found in the Snippets folder) if your theme uses it. However, theme.liquid is recommended as it ensures the widget loads on all pages.
Google Tag Manager (GTM) is one of the most popular ways to add the BubblaV widget without editing your website code. It works on virtually any website and is our recommended method when your platform doesn’t have a dedicated app.
1
Open Google Tag Manager
Log in to Google Tag Manager and select your container (or create a new one)
2
Create a New Tag
Go to Tags in the left sidebar, then click New
3
Configure Tag
Click on Tag Configuration, then choose Custom HTML as the tag type