How to Add Asyntai AI Chatbot to Webflow
Step-by-step guide for Webflow websites
Step 1: Get Your Embed Code
First, go to your Asyntai Dashboard and scroll down to the "Embed Code" section. Copy your unique embed code which will look like this:
<script async src="https://asyntai.com/static/js/chat-widget.js" data-asyntai-id="YOUR_WIDGET_ID"></script>
Note: The code above is just an example. You must copy your own unique embed code from your Dashboard as it contains your personal widget ID.
Step 2: Add Code via Site Settings (All Pages)
To add the chatbot to all pages of your Webflow site at once:
- Log in to your Webflow account and select your project
- Click the gear icon (Site Settings) in the left sidebar
- Click on "Custom Code" in the settings menu
- Scroll down to the "Footer Code" section (before </body> tag)
- Paste your Asyntai embed code
- Click "Save Changes"
- Publish your site for the changes to go live
Tip: Adding the code to the Footer section places it just before the closing </body> tag, which is recommended for chat widgets as it won't slow down your page loading.
Alternative: Page-Specific Custom Code
If you only want the chatbot on specific pages:
- Open your project in the Webflow Designer
- Click the Pages panel (folder icon) in the left sidebar
- Hover over the page you want to edit and click the gear icon
- Scroll down to "Custom Code"
- Paste your Asyntai embed code in the "Before </body> tag" section
- Click "Save"
- Publish your site
Alternative: Using Embed Element
You can also add the chatbot using the Embed element anywhere on your page:
- Open your project in the Webflow Designer
- Click the "+" button to open the Add panel
- Search for "Embed" or find it under Components
- Drag the Embed element onto your page
- Paste your Asyntai embed code in the code editor
- Click "Save & Close"
- Publish your site
Important: When using the Embed element, you'll need to add it to each page where you want the chatbot. For site-wide installation, use the Site Settings method above.
Step 3: Verify Installation
After publishing your site, open it in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to make sure it opens and works correctly.
Not seeing the widget? Make sure you've published your site after adding the code. Custom code only appears on the live site, not in the Designer preview. Try clearing your browser cache or viewing in an incognito window.