> ## 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.

# Squarespace

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

### Prerequisites

1. A LemonSlice Agent created on a paid plan
2. A Squarespace page on a plan that supports code injection (Core, Plus, Advanced, Business, Commerce Basic and Commerce Advanced 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 widget to your page">
    <img src="https://mintcdn.com/lemonslice/ijSarkZGcrUvO2ND/images/cow-tulip-6yfb.squarespace.com_config_website(2).png?fit=max&auto=format&n=ijSarkZGcrUvO2ND&q=85&s=e76cd9c52576c13338c85846fb8941c9" alt="Cow Tulip 6yfb Squarespace Com Config Website (2)" width="2800" height="1800" data-path="images/cow-tulip-6yfb.squarespace.com_config_website(2).png" />

    Paste your site into the "Page header code injection" section inside Page Settings/Advanced. This will embed your widget across the site.
  </Step>
</Steps>

<Warning>
  The agent widget is only visible to you and your visitors on your live Squarespace site. It won't display in the editor preview.
</Warning>
