# Adding the MessageBird Omnichannel Widget to a Wix store

In this guide, you’ll learn how to add the [Omnichannel Chat Widget](https://inbox.messagebird.com/manager/omnichannel-widget) to a [Wix](https://www.wix.com/) store.&#x20;

**Prerequisites**

* Be the **manager** of your MessageBird [Inbox](https://inbox.messagebird.com/) account
* Be an **admin** for your Wix store

**Enabling the Omnichannel chat widget**&#x20;

1\. Log in at [dashboard.messagebird.com](https://dashboard.messagebird.com/en/user/index) and go to **Inbox** or go directly to [inbox.messagebird.com](https://inbox.messagebird.com/).

2\. Go to [Inbox settings](https://inbox.messagebird.com/manager/overview).

3\. Click on **Channels** and open **Omnichannel Widget**

4\. [Customize your widget](https://docs.bird.com/connectivity-platform/customizing-the-omnichannel-widget) settings to make it match the style of your Wix store (logo, colours, agent name).

5\. Under **Location** make sure to whitelist your store’s website address (e.g. <https://mystore.com>) to signal Inbox — it should accept chat requests coming from your Wix store.&#x20;

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-298e2b39073409ee22d980f182a369a4cbc63d6a%2Fimage7.png?alt=media" alt=""><figcaption></figcaption></figure>

6\. Done? Awesome! Hit **Publish changes** and **activate the widget**. You can always come back and change the [Inbox settings](https://inbox.messagebird.com/manager/overview).

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-28c0b3b3fc75769122e0d5f25e28ef68f99a3fde%2Fimage4.png?alt=media" alt=""><figcaption></figcaption></figure>

7\. Now that we finished the configuration on the Inbox side, let’s copy the code snippet by clicking **Get code snippet**.

&#x20;

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-84dd2f5d5f6355ec8739d695a9defc9b02094897%2Fimage5.png?alt=media" alt=""><figcaption></figcaption></figure>

&#x20;

**Attaching widget to your Wix store**

Time to add the code by injecting it to every page via a custom tracking script.

1\. Go to your Wix store admin page, [**https://editor.wix.com/**](https://editor.wix.com/)

2\. Go to **Settings** and select **Tracking and analytics** from the sidebar.

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-bec23f95eaf8a8cc7a8e7bdb3c7753e468ff2495%2Fimage3.png?alt=media" alt=""><figcaption></figcaption></figure>

3\. Scroll down to the **Advanced** section and tap **Tracking & Analytics**.

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-1555d752f86c838cc0f18758c1f2578ec4cf65de%2Fimage1.png?alt=media" alt=""><figcaption></figcaption></figure>

4\. Choose to add a **Custom** new tool (top-right on the page).

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-ad7b031e3b3eabfebed46ae64737ceda38450f73%2Fimage9.png?alt=media" alt=""><figcaption></figcaption></figure>

5\. Paste the code snippet in the **Paste the code snippet here** input box and follow these steps: &#x20;

1.

* Give it a name: e.g. MessageBird Omnichannel Chat Widget
* Add code to Pages: select the pages you’d like the widget to appear on (leave all pages if in doubt)
* Select **Load code once** for loading options
* Select **Body - end** as the **Place Code in** option

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-13f4ea7cd15b09aa19cc23671335fe698692fc38%2Fimage2.png?alt=media" alt=""><figcaption></figcaption></figure>

6\. And that’s it! Save the changes, publish the new site version and the Omnichannel Chat Widget will be visible on your Wix store.

<figure><img src="https://675349995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUJNEE9TMK4fU91VKstBr%2Fuploads%2Fgit-blob-3f8abf1d5faf2601db61c1055929106472775761%2Fimage6.png?alt=media" alt=""><figcaption></figcaption></figure>

&#x20;
