> ## 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 AI agent chat widget to your Shopify store — step-by-step guide for embedding agentic workflow automations.

<Tabs>
  <Tab title="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 agent workflow 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 agent.
    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 agent workflow 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 agent workflow.

    If you need assistance with setting up a working SketricGen agent workflow, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart)** for creating and deploying your agent workflow.
    If you need assistance with setting up a working SketricGen agent workflow, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart)** for creating and deploying your agent workflow.

    ## **Step 2: Copy the SketricGen Agent Embed Code**

    After configuring your agent workflow, go to your agent's dashboard and click on **Publish > Direct Embed** to copy the iframe embed code.
    After configuring your agent workflow, go to your agent workflow's dashboard and click on **Publish > Direct Embed** to copy the iframe embed code.

    > **Note:** Ensure your agent is set to **Public** to make it accessible on your Shopify website.
    > **Note:** Ensure your agent workflow is set to **Public** to make it accessible on your Shopify website.

    <img src="https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot1.png?fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=a9f8ba5e3f5e54c566e644bd1ed39759" alt="Screenshot showing SketricGen Direct Embed iframe code copy interface" width="2273" height="1126" data-path="images/shopify/screenshot1.png" />

    ## **Step 3: Sign into your Shopify website and embed your agent**

    ## **Step 3: Sign into your Shopify website and embed your agent workflow**

    ### 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 agent on the Contact page.)

    ### 3. Choose the page you want to edit. (In this example, we're embedding the agent workflow on the Contact page.)

    <img src="https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=a7c62b180188154fa15644f43341a4e1" alt="Screenshot showing Shopify admin dashboard with Online Store > Pages navigation" data-og-width="1435" width="1435" data-og-height="696" height="696" data-path="images/shopify/screenshot2.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=280&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=b75237493cd8a7263b3a9e96c2eef75b 280w, https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=560&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=696a7c2e453383ef5bc5bdcbab7337aa 560w, https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=840&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=6de1e5a93890e82dd5b87b1b94ac6ecf 840w, https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=1100&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=a88746da06f6cc71f73655f2040e8f29 1100w, https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=1650&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=35912b493dea01d8bb7f935377b98158 1650w, https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot2.png?w=2500&fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=5548262d8dceec1a2acd6cd26554b3af 2500w" />

    ### 4. Paste the embed code into the **HTML/code editor**, then click **Save**.

    <img src="https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot3.png?fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=e9d2f2d11b47e369b60e3e0c24b99474" alt="Screenshot showing Shopify page editor with HTML/code editor and Save button" width="1439" height="694" data-path="images/shopify/screenshot3.png" />

    ## **Step 4: Test your widget after publishing**

    <img src="https://mintcdn.com/sketricgen/c4HlQLmBiw0POS1H/images/shopify/screenshot4.png?fit=max&auto=format&n=c4HlQLmBiw0POS1H&q=85&s=40a2ac30b01ee29a02faf67c4f3aefe9" alt="Screenshot showing Shopify website with embedded SketricGen chat widget" width="1597" height="778" data-path="images/shopify/screenshot4.png" />

    🎉 **Congratulations!**\
    Your SketricGen Chat Widget is now successfully integrated into your Shopify site. Visitors can now chat with your AI agent and receive tailored responses.
  </Tab>

  <Tab title="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 agent workflow 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 agent.
    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 agent workflow 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 agent workflow.

    If you need assistance with setting up a working SketricGen agent workflow, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart)** for creating and deploying your agent workflow.
    If you need assistance with setting up a working SketricGen agent workflow, refer to the **[step-by-step guide](https://docs.sketricgen.ai/getting-started/quickstart)** for creating and deploying your agent workflow.

    ## **Step 2: Copy the SketricGen Agent Embed Code**

    After configuring your agent workflow, go to your agent's dashboard and click on **Publish** to copy the embed code.
    After configuring your agent workflow, go to your agent workflow's dashboard and click on **Publish** to copy the embed code.

    > **Note:** Ensure your agent is set to **Public** in order to add it to your Shopify website.
    > **Note:** Ensure your agent workflow is set to **Public** in order to add it to your Shopify website.

    <img src="https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot5.png?fit=max&auto=format&n=mCVnaEP0cNWvk2wK&q=85&s=872edd85c887b64d79f5d034c5fa9de4" alt="Screenshot showing SketricGen dashboard with Publish button and embed code copy option" width="2291" height="1117" data-path="images/shopify/screenshot5.png" />

    ## **Step 3: Sign in to your Shopify account and embed your agent in your desired theme**

    ## **Step 3: Sign in to your Shopify account and embed your agent workflow in your desired theme**

    ### 1. Click on **Customize theme**

    <img src="https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot6.png?fit=max&auto=format&n=mCVnaEP0cNWvk2wK&q=85&s=393174d0b91e77db5e0c2aede5bd9a8b" alt="Screenshot showing Shopify admin dashboard with Customize theme option" width="2331" height="1097" data-path="images/shopify/screenshot6.png" />

    ### 2. Add a **Custom Liquid Section**

    <img src="https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot7.png?fit=max&auto=format&n=mCVnaEP0cNWvk2wK&q=85&s=7fc0de4be46c72d6ec73e0cf2261d414" alt="Screenshot showing Shopify theme customizer with Add Custom Liquid Section option" width="2326" height="1100" data-path="images/shopify/screenshot7.png" />

    ### 3. Paste the code you copied in step 2 in the element block and adjust the position and size of the widget accordingly

    <img src="https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot8.png?fit=max&auto=format&n=mCVnaEP0cNWvk2wK&q=85&s=dea5845dafa2f03910c0d1afd04c51b8" alt="Screenshot showing Shopify Custom Liquid Section with embed code input and positioning options" width="2872" height="1362" data-path="images/shopify/screenshot8.png" />

    ## **Step 4: Test your widget after publishing**

    <img src="https://mintcdn.com/sketricgen/mCVnaEP0cNWvk2wK/images/shopify/screenshot9.png?fit=max&auto=format&n=mCVnaEP0cNWvk2wK&q=85&s=802d091fdd83ebcc04a941e63b5f5032" alt="Screenshot showing Shopify website with embedded SketricGen chat widget" width="2325" height="1101" data-path="images/shopify/screenshot9.png" />

    🎉 **Congratulations!** You have successfully integrated SketricGen Chat Widget. Your visitors can now directly chat with your agent and get tailor made responses.
  </Tab>
</Tabs>
