# Webflow

Add your AI agent to a Webflow page with the website iframe code and a Code Embed element

## Overview

To add your AI agent to a Webflow site, copy the website iframe code from QwryAI and paste it into a Code Embed element on your page. The chat window appears where you place the element.

### What you can do

Answer visitors' questions inside your Webflow page, in a chat window placed exactly where you want it.

## Before you start

- A QwryAI account with an AI agent
- A Webflow site on a paid site plan. On the free Starter plan, Webflow locks the Code Embed element.

## How to add your AI agent to Webflow

#### 1. Copy your embed code

1. In QwryAI, open the AI agent you want on your site.
2. Click Channels in the sidebar, then click Manage on the Chat bubble card.
3. Click Deploy and choose Website iframe.
4. Under Iframe setup, click Copy. The code already points to your agent, so paste it exactly as copied.

![The Website iframe panel in QwryAI with the iframe code and its Copy button](/docs/screenshots/original/qwryai-deploy-website-iframe.png)

Deploy → Website iframe shows your agent's code, ready to copy.

#### 2. Open your page in the Webflow Designer

In Webflow, open your site in the Designer. Open Pages and select the page that should show the chat window.

#### 3. Add a Code Embed element

Click Add (+) in the left toolbar and search for Code Embed. Drag it onto the page where you want the chat window. To line it up with the rest of your layout, drop it inside a Box.

![The Webflow Designer Add panel searched for embed, showing the Code Embed element with an upgrade badge](/docs/screenshots/original/qwryai-webflow-code-embed.png)

Search the Add panel for Code Embed. On the free Starter plan it's locked and shows an upgrade badge, as here.

#### 4. Paste the code and publish

Paste your QwryAI code into the code editor that opens, save it, then click Publish. The Designer may show only a placeholder, so check the chat window on your published site.

## Check it works

Open your published Webflow site in a new browser window, find the chat window on the page, and ask a question your agent should know. The conversation appears in your QwryAI Inbox.

> **Specific domains**: If Specific domains is on in the same Deploy panel, your site's address must be on its list. Add it, for example *.webflow.io, and click Save domains.

> To change the chat bubble's colors, text, and position, open Channels → Chat bubble → Display in QwryAI. Your site picks up the changes without new code.

## Troubleshooting

### The chat window is too small or too large

The code sets the size in pixels with width="400" and height="600". Edit those two numbers inside the Code Embed, save, and publish again.

### Code Embed is greyed out

Your site is on the free Starter plan. Webflow unlocks Code Embed on its paid site plans.

## Next steps

- [Channels: customize the chat bubble](/docs/user-guides/agent-management/channels)
- [Website platforms: every way to add QwryAI to a site](/docs/user-guides/integrations/website-platforms)
