How to Add an AI Assistant to a Wix Website
Last updated: July 2026 · No coding required
Wix has a built-in Custom Code panel, so adding an AI assistant is just a copy-and-paste — no coding. 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
- 1In your Wix dashboard, go to Settings → Custom Code (under the Advanced section).
- 2Click “+ Add Custom Code”.
- 3Paste your code, set “Add Code to Pages” to All pages, and “Place Code in” to Body – end.
- 4Give it a name and click Apply.
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 Wix are identical — just paste the “window code” from your dashboard wherever you want it to appear.
Guides for other platforms
Add an AI assistant to WordPress→Add an AI assistant to Shopify→Add an AI assistant to Squarespace→Add an AI assistant to Webflow→Add an AI assistant to Google Tag Manager→Add an AI assistant to Any HTML Website→
Ready to try it?
Start free and add your AI assistant to Wix today — or email support@askleya.io if you’d like a hand.
Ask Leya