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

# Shopify

> Add the Lark AI agent to your Shopify store easily.

Adding Lark to Shopify takes one script tag added through your theme editor. It works on all pages of your store.

## Before you start

* Your Lark agent is live and your organisation domain is saved in Organisation settings.
* You have access to your Shopify theme editor.

## Get your embed script

In your Lark dashboard open **Add to site** and copy the floating button script.

## Add the script to Shopify

In your Shopify admin go to **Online Store → Themes**. Click **Actions → Edit code** on your active theme. Open `theme.liquid` from the file list, find the closing `</body>` tag near the bottom of the file, paste your Lark script just before it, and save. The agent will appear on every page of your store.

## Inline embed

To show the agent on a specific page such as your contact or FAQ page, use the inline embed code from **Add to site**. In the Shopify theme editor, add a **Custom HTML** section to that page and paste the inline code into it.

<Warning>
  Your website's domain must match the domain saved in **Organisation Settings** in Lark before the agent will load. Go to Organisation Settings, check the domain field, and make sure it matches your live Shopify domain or custom domain. The agent will not appear on Shopify preview URLs.
</Warning>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.