How to Add an AI Assistant to Webflow

Last updated: July 2026 · No coding required

Webflow’s Custom Code settings make adding an AI assistant simple. Paste one line, publish, done — here’s how.

First, get your code. Log in to your dashboard → Overview to copy your install code (your unique key is already filled in). The example below uses a placeholder YOUR_PUBLIC_KEY.

Step-by-step

  1. 1Open your project’s Settings → Custom Code.
  2. 2Paste your code into the Footer Code box.
  3. 3Click Save Changes, then Publish your site.

Your install code

<script src="https://api.askleya.io/widget/loader.js" data-key="YOUR_PUBLIC_KEY" async></script>

Prefer the full-page AI window?

Ask Leya also offers a full, ChatGPT-style assistant you can embed directly in a page. The steps on Webflow are identical — just paste the “window code” from your dashboard wherever you want it to appear.

Guides for other platforms

Ready to try it?

Start free and add your AI assistant to Webflow today — or email support@askleya.io if you’d like a hand.