How to Add a Chatbot to Your Wix Website

NNaruva Team··6 min read

Wix ships with its own chat feature, and it has an honest limitation: someone has to be there to answer. Wix Chat is a live-chat inbox — when you're asleep, at a job site, or just busy, visitors type into a void and get an automated "we'll get back to you." For a small business, that's most of the day.

An AI chatbot flips this: it answers immediately, every time, from content you control. Here's how to add one to a Wix site using Wix's custom code feature — about 10 minutes end to end.

A quick note on Wix plans

Embedding custom code on Wix requires a premium plan with a connected domain — Wix doesn't allow custom embeds on free sites. If you're running a business on Wix you almost certainly have this already, but it's worth knowing before you start. Wix documents the requirement in their custom code guide.

Step 1: Set up your bot

Create a free Naruva account, make a bot, and train it on your business content — upload files, paste a URL to your FAQ page, or describe your business and let AI draft the document. Customize the colors and welcome message to match your Wix site, then copy the embed snippet from the Embed tab:

embed-snippet.html
<!-- Paste before the closing </body> tag -->
<iframe
  src="https://naruva.ai/chat/YOUR-BOT-ID"
  style="position:fixed;right:20px;bottom:20px;…"
></iframe>
The embed snippet from your Naruva dashboard — one iframe, no scripts to maintain.

Step 2: Add the snippet in Wix

  1. From your Wix dashboard, go to Settings
  2. Scroll to the Advanced section and click Custom code
  3. Click + Add Custom Code
  4. Paste your Naruva snippet into the code box and name it (e.g. "Naruva chatbot")
  5. Under "Add Code to Pages", choose All pages (or pick specific pages)
  6. Set "Place Code in" to Body — end, then click Apply
wix admin
SettingsAdvancedCustom code+ Add Custom Code
Paste code here — Body end, All pages
<iframe src="https://naruva.ai/chat/…"></iframe>
Save
Wix custom code settings: Settings → Advanced → Custom code, placed at Body — end.

Publish your site and the widget is live. "Body — end" matters: it means the chat loads after your page content, so it never delays your site.

Step 3: Test with real questions

C
Coastal Kayak Tours
Online · Replies instantly
What should I bring, and what happens if it rains?
Bring sunscreen, water, and shoes that can get wet — we provide all paddling gear. If we cancel for weather, you can rebook free or get a full refund.
Type your message...Send
A tour operator's bot answering from its own booking FAQ — the questions that otherwise become phone calls.

Ask it the questions your phone rings with. Anything it gets wrong or can't answer is a gap in your training document — edit the doc in your Naruva dashboard and the bot updates instantly.

Wix Chat vs. an AI chatbot: which one?

They solve different problems, and some businesses keep both. Wix Chat is great when you want to talk to visitors live and can staff it. The AI bot is better for the 90% of questions that have a standard answer — hours, pricing, policies, what-to-expect — and for every hour you're not available. If you run both, let the AI bot be the default and keep live chat for when you're actively at your desk.

Quick recap
  • You need a Wix premium plan with a connected domain for custom code
  • Train a free Naruva bot and copy the embed snippet
  • Settings → Advanced → Custom code → Add Custom Code
  • Apply to All pages, placed at Body — end
  • Publish, then test with your most common phone-call questions

Ten minutes of setup, and your Wix site answers questions while you run the actual business. Start with the free plan — 50 messages a month is plenty to prove it works on your real traffic.

Put an AI chatbot on your site this week.

Train it on your own documents, paste one snippet, and it answers customers 24/7. Free to start, no credit card.