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

# Shopify

## Creating a new App

Here are the step-by-step instructions for obtaining OAuth credentials for Shopify:

1. Install the [Headless](https://apps.shopify.com/headless) app on your existing Shopify store
2. On the next page, click on `Create storefront`
3. Click on `Manage` next to `Customer Account API`

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/Mu-tjFQVUvR9RrdN/images/shopify/shopify-customer-api-select.png?fit=max&auto=format&n=Mu-tjFQVUvR9RrdN&q=85&s=3f34f624a58e34233d3cb4fb06fe9414" width="1290" height="194" data-path="images/shopify/shopify-customer-api-select.png" />
</Frame>

4. Select `Confidential` under `Client Type` and click `Save`

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/Mu-tjFQVUvR9RrdN/images/shopify/shopify-select-client-type.png?fit=max&auto=format&n=Mu-tjFQVUvR9RrdN&q=85&s=ec7fd85d125d9565b22f7caaa545f345" width="1308" height="984" data-path="images/shopify/shopify-select-client-type.png" />
</Frame>

5. Under `Application setup` paste your "Redirect URL" (Redirect URL can be found in the [Dynamic dashboard](https://app.dynamic.xyz/dashboard/log-in-user-profile#social-shopify))
6. Copy and past the `Client ID` and `Client Secret` from `Customer Account API credentials` and paste it into "Set up Shopify Auth" Modal in the Dynamic Dashboard.

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/Mu-tjFQVUvR9RrdN/images/shopify/shopify-get-credentials.png?fit=max&auto=format&n=Mu-tjFQVUvR9RrdN&q=85&s=d1ace71a73456f3936e0358a5d50791c" width="1284" height="882" data-path="images/shopify/shopify-get-credentials.png" />
</Frame>

7. Find your shopify store ID under `Application Endpoints` in the `Authorization endpoint` URL and paste it into `Shopify Store ID` in the Dynamic Dashboard.

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/Mu-tjFQVUvR9RrdN/images/shopify/shopify-get-shop-id.png?fit=max&auto=format&n=Mu-tjFQVUvR9RrdN&q=85&s=ee9a1ddfc05265876d71db91401a51ad" width="1266" height="636" data-path="images/shopify/shopify-get-shop-id.png" />
</Frame>
