> ## Documentation Index
> Fetch the complete documentation index at: https://lemonslice.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Wix

> Learn how to deploy a LemonSlice agent to your Wix page with minimal code.

### Prerequisites

1. A LemonSlice Agent created on a paid plan
2. A Wix page on a premium account. Embedding custom Javascript is only vailable on Premium plans.

### Guide

<Steps>
  <Step title="Get an embed code">
    Visit the LemonSlice [agents platform](https://lemonslice.com/agents) to find your agent's embed widget. It should look something like this:

    ```javascript JAVASCRIPT theme={null}
    <lemon-slice-widget agent-id="AGENT_ID_HERE"></lemon-slice-widget>
    <script type="module" src="https://unpkg.com/@lemonsliceai/lemon-slice-widget"></script>
    ```

    Copy this embed code.
  </Step>

  <Step title="Add embed code to your site">
    1. [Go to Settings](https://www.wix.com/my-account/site-selector/?buttonText=Open%20Settings\&title=Select%20a%20Site\&autoSelectOnSingleSite=true\&actionUrl=https://www.wix.com/dashboard/\{\{metaSiteId}}/settings) in your site's dashboard.
    2. Scroll down and click **Custom Code** in the Advanced section.

           <img src="https://mintcdn.com/lemonslice/ijSarkZGcrUvO2ND/images/manage.wix.com_dashboard_9dce7b81-a074-45be-b517-dacaf8c88735_domain-settings_domainName=wixlemonslicetest.com(1).png?fit=max&auto=format&n=ijSarkZGcrUvO2ND&q=85&s=53bea465acb855e4bba7e68258aa34f9" alt="Manage Wix Com Dashboard 9dce7b81 A074 45be B517 Dacaf8c88735 Domain Settings Domain Name=wixlemonslicetest Com (1)" width="2800" height="1800" data-path="images/manage.wix.com_dashboard_9dce7b81-a074-45be-b517-dacaf8c88735_domain-settings_domainName=wixlemonslicetest.com(1).png" />
    3. Click **Add Custom Code** at the top right.
    4. Configure how your code will run in this section.

           <img src="https://mintcdn.com/lemonslice/ijSarkZGcrUvO2ND/images/manage.wix.com_dashboard_9dce7b81-a074-45be-b517-dacaf8c88735_domain-settings_domainName=wixlemonslicetest.com(4).png?fit=max&auto=format&n=ijSarkZGcrUvO2ND&q=85&s=175bd3b628c320d38a94cd7bbc225368" alt="Manage Wix Com Dashboard 9dce7b81 A074 45be B517 Dacaf8c88735 Domain Settings Domain Name=wixlemonslicetest Com (4)" width="2800" height="1800" data-path="images/manage.wix.com_dashboard_9dce7b81-a074-45be-b517-dacaf8c88735_domain-settings_domainName=wixlemonslicetest.com(4).png" />

       * Paste your embed code under "Paste the code snippet here:"
       * (Recommended) If you select **All pages** and select **Load code once**, every page on your site will have the LemonSlice agent widget. Your agent will persist across multiple pages.
         * You may also choose certain pages to display your agent. We don't recommend this, as it will cause your agent to restart if you change pages.
    5. Apply your changes.
  </Step>
</Steps>
