Integrations
Bubble
Add your AI agent to a Bubble app with the website widget code and an HTML element
Overview
To add your AI agent to a Bubble app, copy the website widget code from QwryAI and paste it into an HTML element on your page. The chat bubble appears in the corner of that page.
What you can do
Answer visitors' questions on your Bubble site from a chat bubble, without them leaving the page.
Before you start
- A QwryAI account with an AI agent
- A Bubble app you can edit. You can test in Preview on Bubble's free plan; a paid plan is needed to deploy the app live.
How to add your AI agent to Bubble
1. Copy your embed code
- In QwryAI, open the AI agent you want on your site.
- Click Channels in the sidebar, then click Manage on the Chat bubble card.
- Click Deploy and choose Website widget.
- Under Widget setup, click Copy. The code already points to your agent, so paste it exactly as copied.
2. Open your page in the Bubble editor
Open your app in the Bubble editor, go to the Design tab, and pick the page that should show the chat bubble.
3. Add an HTML element
Under Visual Elements, drag HTML onto the page. Its size and position don't matter: the chat bubble always sits in the bottom-right corner.
4. Paste the code and preview
- With the HTML element selected, open Properties → Content.
- Replace the placeholder in the HTML box with your QwryAI code. Leave Display as iFrame off.
- Click Preview to open your app with the chat bubble.
Check it works
Open your published Bubble site in a new browser window, open the chat bubble, and ask a question your agent should know. The conversation appears in your QwryAI Inbox.