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

# Shopify (api key) - How do I link my account?

# Overview

To authenticate with Shopify, you will need:

1. **Shopify Domain** - The domain associated with your Shopify account.
2. **API Access Token** - The API access token generated after installing an app in your Shopify store.

This guide will walk you through finding your **Shopify Domain** and generating your **API Access Token** within Shopify.

### Prerequisites:

* You must have an account with Shopify.
* Custom app development must be activated in your Shopify admin account.

### Instructions:

#### Step 1: Finding your Shopify Domain

1. Sign in to your [Shopify](https://www.shopify.com/) account.
2. Your **Shopify Domain** is the text found after the URL of your store in the address bar. For example, in `https://admin.shopify.com/store/6nzh0y-y6`, the domain is `6nzh0y-y6`.
3. You can also click on your profile in the top right corner, then select **All Stores** to view the list of stores associated with your account.

<img src="https://mintcdn.com/nango/or5YGi1-bk6KsSds/integrations/all/shopify-api-key/profile.png?fit=max&auto=format&n=or5YGi1-bk6KsSds&q=85&s=f6947910b593932ad09e735bc7ba3ded" width="2154" height="872" data-path="integrations/all/shopify-api-key/profile.png" />

4. From the displayed list, your **Shopify Domain** is the value before `myshopify.com`.

<img src="https://mintcdn.com/nango/or5YGi1-bk6KsSds/integrations/all/shopify-api-key/stores.png?fit=max&auto=format&n=or5YGi1-bk6KsSds&q=85&s=5b17e5b4cbc5cbf4ec9b47293a4fea53" width="938" height="1254" data-path="integrations/all/shopify-api-key/stores.png" />

#### Step 2: Generating Your API Access Token

* After you've [activated custom app development](https://help.shopify.com/en/manual/apps/app-types/custom-apps#enable-custom-app-development), you can create and install a custom app in your Shopify admin.

1. From your Shopify admin, go to **Settings** > [Apps and sales channels](https://admin.shopify.com/settings/apps).
2. Click **Develop apps**.

<img src="https://mintcdn.com/nango/vu2nwoxonwu7Uu43/integrations/all/shopify-api-key/develop_apps.png?fit=max&auto=format&n=vu2nwoxonwu7Uu43&q=85&s=6f2d3a0486cd1b5c3c22582a8cd19962" width="2058" height="584" data-path="integrations/all/shopify-api-key/develop_apps.png" />

3. Click **Create a custom app**.
4. In the modal window, enter the **App name** and select an **App developer**. The app developer can be the store owner, or any staff or collaborator account with the **Develop apps** permission.

<img src="https://mintcdn.com/nango/vu2nwoxonwu7Uu43/integrations/all/shopify-api-key/create_app_modal.png?fit=max&auto=format&n=vu2nwoxonwu7Uu43&q=85&s=e7dbaa4fa161f55ce23f28bdd93faf76" width="1234" height="670" data-path="integrations/all/shopify-api-key/create_app_modal.png" />

5. Click **Create app**.

* After you create a custom app, you can assign API scopes to it. A custom app can have **Admin API** scopes, **Storefront API** scopes, or both, depending on the requirements of the app. You need to select at least one scope before you install the app.

6. In the **Overview** tab, select at least a single scope from either **Admin** or **Storefront** API scopes, or both, depending on the app's requirements.

<img src="https://mintcdn.com/nango/or5YGi1-bk6KsSds/integrations/all/shopify-api-key/scopes.png?fit=max&auto=format&n=or5YGi1-bk6KsSds&q=85&s=20320b2b4915d6ca07f156ee445cce35" width="2040" height="752" data-path="integrations/all/shopify-api-key/scopes.png" />

7. Click **Install app**.
8. In the modal window, click **Install**.

<img src="https://mintcdn.com/nango/vu2nwoxonwu7Uu43/integrations/all/shopify-api-key/install_app.png?fit=max&auto=format&n=vu2nwoxonwu7Uu43&q=85&s=479bc6e0a806b53fb76447c8455640c1" width="2040" height="752" data-path="integrations/all/shopify-api-key/install_app.png" />

9. Once your custom app is installed, your **API Access Token** will be generated.

<img src="https://mintcdn.com/nango/vu2nwoxonwu7Uu43/integrations/all/shopify-api-key/admin_api_access_token.png?fit=max&auto=format&n=vu2nwoxonwu7Uu43&q=85&s=2c3ef872517e64b00bdd00dd3ccd8f24" width="2040" height="980" data-path="integrations/all/shopify-api-key/admin_api_access_token.png" />

#### Step 3: Enter credentials in the Connect UI

Once you have your **Shopify Domain** and **API Access Token**:

1. Open the form where you need to authenticate with Shopify (api key).
2. Enter the **Shopify Domain** and **API Access Token** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/vu2nwoxonwu7Uu43/integrations/all/shopify-api-key/form.png?fit=max&auto=format&n=vu2nwoxonwu7Uu43&q=85&s=7402533d9c92f7d278ce91cc63fe6a09" style={{maxWidth: "450px" }} width="998" height="1390" data-path="integrations/all/shopify-api-key/form.png" />

You are now connected to Shopify (api key).
