Wix · free forever · no signup

Add a free AI chat widget to Wix

This guide shows how to add an ai chat widget for Wix in about a minute, with no app: you paste one snippet into Settings → Custom Code, placed in Body – end, because it's a floating bubble, so it only needs to exist once per page and should load last. No app from the Wix App Market. Wix renders raw HTML and script tags inside an embed element, so there is nothing to install and nothing to pay for.

What this ai chat widget for Wix shows

The AI chat widget adds a small chat bubble that answers visitors' questions using the content of the page they're on. It's useful for long pages such as pricing, FAQs, documentation or product details, where visitors would otherwise scroll around looking for one answer. It's powered by a large language model and grounded in your page text, so it works best on pages that actually contain the answers.

How to add an AI chat widget to Wix

  1. 1In the site dashboard go to Settings → Custom Code and click + Add Custom Code.
  2. 2Paste the snippet and set Add Code to Pages to All pages.
  3. 3Under Place Code in, choose Body – end — functional scripts belong there rather than in the head.
  4. 4Apply, then Publish. It now runs on every page of the site, including new pages you add later.
On Wix Studio, or no connected domain yet? No connected domain yet? Drag an Embed a Widget element into the footer area of the Wix Editor instead. The footer is shared across pages, so one paste still covers the whole site.

Where it works best on a Wix site

On Wix, the right spot is Settings → Custom Code, placed in Body – end. It's a floating bubble, so it only needs to load once per page, at the end of the body. Try it on your longest page first and ask it the questions your customers usually email you about. If the answers are thin, the page probably is too.

Wix plan and editor requirements

Wix has two routes. The Embed a Widget element (Add → Embed Code) works on every plan, including free sites, and runs the widget inside its own frame. Settings → Custom Code, which adds a script to every page, only works on a Premium plan with a connected domain. On a free wixsite.com address the Custom Code section is visible but doesn't run, so use the embed element instead.

Three things that trip people up on Wix

Custom Code is gated behind a connected domain

Wix only unlocks Settings → Custom Code on a published site with a connected domain, which in practice means a Premium plan. On a free wixsite.com address the section is there but inert. The embed element has no such requirement, so free sites are not locked out — they just can't use the head position. One more trap: if you later change or reassign the domain, Wix deletes your custom code snippets, so keep the snippet saved somewhere.

The iframe can't resize itself — you set the height

Every Wix embed runs in a sandboxed iframe that cannot talk to the parent page, so auto-resize scripts do nothing. If the widget looks cut off, the widget is fine and the element is too short: drag the blue handles or type a pixel height in the layout panel. Do it again in the mobile editor, because Wix stores mobile sizing separately. Set the height to the tallest the widget will ever get to avoid layout shift.

Nothing exists until you hit Publish

The editor and even Preview mode do not run custom code, and embeds frequently render blank in Preview. Publish, then open the live URL in a normal tab. A widget that 'doesn't work' on Wix is almost always an unpublished change or a Preview-mode check. Also make sure your snippet is HTTPS-only — Wix blocks mixed content outright.

Honest limits

Like any AI assistant it can get things wrong, especially on short pages or questions the page doesn't cover. Don't use it for anything where a wrong answer could cause harm, such as medical, legal or safety advice.

What you get, and what it costs

  • Free forever — there is no paid tier, no trial and no card
  • No signup for the badge-style widgets; the live ones create a site ID inline from your URL
  • Async script — it never blocks your page from rendering
  • Works in the Wix Editor, Wix Studio and Editor X, on Wix Blog posts, and on free wixsite.com sites via the embed element
  • Bots filtered server-side on every visitor-counting widget

Wix questions

Do I need an app to add an AI chat widget to Wix?

No app from the Wix App Market. Wix renders raw HTML and script tags inside an embed element, so there is nothing to install and nothing to pay for. Installing an app for this would mean another dependency and update cycle just to show one widget.

Where exactly does the snippet go on Wix?

Settings → Custom Code, placed in Body – end, because it's a floating bubble, so it only needs to exist once per page and should load last.

Will it slow my Wix site down?

It adds one small script, loaded asynchronously, so it doesn't block your page from rendering. Any third-party script has some cost, so check your page speed before and after adding it. Wix drops the embed into its own sandboxed iframe, so it physically cannot block your page from rendering — the trade-off is that you set the height yourself, because a sandboxed iframe can't tell the parent page how tall it needs to be. There is no cache to purge; the change goes live when you hit Publish.

Does it work with page builders like Wix Editor?

Wix Editor: Add (+) → Embed & Social → Embed a Widget. Wix Studio: Add → Embed → Custom Embeds, same dialog. Editor X: use the HTML iFrame element. Wix Blog: add an HTML block inside the post. Any builder with a raw-HTML or code block will render it.

Can the AI chat make things up?

It can. It's grounded in your page content, which reduces this, but it isn't guaranteed. Test it with real questions and keep important details, such as prices and policies, clearly written on the page.