> ## 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`

![](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)

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

![](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)

5. Under `Application setup` paste your "Redirect URL" (Redirect URL can be found in the [Dynamic developer console](https://console.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 Developer Console.

![](https://mintcdn.com/dynamic-docs/Mu-tjFQVUvR9RrdN/images/shopify/shopify-get-credentials.png?fit=max\&auto=format\&n=Mu-tjFQVUvR9RrdN\&q=85\&s=d1ace71a73456f3936e0358a5d50791c)

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

![](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)


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