Add an AI support chatbot to Wix
Botsmith goes onto a Wix site the same way any third-party script does: through the Custom Code setting in your site's dashboard. There is no Wix app of ours to install. You paste one line, choose which pages it runs on, and a chat bubble starts answering visitors from your own pages. This guide follows the menu names in Wix's own help article, checked on 21 September 2026.
Before you start
- A published Wix site with a connected domain. Wix's help article puts this first: before you begin, make sure your site is published and has a connected domain. The Custom Code setting is not available to a site that only has a free Wix address.
- A Botsmith bot created with that same domain, so it has already read your pages. Ask it a few questions in the dashboard preview first; if an answer is wrong there, fix the page on your site before you go live.
- Owner or admin access to the Wix site.
Step 1: copy your embed code
In your Botsmith dashboard, open your bot. The overview page shows your embed code, which looks like this with your own bot ID:
<script src="https://botsmith.chat/bot.js" data-bot="fb_xxxxxxxxxxxx" async></script>
Step 2: add it as custom code in Wix
- Go to Settings in your site's dashboard.
- Click Custom Code in the Development & integrations section.
- Click + Add Custom Code at the top right.
- Paste your Botsmith line into the text box.
- Enter a name you will recognise later, such as "Botsmith chat".
- Under Add Code to Pages, choose All pages. Wix explains that this also covers any new pages you create in the future. Choose to load the code on each page your visitor opens, so the bubble is there wherever they land.
- Under Place Code in, choose Body – end. The other options are Head and Body – start; the end of the body lets your page content load first.
- Click Apply.
Want the bubble only on some pages, for example your contact and pricing pages? Choose specific pages instead of All pages in the same step.
Step 3: check that it works
- Open your live site, on its real domain, in a private browser window.
- Look for the chat bubble in the bottom-right corner, open it, and ask something your site answers, such as your hours.
- Check a second page too, to confirm All pages took effect.
If the bubble does not appear
- You are looking at the editor or a preview. Custom code runs on the published site, not inside the Wix Editor. Check the live address.
- The domain does not match. The Botsmith widget only runs on the website address you gave the bot, with or without www. Wix also notes that code snippets are associated with a specific domain, and that if you assign a different domain to your site your snippets are deleted, so add the code again after any domain change.
- Wix's newer security rules. Wix says that in December 2025 it introduced new frontend security measures for custom code, and that some snippets which previously worked may be blocked until the provider updates them. If the bubble is missing and everything above checks out, email us with your site address and we will look.
- Another snippet is interfering. Wix suggests turning off each snippet's toggle one at a time and testing after each change.
- The bot is paused or the trial has ended. Check the bot's settings page in your dashboard.
Rather not add code at all?
Every Botsmith bot has its own chat link and QR code that open straight into the conversation. In Wix you can add that link to a button or a menu item labelled "Chat with us", and nothing is installed on the site. It is also the quickest fallback while you sort out any of the problems above.
Deciding which tool to use first? Compare Botsmith with Chatbase or Tidio, or read what a website support bot should answer before you go live. Using WordPress instead? Follow the WordPress guide.
Frequently asked questions
Do I need a paid Wix plan to add a chatbot?
You need a published site with a connected domain, which Wix lists as the requirement before you can add custom code. A site that only uses a free Wix address cannot use the Custom Code setting. If that is you, share your Botsmith chat link on a button instead.
Where in Wix do I paste the chatbot code?
In your site's dashboard, go to Settings, then Custom Code in the Development & integrations section, then + Add Custom Code at the top right. Paste the line, name it, choose All pages, place it in Body – end, and click Apply.
Why can't I see the chat bubble in the Wix Editor?
Custom code runs on the published site, not in the editor or preview. Open your live domain in a private browser window. The widget also only runs on the domain you gave your Botsmith bot, so a different address will not show it.
What happens if I change my Wix domain?
Wix says code snippets are associated with a specific domain and are deleted if you assign a different domain to your site. Add the Botsmith code again after the change, and update the website address on your bot so the widget is allowed to run there.
Sources
- Wix Help Center: Embedding custom code on your site — checked 21 September 2026