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

# Deploy to Shopify

> Add a SketricGen Brand Agent as an ecommerce AI chatbot for your Shopify store with an inline iframe or floating chat widget.

> [tab] Inline iFrame Embed
>
> ## **Step 1: Create your SketricGen account**
>
> To get started with the integration, **[sign in to your SketricGen account](https://www.sketricgen.ai)**. If you don't have an account yet, you can create one for **[free](https://www.sketricgen.ai)**. Once you're logged in, begin setting up your Brand Agent by uploading your data sources. These can include files, text snippets, websites, or Q\&A pairs, which will serve as the knowledge base for your Brand Agent.
>
> Use this path when you want an ecommerce chatbot on a specific Shopify page, such as Contact, FAQ, product guidance, or demo request pages.
>
> If you need assistance with setting up a working SketricGen Brand Agent, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart.md)** for creating and deploying your Brand Agent.
>
> ## **Step 2: Copy the SketricGen Brand Agent embed code**
>
> After configuring your Brand Agent, go to the Brand Agent dashboard and click **Publish > Direct Embed** to copy the iframe embed code.
>
> > **Note:** Ensure your Brand Agent is set to **Public** to make it accessible on your Shopify website.
>
> ![Screenshot showing SketricGen Direct Embed iframe code copy interface](https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot1.png?fit=max\&auto=format\&n=c4HlQLmBiw0POS1H\&q=85\&s=a9f8ba5e3f5e54c566e644bd1ed39759)
>
> ## **Step 3: Sign into your Shopify website and embed your Brand Agent**
>
> ### 1. Log into your **Shopify** admin dashboard.
>
> ### 2. From the left-hand menu, go to **Online Store → Pages**.
>
> ### 3. Choose the page you want to edit. (In this example, we're embedding the Brand Agent on the Contact page.)
>
> ![Screenshot showing Shopify admin dashboard with Online Store > Pages navigation](https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?fit=max\&auto=format\&n=c4HlQLmBiw0POS1H\&q=85\&s=a7c62b180188154fa15644f43341a4e1)
>
> ### 4. Paste the embed code into the **HTML/code editor**, then click **Save**.
>
> ![Screenshot showing Shopify page editor with HTML/code editor and Save button](https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot3.png?fit=max\&auto=format\&n=c4HlQLmBiw0POS1H\&q=85\&s=e9d2f2d11b47e369b60e3e0c24b99474)
>
> ## **Step 4: Test your widget after publishing**
>
> ![Screenshot showing Shopify website with embedded SketricGen chat widget](https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot4.png?fit=max\&auto=format\&n=c4HlQLmBiw0POS1H\&q=85\&s=40a2ac30b01ee29a02faf67c4f3aefe9)
>
> **Success:** Your SketricGen Brand Agent is now integrated into your Shopify site. Visitors can chat with it and receive responses grounded in the knowledge sources you configured.

> [tab] Floating Chat bubble
>
> ## **Step 1: Create your SketricGen account**
>
> To get started with the integration, **[sign in to your SketricGen account](https://www.sketricgen.ai)**. If you don't have an account yet, you can create one for **[free](https://www.sketricgen.ai)**. Once you're logged in, begin setting up your Brand Agent by uploading your data sources. These can include files, text snippets, websites, or Q\&A pairs, which will serve as the knowledge base for your Brand Agent.
>
> Use this path when you want a floating ecommerce chatbot available across your Shopify storefront.
>
> If you need assistance with setting up a working SketricGen Brand Agent, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart.md)** for creating and deploying your Brand Agent.
>
> ## **Step 2: Copy the SketricGen Brand Agent embed code**
>
> After configuring your Brand Agent, go to the Brand Agent dashboard and click **Publish** to copy the embed code.
>
> > **Note:** Ensure your Brand Agent is set to **Public** in order to add it to your Shopify website.
>
> ![Screenshot showing SketricGen dashboard with Publish button and embed code copy option](https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot5.png?fit=max\&auto=format\&n=mCVnaEP0cNWvk2wK\&q=85\&s=872edd85c887b64d79f5d034c5fa9de4)
>
> ## **Step 3: Sign in to your Shopify account and embed your Brand Agent in your desired theme**
>
> ### 1. Click on **Customize theme**
>
> ![Screenshot showing Shopify admin dashboard with Customize theme option](https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot6.png?fit=max\&auto=format\&n=mCVnaEP0cNWvk2wK\&q=85\&s=393174d0b91e77db5e0c2aede5bd9a8b)
>
> ### 2. Add a **Custom Liquid Section**
>
> ![Screenshot showing Shopify theme customizer with Add Custom Liquid Section option](https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot7.png?fit=max\&auto=format\&n=mCVnaEP0cNWvk2wK\&q=85\&s=7fc0de4be46c72d6ec73e0cf2261d414)
>
> ### 3. Paste the code you copied in step 2 in the element block and adjust the position and size of the widget accordingly
>
> ![Screenshot showing Shopify Custom Liquid Section with embed code input and positioning options](https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot8.png?fit=max\&auto=format\&n=mCVnaEP0cNWvk2wK\&q=85\&s=dea5845dafa2f03910c0d1afd04c51b8)
>
> ## **Step 4: Test your widget after publishing**
>
> ![Screenshot showing Shopify website with embedded SketricGen chat widget](https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot9.png?fit=max\&auto=format\&n=mCVnaEP0cNWvk2wK\&q=85\&s=802d091fdd83ebcc04a941e63b5f5032)
>
> **Success:** Your SketricGen Brand Agent is now available as a floating chat bubble on your Shopify site.


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