Help · Add the chat to your site

Add the chat to Webflow

Updated

The chat widget is one line of code. Here's where it goes on a Webflow site, so the chat button appears in the corner of every page.

For more detail, other options and cookie consent, see our guide How to add a custom AI chatbot to your Webflow website.

1. Copy the code

Open your project and go to Settings. Under Widget integration code, choose Copy snippet. Use the code from your own dashboard: it contains your project's ID.

<script src="https://…/pixe-widget.js" data-project-id="…" data-api="…" async></script>

Settings → Widget integration code, with the snippet and its copy button

2. Paste it into Webflow

Custom code needs a paid Webflow plan.

  1. Open the site's Site settings and go to the Custom code tab.
  2. Paste the code into Footer code (before </body>) and choose Save changes.
  3. Publish the site. The code only reaches visitors with the next publish.

The site-wide footer code covers every page, CMS template pages included.

3. Check your domains

The widget only runs on your project's allowed domains, in Settings. To test before going live, add your yoursite.webflow.io address and publish to that address first.

The chat button doesn't appear

  • Saving isn't enough: publish the site.
  • Custom code doesn't run in the Designer or preview: open the published address.
  • Check the page's domain is one of the project's allowed domains in Settings.
  • Check the widget isn't turned off in Chat → Widget.
  • Open the browser's console (right-click, Inspect, Console): the chat leaves a short message there when it doesn't load.

Let your website answer for you.

We set up your assistant and site with you, usually within a day. Then your first 2 weeks are free, with real visitors.