> ## Documentation Index
> Fetch the complete documentation index at: https://sitespeak.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to add a ChatGPT AI support agent to Webflow

> How to add your custom ChatGPT trained AI support agent to your Webflow website.

You want to embed your custom trained AI support agent in your **Webflow** website page. Here's how to add an AI support agent to Webflow with SiteSpeakAI.

**Webflow** is a professional visual web design platform that allows users to build, launch, and manage high-performance, responsive websites without writing code.

**Website URL**: [Webflow](https://webflow.com)

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/eGQy9vuAQtA" title="How to add an AI support agent to Webflow" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

<Accordion title="Video transcript">
  In this tutorial, I'll show you how to add a ChatGPT AI support agent to your Webflow website. We'll create and train it on your own content, then add it to your site so it can answer your visitors' questions around the clock.

  Before you can add your agent to Webflow, you need to create and train it. After you log in to SiteSpeak, you land on the Get Started page, which walks you through it in five quick steps. First, give your agent a name. This is the name your visitors will see when they chat with it. Click Save and Continue to create the agent. Next, add the website you want your agent to learn from. For this example I'll use snapwidget.com. Click Save and Continue, and SiteSpeak crawls the site to find pages it can train on. In a few seconds, it finds the main pages on the site. SiteSpeak selects those pages for you. Click Save and Continue to train your agent on them. SiteSpeak now trains your agent on that content automatically. Once it finishes, your agent is ready to answer questions about your site, and you can add it to your Webflow website.

  Once your agent is trained, open Install Agent in SiteSpeak and copy your JavaScript snippet. The quickest way is to log into your Webflow account, open the project where you want the agent, click the settings icon on the project card, and select Custom code from the left sidebar. Scroll to the Custom code section, add your snippet under Head code, save your changes, and publish your site. You can also add the snippet directly on a page using a Code Embed element. Open the site in the Webflow Designer, go to Pages and choose your page, then open the Navigator and select the Footer. Click Add Elements, scroll the elements list until you find Code Embed, and drag it into the footer. Add your snippet in the Code Embed Editor and click Save and Close, then click Publish to make your changes live.

  Your AI support agent button now appears on your live Webflow page. When a visitor clicks it, the chat dialogue opens, ready to help. And that's it. Your ChatGPT AI support agent is now live on your Webflow site, trained on your content and ready to assist your visitors.
</Accordion>

## Add your AI support agent to your **Webflow** website

### In SiteSpeakAI

Select your chatbot from the dropdown menu at the top, click on the **Install Agent** section in the sidebar, then click on the **Copy Code** button to copy your code snippet.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/espressodev/images/installing-your-chatbot/copy-code.png" alt="Copy code snippet" />

### In Webflow

**Please note**! Adding your AI support agent to Webflow can be achieved in two ways, i.e. Globally (site-wide) or Page-specific. We will be looking at both options.

#### A. Adding your AI support agent globally (site-wide)

1. Log into your Webflow account and make sure **All projects** is selected
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/1-Webflow-Log-into-your-account.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=3e1935ded844a0df7003a4782106bc74" alt="1-Log into your account" width="1372" height="748" data-path="images/installing-your-chatbot/Webflow/1-Webflow-Log-into-your-account.png" />

2. On the **Project** you want to add your agent to, select **Settings** on the Project card
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/2-Webflow-Select-Project-Settings.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=2e2edafa76a2d13039a7fd8beeda04fb" alt="2-Webflow-Select-Project-Settings" width="1375" height="749" data-path="images/installing-your-chatbot/Webflow/2-Webflow-Select-Project-Settings.png" />

3. Select **Custom code** on the left side-bar
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/3-Webflow-Select-Custom-code.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=28dc61645d362e20411f6325986c8789" alt="3-Webflow-Select-Custom-code" width="1363" height="743" data-path="images/installing-your-chatbot/Webflow/3-Webflow-Select-Custom-code.png" />

4. Scroll down to **Custom code**, insert your snippet under **Head code** , click on **Save** and then **Publish** to publish your website
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/4-Webflow-Insert-snippet-and-Save.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=b5934d2ee8609b4007d34855ebebe27f" alt="4-Webflow-Insert-snippet-and-Save" width="1369" height="740" data-path="images/installing-your-chatbot/Webflow/4-Webflow-Insert-snippet-and-Save.png" />

#### B. Adding your AI support agent per page

1. Log into your Webflow account and make sure **All projects** is selected
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/1-Webflow-Log-into-your-account.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=3e1935ded844a0df7003a4782106bc74" alt="1-Webflow-Log-into-your-account" width="1372" height="748" data-path="images/installing-your-chatbot/Webflow/1-Webflow-Log-into-your-account.png" />

2. On the **Project** you want to add your agent to, move your mouse over the Project card and click on the **Open site in Webflow** popup link
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/5-Webflow-Click-on-popup-link.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=d3cf92f9656da7315283a66f255a9146" alt="5-Webflow-Click-on-popup-link" width="1378" height="751" data-path="images/installing-your-chatbot/Webflow/5-Webflow-Click-on-popup-link.png" />

3. Under **Pages**, select the page you want to add your support agent to
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/6-Webflow-Select-your-page.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=22fb1ab0e7a2724ce19c204527b15701" alt="6-Webflow-Select-your-page" width="1380" height="752" data-path="images/installing-your-chatbot/Webflow/6-Webflow-Select-your-page.png" />

4. When page displays, click on **Navigator (Z)** and then click on **Footer** to display the Footer section of the page
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/7-Webflow-Click-on-Navigator-and-Footer.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=5a552ab3fe109e8652cadd3ec2d9f6d2" alt="7-Webflow-Click-on-Navigator-and-Footer" width="1379" height="752" data-path="images/installing-your-chatbot/Webflow/7-Webflow-Click-on-Navigator-and-Footer.png" />

5. While the Footer section is visible, click on **+ Add Elements (A)**
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/8-Webflow-Click-on-Add-Elements.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=b4526a20ad056bd453b12842a2944a35" alt="8-Webflow-Click-on-Add-Elements" width="1375" height="744" data-path="images/installing-your-chatbot/Webflow/8-Webflow-Click-on-Add-Elements.png" />

6. Scroll down on the list of **Elements** until you find **Code Embed**
   <img src="https://mintcdn.com/espressodev/emSCjjKVJvr0N-zB/images/installing-your-chatbot/Webflow/9-Webflow-Code-Embed-element.png?fit=max&auto=format&n=emSCjjKVJvr0N-zB&q=85&s=38102555d3970546ada45741fc1b5995" alt="9-Webflow-Code-Embed-element" width="1377" height="749" data-path="images/installing-your-chatbot/Webflow/9-Webflow-Code-Embed-element.png" />

7. Drag the **Code Embed** element onto the page Footer
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/10-Webflow-Drag-Code-Embed-element.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=3002a99b4fe932532291d2d56d9d65b2" alt="10-Webflow-Drag-Code-Embed-element" width="1380" height="755" data-path="images/installing-your-chatbot/Webflow/10-Webflow-Drag-Code-Embed-element.png" />

8. Insert snippet in the **Code Embed Editor** and click on **Save & Close**
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/11-Webflow-Insert-snippet-and-Save-and-Close.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=42e0ca3d21bfe860b9225a441f4f8d7b" alt="11-Webflow-Insert-snippet-and-Save-and-Close" width="1378" height="753" data-path="images/installing-your-chatbot/Webflow/11-Webflow-Insert-snippet-and-Save-and-Close.png" />

9. Click on **Publish**
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/12-Webflow-Click-on-Publish.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=e672876adecc8ce669c95ce444a9d37c" alt="12-Webflow-Click-on-Publish" width="1379" height="755" data-path="images/installing-your-chatbot/Webflow/12-Webflow-Click-on-Publish.png" />

#### C. For both options

1. Your AI support agent button will now be displayed on your **Webflow** website page
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/13-Webflow-Button.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=206c418b152a49d17f8ad2205fe6a6c2" alt="13-Webflow-Button" width="1841" height="954" data-path="images/installing-your-chatbot/Webflow/13-Webflow-Button.png" />

2. If you click on the button it will display the AI support agent dialogue
   <img src="https://mintcdn.com/espressodev/NFtM2GSsXkFGswBU/images/installing-your-chatbot/Webflow/14-Webflow-Dialogue.png?fit=max&auto=format&n=NFtM2GSsXkFGswBU&q=85&s=4def7e55a696240a740136141ba4db50" alt="14-Webflow-Dialogue" width="1790" height="957" data-path="images/installing-your-chatbot/Webflow/14-Webflow-Dialogue.png" />

Your AI support agent has now been added to your **Webflow** website and your visitors/customers can start interacting with it!

***

<Card title="Ready to automate your customer service with AI?" icon="bot" href="https://sitespeak.ai/register?utm_source=docs&utm_medium=cta&utm_campaign=primary-cta" arrow="true" cta="Create Your AI Agent">
  Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.
</Card>
