> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/profile.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=caf9d44a1cb8a2b2f40796c7d8f23d1f" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/stores.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=d9025e00915e645c58e4722b9d21fb33" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/develop_apps.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=76f54de66ac5f76d9b0dcce40366af24" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/create_app_modal.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=f09e26c357c525d5080bf24abf4e8c15" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/scopes.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=f6cd1513bc0338ebd7e94a7651270360" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/install_app.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=5e6d7b2ee221c3900f5024d93de01876" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/admin_api_access_token.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=97037f47044a5d02b63e4e473f0cf22a" 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-wari-migrated-bigcommerce-docs/CR_zovwKlY3JikWW/integrations/all/shopify-api-key/form.png?fit=max&auto=format&n=CR_zovwKlY3JikWW&q=85&s=d97aea2f9525ba66ea7b8f6251a5a18d" style={{maxWidth: "450px" }} width="998" height="1390" data-path="integrations/all/shopify-api-key/form.png" />

You are now connected to Shopify (api key).
