Prerequisites
- A Lemon Slice Agent created on a paid plan
- A Squarespace page on a plan that supports code injection (Core, Plus, Advanced, Business, Commerce Basic and Commerce Advanced plans)
Guide
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. Add widget to your page
Paste your site into the “Page header code injection” section inside Page Settings/Advanced. This will embed your widget across the site.
The agent widget is only visible to you and your visitors on your live Squarespace site. It won’t display in the editor preview.