> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/profile.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=71540f583b3aac760ff5f968add6ab46" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/stores.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=40f06c938b3a9ec64560ff449ec23f95" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/develop_apps.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=229210df865d7fd747ed74541d5a8b58" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/create_app_modal.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=3e9db26137c2a6ed7f23970d42fdcc4d" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/scopes.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=cb3996b87d68e7c40fd9429fd6aa40d5" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/install_app.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=0d88ce8d19a4b28f314135ed25cb55b7" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/admin_api_access_token.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=788626aa4a678d6b665a7dd080083985" 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-integration-config-credentials-api/TSD4x0bu0JKRP5Pn/integrations/all/shopify-api-key/form.png?fit=max&auto=format&n=TSD4x0bu0JKRP5Pn&q=85&s=698fd7af0ec88a7dd8b1e4dca2b6d10b" style={{maxWidth: "450px" }} width="998" height="1390" data-path="integrations/all/shopify-api-key/form.png" />

You are now connected to Shopify (api key).
