Integrations
Framer
Add your AI agent to a Framer site with the website widget code and Framer's Custom Code settings
Overview
To add your AI agent to a Framer site, copy the website widget code from QwryAI and add it as a script in your project's Custom Code settings. After you publish, the chat bubble appears in the corner of your pages.
What you can do
Answer visitors' questions on your Framer site from a chat bubble, without them leaving the page.
Before you start
- A QwryAI account with an AI agent
- A Framer project you can edit and publish
How to add your AI agent to Framer
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 Custom Code in your project
Open your project in Framer, open Project Settings, and choose Custom Code in the sidebar.
3. Add the code as a script
- Click Add Script (or + if the project already has scripts) and give it a name, such as QwryAI chat bubble.
- Paste your QwryAI code.
- Leave it on all pages to show the chat bubble everywhere, or pick only the pages that should have it.
- For where the code goes, choose any head or body option. The code waits for the page to load, so either works.
4. Publish your site
Click Publish in the top right of the editor. Custom code takes effect on your published site, so check the chat bubble there.
Check it works
Open your published Framer 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.
Troubleshooting
The site's address ends in framer.website
Older Framer sites use framer.website instead of framer.app. If Specific domains is on, add *.framer.website as well.