← Setup guides

How to add a chatbot to your Wix site

Wix lets you add code to every page from your site's Settings, under Custom Code.

."},{"@type":"HowToStep","position":2,"text":"In your Wix site's dashboard, go to Settings."},{"@type":"HowToStep","position":3,"text":"Under Development & integrations, click Custom Code."},{"@type":"HowToStep","position":4,"text":"Click + Add Custom Code at the top right."},{"@type":"HowToStep","position":5,"text":"Paste your code and give it a name, like \"Chat assistant\"."},{"@type":"HowToStep","position":6,"text":"Under Add Code to Pages, choose All pages, loaded once per visit or on each page."},{"@type":"HowToStep","position":7,"text":"Under Place Code in, choose Body - end."},{"@type":"HowToStep","position":8,"text":"Click Apply."},{"@type":"HowToStep","position":9,"text":"Open your website in a new tab and look for the chat bubble in the bottom-right corner. Your Widget page shows \"Widget live\" once it has been seen on your site."}]}

Before you start

Steps

  1. Sign in, open your assistant's Widget page and copy the one line of code shown there. It starts with <script and ends with </script>.
  2. In your Wix site's dashboard, go to Settings.
  3. Under Development & integrations, click Custom Code.
  4. Click + Add Custom Code at the top right.
  5. Paste your code and give it a name, like "Chat assistant".
  6. Under Add Code to Pages, choose All pages, loaded once per visit or on each page.
  7. Under Place Code in, choose Body - end.
  8. Click Apply.
  9. Open your website in a new tab and look for the chat bubble in the bottom-right corner. Your Widget page shows "Widget live" once it has been seen on your site.

Platform steps checked on September 16, 2026 against Wix Help Center: Embedding Custom Code on Your Site

Good to know

Can't edit your website?

Every assistant has its own chat page. Link to it from your website's menu, your Google Business Profile, social media or email signature. Or use "Email this to my web person" on your Widget page to send the code to whoever runs your site.

Questions

Why isn't my Wix custom code working?

Check the site is published and has a connected domain, that the code is set to All pages, and that you're viewing the live site rather than the editor preview.

Can I add a chatbot to a free Wix site?

Not with code, because Wix only allows custom code on sites with a connected domain. Link to your assistant's chat page instead.

Try it on your own website

Your customers are asking right now

Paste your website and hear your assistant answer as your business. It takes about a minute.

  • No account needed
  • No card
  • Free plan forever

Want the details first? See pricing