# Install the Robylon Chatbot on a Wix Site

Add the Robylon chatbot to your Wix site with Wix's Custom Code setting, then publish.

> Source: https://www.robylon.ai/docs/chatbot/install/wix
> Section: Chatbot

To add the Robylon chatbot to a Wix site, copy the chatbot's snippet from Robylon and add it through Wix's **Custom Code** setting. You need admin access to the Wix site.

## How do I copy the chatbot snippet from Robylon?

Go to **Settings → Channels → Chatbot**, click your chatbot, open the **Install** tab, choose **Web → Wix**, and copy the snippet. It already contains your Chatbot ID. See [Installation](https://www.robylon.ai/docs/chatbot/installation) for what the snippet does.

## How do I add the chatbot to my Wix site?

Add the snippet as custom code, choose the pages, then publish.

<Steps>
  <Step title="Open your site">
    Sign in to Wix, open your site and click **Design Site** (or **Edit Site**).

    <Frame>
      <img src="/assets/docs/wix-1.webp" alt="Wix site dashboard with the button to open the site editor" width="1900" height="796" />
    </Frame>
  </Step>
  <Step title="Open Custom Code">
    Click **Add Elements** (the plus icon) in the left sidebar, then **Embed Code → Marketing Tools → Custom Code**.

    <Frame>
      <img src="/assets/docs/wix-2.webp" alt="Wix editor Add Elements panel with the Embed Code option" width="1883" height="851" />
    </Frame>
  </Step>
  <Step title="Add the snippet">
    Click **+ Add Custom Code**, paste the Robylon snippet, and give it a name such as "Robylon chatbot".
  </Step>
  <Step title="Choose pages and placement">
    Under **Add Code to Pages**, choose **All pages** or the pages you want. Under **Place Code**, choose **Head**.
  </Step>
  <Step title="Apply and publish">
    Click **Apply**, publish your site, and open it to check that the chatbot launcher appears and answers a test message.
  </Step>
</Steps>

If the launcher does not appear, see [How do I know the chatbot is installed correctly?](https://www.robylon.ai/docs/chatbot/installation#how-do-i-know-the-chatbot-is-installed-correctly)
