← Setup guides

How to add a chatbot to your Wix site

A Wix chatbot needs one line of code, and 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, or bottom-left if you've moved it in Settings. Your Widget page shows \"Live on your site\" once it has been seen there."}]}

Before you start

Steps to add your Wix chatbot

  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, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

Platform steps checked on October 1, 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.

Does Wix have a chatbot of its own?

Yes. Wix Smart Chat is a free app in the Wix App Market that mixes AI answers with live chat, and Wix's help center says it replaced Wix AI Site Chat for new sites in March 2026. Use it if you'd rather stay inside Wix. This guide adds ours, which answers from your website and your corrections and emails you each lead as it arrives.

Try it on your own website

Your customers are asking right now

Paste your website and see 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