
Steps
How to add AssistBot to Webflow
It takes one snippet, pasted in Site settings > Custom code > Footer code (added before </body>). You copy it from the Install page of your agent in the AssistBot dashboard.
<!-- AssistBot widget -->
<script>
(function () {
var s = document.createElement('script');
s.src = 'https://www.assistbot.app/widget/assistbot.js';
s.async = true;
s.onload = function () {
AssistBot.init({ agentId: 'YOUR_AGENT_ID' });
};
document.head.appendChild(s);
})();
</script>- 01
Create an agent and add your content
Sign up, create an agent and, under Knowledge, crawl your site and pick the pages it should answer from. Add PDF, DOCX or TXT files, pasted text or Q&A pairs for anything that is not on a page.
- 02
Copy the script tag
In the AssistBot dashboard, open the agent, go to Install and click Copy snippet. The snippet already contains your agent ID.
- 03
Open custom code settings
In Webflow, open your site’s Site settings and go to the Custom code tab.
- 04
Paste the snippet into Footer code
Paste the snippet into the Footer code box, which Webflow places before </body>, and click Save changes.
- 05
Publish the site
Publish to your domain. Custom code only runs on the published site.
- 06
Check that it is working
Open your published site in a new browser tab and look for the chat launcher in the bottom corner. Then go back to Install in AssistBot and click Check again: the status changes from Not detected to Installed and shows the site and when the widget was last seen.
Good to know
Before you start
- Site-wide custom code needs a paid Webflow site plan.
- Custom code does not run in the Designer canvas, so check the widget on the published site.
- To show the widget on one page only, paste the snippet into that page’s settings under Custom code, in the Before </body> tag box, instead of Site settings.
How to check it is working
The Install page in the dashboard checks whether the widget has loaded on a site in the last 7 days. After you publish, open your site once, then click Check again. It shows Installed, the domain and the time the widget was last seen. You can also send a test message from your own site and find it in the Inbox.
FAQ
Webflow questions
Do I need a paid Webflow plan to add a chatbot?
Yes, for the site-wide method. Webflow runs code from Site settings > Custom code only on sites with a paid site plan.
Can I add the chatbot to a single Webflow page?
Yes. Open that page’s settings, find Custom code, and paste the snippet into the Before </body> tag box. Then publish.
Why does the chat not show in the Webflow Designer?
Webflow does not run custom code in the Designer. Publish the site and open the live URL to see the launcher.
How do I know the chatbot is installed correctly?
Open your live site in a browser so the widget loads once, then open the agent’s Install page in AssistBot and click Check again. It shows Installed, the domain it was seen on, the time it was last seen and how many visitor sessions it counted in the last 7 days. If it still says Not detected, the snippet is not on the published page yet.
How much does it cost?
The free plan includes 150 AI replies a month for 1 agent, with no card needed. Startup is $24 a month for 5,000 messages and Growth is $49 a month for 20,000 messages. Installing on any platform is the same on every plan.
Read next
Read next
Guide
How to add an AI chatbot to any website
Train it, set handoff phrases and paste the script tag. The full setup, not just the install.
Use case
Ecommerce chatbot
How online stores use AssistBot for shipping, returns and order questions.
Add AssistBot to Shopify
Paste the script tag into theme.liquid, just above </body>. No app to install.
Add AssistBot to WordPress
Add the script tag with a header and footer code plugin or your theme footer. Works for WooCommerce.
Put an AI chatbot on your Webflow site
The free plan includes 150 AI replies a month and 1 agent. No card needed.