Multi-platform Integrations

Add Chatbots to Webflow Websites

Add your AI agent to your Webflow site by pasting its embed code into an Embed element on the page. No coding needed.

Before you start

Step 1: allowlist your domain in Settings > Security. Step 2: copy the code from Embed on site. Step 3: paste it on your site, then check the bubble appears

Step 1: Allowlist your domain

In Chat Data, open Settings > Security. Set Visibility to public, turn on Embedding On Websites, and add your Webflow site's domain to Allowed Embedding Domains. Full details: Allowlist your domain.

Step 2: Copy the embed code

In Chat Data, click Embed on site in your AI agent's sidebar, open the Iframe tab and click Copy Code. Which tab should I use? Embed on site panel in Chat Data with the Iframe tab open, showing the iframe code and the Copy Code button

Step 3: Add the code in Webflow

First you create a container, so the chat window sits in the right place and doesn't stretch across the whole page width. Then you paste the code into it.

  1. Log in to Webflow. On your dashboard, hover over your site project and click Open Designer. Webflow Open Designer
  2. Click the file icon (Pages) at the top left of the designer and choose the page for the AI agent. Webflow Select Page
  3. Click the plus button (Add elements) at the top left.
  4. Drag a Section element to where you want the AI agent.
  5. Drag a Container element into the Section.
  6. Drag a Div element into the Container. Size the Div so the chat window fits inside it and doesn't span the whole page. Webflow Add Div
  7. Scroll down the elements list and drag the Embed element into the Div. Webflow Add Embed
  8. Double-click the Embed element to open the HTML Embed code editor.
  9. Paste the embed code from Step 2 and click Save & Close. Webflow Paste Embed Code
  10. Click Publish in the top-right corner of the designer.

Sizing the Embed element can take some practice. See Webflow's guide to the Embed element.

Check that it worked

Open your published site (not the designer preview). The chat window should show inside the Div you added. If the chat window shows "Domain: … is not in the allowlisted domains of this chatbot", add that domain in Step 1. More fixes: Check that it worked.

Next step: match the AI agent to your brand in Settings > Chat Interface. See Customize the Chatbot Interface.

Frequently Asked Questions

How do I add a Chat Data chatbot to a Webflow website?

The Webflow setup starts by creating the chatbot in Chat Data, then copying the iframe embed code, and finally placing that code into a Webflow `Embed` element that sits inside a layout container on the target page.

Why does the guide create a container before embedding in Webflow?

You should create a Section, then a Container, then a Div before adding the chatbot embed. That wrapper keeps the chatbot in the correct location and prevents it from stretching across the full page width.

Where do I paste the chatbot embed code in Webflow?

Inside Webflow Designer, you drag an `Embed` element into the Div container, open the HTML Embed editor, and paste the Chat Data iframe code there. Then you save and close the embed editor.

How can I tell the Webflow chatbot embed is working?

The guide says that if the setup is correct, Webflow will show a preview of the chatbot inside the live preview area of the designer. That preview is the first confirmation that the embed code and layout are working.

Previous
Add Chatbots to Weebly Websites