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

# Configuring the Shopify Action

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

Connect Shopify to find information about customers, products, and orders. See [Shopify Documentation](https://www.shopify.com/in/blog/topics/guides) for more information.

***

## Authorizations Supported

The Platform supports basic authentication for Shopify. See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles) for details.

| Authorization Type | Basic Auth |
| - | - |
| Pre-authorize the Integration | Yes |
| Allow Users to Authorize the Integration | Yes |

***

## Step 1: Enable the Shopify Action

**Prerequisites:**

* Create a custom app in the Shopify admin page.
* Authenticate the custom app by installing it.
* Generate API credentials and access tokens. See [Shopify custom apps](https://help.shopify.com/en/manual/apps/app-types/custom-apps).
* Configure the app with the following scopes:
  * `read_orders`
  * `read_products`
  * `read_customers`
* Copy the **Admin API access token** and **Domain** from Shopify.

**Steps:**

1. Go to **App Settings** > **Integrations** > **Actions**.
2. Select **Shopify**.

### Pre-authorize the Integration

**Basic Auth**

1. Go to **App Settings** > **Integrations** > **Actions** and select **Shopify**.

2. In **Configurations**, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   ![Auth type - Basic auth](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img2.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=092d9367376fcf339e4e39050ade5ac9)

4. Enter the following details:
   * **User Sub Domain** - The domain name of the Shopify account.
   * **API Key** - The secret API key of your Shopify account.

5. Click **Enable**. The **Integration Successful** pop-up is displayed.

   ![Integration successful](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img3.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=71f94df4de3b1f76b6b8368d0634ed4e)

> [!NOTE]
>
> The Shopify action moves from **Available** to **Configured** after enabling.

### Allow End User to Authorize

1. Go to **App Settings** > **Integrations** > **Actions** and select **Shopify**.

2. In **Configurations**, select the **Authorization** tab.

3. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

4. Click **Select Authorization** > **Create New**.

   ![Create new authorization](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img4.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=f73baeb4f902dcd252a854e3b758a723)

5. Select **API Key** as the authorization mechanism. See [App Authorization Overview](https://koreai.mintlify.site/ai-for-service/app-settings.md#authorization-profiles).

6. Enter the following credentials:

   * **Name** - Name for the Basic Auth profile.
   * **Base URL** - Base tenant URL for the Shopify instance.
   * **Authorization Check URL** - Authorization check URL for your Shopify instance.
   * **Description** - Description of the profile.
   * Click **Save Auth** to save the profile.

   ![Auth profile](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img5.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=8e29df03f144deaabf3adefd0c61bc26)

7. Select the new **Authorization Profile**.

8. Click **Enable**.

***

## Step 2: Install the Shopify Action Templates

1. On the **Integration Successful** dialog, click **Explore Templates**.

   ![Explore templates](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img6.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=da13222ba254aaed01b97818a739455b)

   You can also click **Skip for Now** to install templates later.

   ![Skip for now](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img7.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=d5ce933cc3669b14a9cd2e3610716b45)

2. Click **Install** to begin installation.

   ![Begin installation](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img8.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=5a714fdf03a293ef27c2f2e79f99015a)

3. Once installed, click **Go to Dialog**. A dialog task for each template is auto-created.

4. Select the desired dialog task and click **Proceed**.

   ![Select desired dialog task and proceed](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img9.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=0f0cb8ac861f12eb8395df0c3c1a8082)

5. The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.

   ![Canvas for dialog task](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-action-img10.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=07612edd48ceeac17e9cc3373b87ff60)


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