Webflow
Add an AI Chatbot to Your Webflow Site
Train a chatbot on your Webflow pages, PDFs, and YouTube links, then add it through Site Settings and Custom Code. One snippet in Footer Code, then republish.
How it works
The republish is not optional — that is when Webflow actually applies custom code.
Open Site Settings
In the Webflow Designer or dashboard, open Site Settings for the project you want the chatbot on, then go to the Custom Code tab.
Paste into Footer Code
Use the Footer Code field, which Webflow injects before the closing body tag on every page. Head Code would load it too early.
Save, then republish
Custom code only reaches the published site on the next publish. Saving settings alone is not enough, which is the step most people miss.
Test on the published domain
Open your webflow.io staging URL or your custom domain and ask a question your uploaded source answers. Designer preview does not run custom code.
The snippet
Paste this into Site Settings, Custom Code, Footer Code, then save and publish.
<link rel="stylesheet" href="https://cdn.cortexvia.in/chatbotsdk-web.css" />
<script src="https://cdn.cortexvia.in/chatbotsdk-web.iife.js"></script>
<div id="cv-chat"></div>
<script>
window.ChatbotSDK.mount("#cv-chat", {
chatbotKey: "ctx-cb-xxxxxxxxxxxxxxxx",
config: {
mode: "chatbot",
position: "bottom-right"
}
});
</script>Replace the placeholder key with the one from your Chatbots area. Everything else can stay as it is.
- Footer Code, not Head Code
- Republish after saving or the live site will not change
- Page-level custom code fields exist if you want it on one page only
Why Cortexvia
A script embed with local currency pricing, with the trust pages published up front.
Trained on your own content
Add your Webflow pages as sources, upload PDFs, or paste YouTube links. Answers stay grounded in what you upload.
Stays out of the render path
Footer Code plus a deferred loader means the widget arrives after your interactions and animations have already started.
Independent of your classes
The widget mounts into its own container, so your Webflow class system and style overrides never collide with the widget's own styles.
Local pricing, free tier to test
Plans are priced in your local currency, and the free tier is enough to try it on a published site.
Questions
What people ask before adding custom code to a published Webflow site.
More platforms
The same snippet works anywhere a script tag can go. Pick your platform for the exact steps.
Get started
Start on the free tier with a document or two, paste the snippet into Footer Code, and publish.
Save, then publish. If the widget is missing after an install, that missing publish is the first thing to check.
