GuideWix

Add the chat to your Wix site.

One line of code in Wix's settings puts a chat button on every page. Messages arrive in MySendbox, where your team or your AI agent answers.

01

Before you start

  • A MySendbox workspace. Sign up if you don't have one.
  • A Wix site that is published and has its own domain connected. Wix needs both before it lets you add custom code: see Wix's help on custom code.
  • Your site's address, exactly as visitors see it in the browser, such as https://www.your-site.com.

The chat only shows on the websites you list for it in MySendbox. Without a plan, those websites must be on a domain you've verified in your workspace under Domains. On a plan, you can list any website. See pricing.

This guide is for the chat. The emails Wix sends itself, such as form notifications and order emails, stay with Wix.

02

Create the chat in MySendbox

  1. In MySendbox, open Chat widget and click Add a chat. Choose who answers it: one of your AI agents, or your team only.
  2. Under Your website, type your site's address, such as https://www.your-site.com, and click Add website chat.
  3. Copy the line under Add this to your website, before </body>. It looks like this, with your own chat's ID in it:
Chat code
<script src="https://chat.mysendbox.com/w/chn_….js" async></script>

Don't copy the line above: copy yours from MySendbox, so it has your ID.

03

Paste it into Wix

  1. In your Wix site's dashboard, open Settings.
  2. Click Custom Code, in the Development & integrations section.
  3. Click + Add Custom Code and paste the line.
  4. Give it a name, such as “MySendbox chat”.
  5. Under Add Code to Pages, choose All pages.
  6. Under Place Code in, choose Body - end.
  7. Click Apply.

If the menus look different, follow Wix's help on custom code.

04

Check that it works

  1. Open your live site in a new private (incognito) window. A round chat button shows at the bottom right.
  2. Click it and send a message.
  3. In MySendbox, open Chats. Your message is there. Answer it, and the answer shows in the chat on your site.
05

If the button doesn't show

  • The address isn't on the list. The chat shows only on the websites listed for it, and the address must match exactly. https://your-site.com and https://www.your-site.com are two websites: list the one visitors end up on, or both. In MySendbox, click Edit on the chat and change Websites it may show on (one per line, up to 10).
  • You're on a preview or test address. The editor's preview and the platform's own test address are different websites from your live one. Check on the live site.
  • No plan, and the site isn't on your domain. Without a plan, the chat works only on domains verified in your workspace.
  • You just changed it. A change to the chat's settings takes up to 5 minutes to reach your site.

All setup guides · API reference