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

# Integrate with Shopify

> Connect your Shopify store to your Readdy website and sell products directly on your site

## 1. What is Shopify?

Shopify is a leading global e-commerce platform that provides businesses and individuals with a complete solution for creating and managing online stores. You can connect your Shopify account to Readdy's project, enabling you to sell the Shopify products on your Readdy-generated websites.

## 2. Before You Start

You need to connect to **Supabase** before setting up Shopify integration.

In the Readdy editor, click the **Connects** button at the top of the screen.

<Frame>
  <img src="https://mintcdn.com/readdy/DVR1m5KO54hpjW-t/images/go-to-connects.png?fit=max&auto=format&n=DVR1m5KO54hpjW-t&q=85&s=518b280f4f709d1d7017759adc5242f6" alt="Connects button in the top navigation bar" width="1516" height="904" data-path="images/go-to-connects.png" />
</Frame>

From the Connects panel, find **Supabase** and click **Connect** to set it up first.

<Frame>
  <img src="https://mintcdn.com/readdy/DVR1m5KO54hpjW-t/images/connects/supabase.png?fit=max&auto=format&n=DVR1m5KO54hpjW-t&q=85&s=8fefc5b36bdc2b096fe97014a0fba336" alt="Supabase in the Connects panel" width="2016" height="1724" data-path="images/connects/supabase.png" />
</Frame>

For detailed instructions, see [How to connect Supabase](/integrations/supabase).

## 3. Access the Shopify Integration

Once Supabase is connected, open **Connects** again and select **Shopify**.

<Frame>
  <img src="https://mintcdn.com/readdy/DVR1m5KO54hpjW-t/images/connects/shopify.png?fit=max&auto=format&n=DVR1m5KO54hpjW-t&q=85&s=7a7c1a5e827192cff202f717fb9c9e78" alt="Shopify in the Connects panel" width="1982" height="1716" data-path="images/connects/shopify.png" />
</Frame>

After opening the Shopify panel, you'll see three fields to fill in: **Store Domain**, **Client ID**, and **Secret Key**.

> Store connection is a one-time setup — you won't need to enter these credentials again for future use of this feature.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-connect-form.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=45f73cd58cfc16a2d6750b6517e6ff68" width="3840" height="2142" data-path="images/shopify-connect-form.png" />
</Frame>

The following steps will guide you through obtaining each of these three values from your Shopify account.

## 4. Get Your Store Domain

Visit [https://www.shopify.com/](https://www.shopify.com/), log in to your Shopify account, and switch to the store you want to connect.

Click "**Settings**" in the bottom-left corner of the page.

<div style={{ maxWidth: '400px', margin: '0 auto' }}>
  <Frame>
    <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-settings.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=06d84a73ef4703cf11b904f34581f2c6" width="1300" height="1922" data-path="images/shopify-settings.png" />
  </Frame>
</div>

Click "**Domains**" in the left sidebar. On the right side, you'll see your store's domain.

* Copy and save the **default Shopify domain** (the one ending in `.myshopify.com`).
* Do **not** use your own custom domain.

<Frame>
  <img src="https://mintcdn.com/readdy/CuU76-l6hLXoNvGh/images/shopify-copy-domain.png?fit=max&auto=format&n=CuU76-l6hLXoNvGh&q=85&s=e9cee36318cfe2e13da8c4e31aebd7aa" width="2416" height="1950" data-path="images/shopify-copy-domain.png" />
</Frame>

> Save the domain for later — you'll enter it in Readdy at the final step.

## 5. Create a Shopify App

Click "**Apps**" in the left sidebar, then click "**Develop apps**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-settings-apps.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=102668fadc9e029d7ab921765d4e2308" width="2272" height="1580" data-path="images/shopify-settings-apps.png" />
</Frame>

Click the black button shown below to navigate to the **Shopify Developer Dashboard**.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-dev-dashboard.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=f5c053d1a74971a1f7ec33b08b02b3ff" width="1520" height="476" data-path="images/shopify-dev-dashboard.png" />
</Frame>

Then click "**Create app**" in the Developer Dashboard.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-create-app-button.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=4f6ba9e3941ec237e57c21096df18bb6" width="3526" height="1264" data-path="images/shopify-create-app-button.png" />
</Frame>

Enter a name for your app, then click "**Create**".

> The name can be anything you prefer — just choose something you'll recognize easily.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-app-name.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=845d8eba37269401d924951a0f49a67f" width="1800" height="574" data-path="images/shopify-app-name.png" />
</Frame>

## 6. Configure API Scopes

After the app is created, click "**Select scopes**" to configure the API permissions.

<div style={{ maxWidth: '400px', margin: '0 auto' }}>
  <Frame>
    <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-select-scopes.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=26a651a76721e1681fc0101740e606ea" width="1636" height="2028" data-path="images/shopify-select-scopes.png" />
  </Frame>
</div>

In the scopes selection popup, search for and enable the following **Storefront API** permissions (do not select Admin API):

**Search "checkout"** and select:

* `unauthenticated_white_checkouts`

<Frame>
  <img src="https://mintcdn.com/readdy/RC8GNW2kIlUAJ2qT/images/shopify-scope-checkout.png?fit=max&auto=format&n=RC8GNW2kIlUAJ2qT&q=85&s=5822a439d7f72547edc311485e0b76f9" width="1528" height="1136" data-path="images/shopify-scope-checkout.png" />
</Frame>

**Search "product"** and select:

* `unauthenticated_read_product_pickup_locations`
* `unauthenticated_read_product_inventory`
* `unauthenticated_read_product_listings`
* `unauthenticated_read_product_tags`

<Frame>
  <img src="https://mintcdn.com/readdy/WbH4-qfHJXAFHOMG/images/shopify-scope-product.png?fit=max&auto=format&n=WbH4-qfHJXAFHOMG&q=85&s=852adf17f21f669c082df030f07ce3d0" width="1532" height="1210" data-path="images/shopify-scope-product.png" />
</Frame>

**Search "selling"** and select:

* `unauthenticated_read_selling_plans`

<Frame>
  <img src="https://mintcdn.com/readdy/WbH4-qfHJXAFHOMG/images/shopify-scope-selling.png?fit=max&auto=format&n=WbH4-qfHJXAFHOMG&q=85&s=e71faed697e1b7eeea054a4f10b7a696" width="1528" height="1208" data-path="images/shopify-scope-selling.png" />
</Frame>

Click "**Done**" to save the scopes.

Next, you need to release a version of your app. Click "**Release**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-release.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=0bbbd77bcdb51439d4731c1ce31044db" width="1606" height="1580" data-path="images/shopify-release.png" />
</Frame>

Confirm the release in the popup.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-release-confirm.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=17ee88b0d7ce8bd5700e11995fa8a83f" width="1532" height="712" data-path="images/shopify-release-confirm.png" />
</Frame>

## 7. Get Client ID and Secret

After the release, go to the app's **Settings** page in the Developer Dashboard. You'll find your **Client ID** and **Client secret** displayed here. **Copy and save both values.**

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-credentials.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=3820663a52324eebd75b593c517627f5" width="3840" height="2162" data-path="images/shopify-credentials.png" />
</Frame>

## 8. Install the App

Go back to the Developer Dashboard **My app** page and click "**Install app**".

<Frame>
  <img src="https://mintcdn.com/readdy/dxjvBI7uk1VrCf3t/images/shopify-install-app.jpeg?fit=max&auto=format&n=dxjvBI7uk1VrCf3t&q=85&s=9a3c00ac94875508f43206ac92193301" width="3450" height="1604" data-path="images/shopify-install-app.jpeg" />
</Frame>

You'll be redirected to your store's homepage. Select your store to proceed.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-select-store.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=99ff424e67383162cb908f68aa35bc4c" width="1196" height="942" data-path="images/shopify-select-store.png" />
</Frame>

Review the permissions and click "**Install**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-review-install.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=005e27d78aa4314a3a7f40f4fbb9d771" width="3046" height="1258" data-path="images/shopify-review-install.png" />
</Frame>

Once the installation is complete, you'll see a success confirmation.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-install-success.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=7a5112ecee354f883fd35d4650779301" width="2810" height="1166" data-path="images/shopify-install-success.png" />
</Frame>

## 9. Connect Your Store in Readdy

Go back to Readdy's Shopify panel. Enter the **Store Domain** you saved earlier.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-enter-domain.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=288dcade0b97893d9db224359df469b5" width="3840" height="2142" data-path="images/shopify-enter-domain.png" />
</Frame>

Enter the **Client ID** and **Secret Key** you copied from the Developer Dashboard, then click "**Connect**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-enter-credentials.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=630d141de65d4b5bd676cf44d67e4ee0" width="3840" height="2142" data-path="images/shopify-enter-credentials.png" />
</Frame>

## 10. Connect Products to Your Website

Once the connection is established, follow the on-screen instructions to select the product section on the page displayed on the left.

<Tip>
  We recommend selecting the **entire product section** instead of individual elements like a single piece of text, one image, or other minor components within the product information.
</Tip>

Once you've made your selection, click "**Start to Connect Products**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-select-section.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=8395d6f72461c08d7de608ff484cfcbf" width="3834" height="2142" data-path="images/shopify-select-section.png" />
</Frame>

Within the panel, select the products you want to connect, then click "**Connect x Products**".

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-connect-products.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=2a52856b811199a343db0080b11b5ad2" width="3830" height="2142" data-path="images/shopify-connect-products.png" />
</Frame>

Wait briefly for the AI to connect your selected products to the page. After successful connection, when you edit the product information in Shopify (including product names, images, etc.), it will automatically sync to your Readdy page. Note that you'll need to refresh the page to see the updated information.

<Frame>
  <img src="https://mintcdn.com/readdy/gOAAvVY-r-BZvVPl/images/shopify-products-linked.png?fit=max&auto=format&n=gOAAvVY-r-BZvVPl&q=85&s=7c56a24bf8498c93b2977f4d496b2360" width="3836" height="2140" data-path="images/shopify-products-linked.png" />
</Frame>

## 11. Connect to Shopify Checkout

Once product connection is successful, you must establish the corresponding payment workflow to enable customer purchases on your website. Please follow these recommended procedures:

1. Begin by implementing the shopping cart functionality within your web project, ensuring all features operate correctly including: adding products to cart, removing cart items, enforcing stock quantity limits, accurate price calculations, and other essential cart operations.

2. Within the shopping cart interface, instruct the AI by saying "When the payment button is clicked, connect to my Shopify payment page." The AI will then generate the appropriate payment integration functionality.

3. Upon completion of the payment setup, thoroughly test the entire payment workflow to verify that products can be purchased without issues.

## 12. Tips

**Best Practices for Improving Product Connection Success:**

* **Proper Area Selection:** When selecting regions for product connection, choose complete product sections rather than individual elements such as isolated text, images, or buttons
* **Quantity Alignment:** Ensure the number of selected products matches the actual product count displayed on the page. To adjust quantities, first request the AI to modify the page display, then proceed with connection

**Troubleshooting Common Issues:**

* **Mock data persistence:** Use "Delete the mock data in the xxx area, keep the Shopify-connected data"
* **Incorrect product ordering:** Use "The product display order in the xxx area should be: ..."
* **Unwanted additional products:** Use "Remove the xxx product from the xxx area, keep the xxx product"
* **Missing product attributes:** Use "The page is missing the xxx attribute, connect the product's xxx attribute"
* **Shopify-pay page cannot be accessed:** Shopify payment pages cannot be accessed directly from Readdy's editor. Please use your project's share link to open the project, or publish your website first and visit your domain — the payment process will work correctly there.

## Need Help?

If this guide doesn't resolve your issue, [submit a support ticket](https://readdy.ai/feedback). We're here to help!
