Skip to main content

Prerequisites

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

Guide

1

Get an embed code

Visit the Lemon Slice agents platform to find your agent’s embed widget. It should look something like this:
<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.
2

Add embed code to your site

  1. Go to Settings in your site’s dashboard.
  2. Scroll down and click Custom Code in the Advanced section. Manage Wix Com Dashboard 9dce7b81 A074 45be B517 Dacaf8c88735 Domain Settings Domain Name=wixlemonslicetest Com (1)
  3. Click Add Custom Code at the top right.
  4. Configure how your code will run in this section. Manage Wix Com Dashboard 9dce7b81 A074 45be B517 Dacaf8c88735 Domain Settings Domain Name=wixlemonslicetest Com (4)
    • 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 Lemon Slice 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.