How to add an AI chatbot to a Webflow site
In Webflow, go to Site settings → Custom code → Footer code, paste the script tag, save, and publish. Get a key at /get-api-key first.
<script src="https://onelinechat.com/widget.js" data-key="olc_pub_YOUR_KEY" async></script>
Notes
- Webflow only runs site-wide custom code on sites with a paid site plan. On a free plan, the code is saved but isn't published.
- The chatbot appears after you publish. The Designer canvas doesn't run custom scripts.
*.webflow.iostaging addresses are allowed automatically.