> ## Documentation Index
> Fetch the complete documentation index at: https://www.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-testing/duI3BEML43E_Xi7b/images/shopify/shopify-customer-api-select.png?fit=max&auto=format&n=duI3BEML43E_Xi7b&q=85&s=5cd703db7a22a5f1d50d2fbd295663ce" 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-testing/duI3BEML43E_Xi7b/images/shopify/shopify-select-client-type.png?fit=max&auto=format&n=duI3BEML43E_Xi7b&q=85&s=5665b190ecee84573fcf4f34e402acf9" 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-testing/duI3BEML43E_Xi7b/images/shopify/shopify-get-credentials.png?fit=max&auto=format&n=duI3BEML43E_Xi7b&q=85&s=001bed9efeb4432bf13cea0fa26067cc" 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-testing/duI3BEML43E_Xi7b/images/shopify/shopify-get-shop-id.png?fit=max&auto=format&n=duI3BEML43E_Xi7b&q=85&s=4c597a17f10931b1b3d9f4da46974ba5" width="1266" height="636" data-path="images/shopify/shopify-get-shop-id.png" />
</Frame>
