# Shopify authentication

> Connect UiPath to Shopify by providing a store access token and store name via Public Key Infrastructure authentication.

## Prerequisites

To create a connection, you need the following credentials:

* Access token
* Store name

The connector uses Public Key Infrastructure (PKI) authentication.

## Retrieve your credentials

### How to retrieve your API token

1. Access your Shopify admin account and go to **Settings**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363215-9af598fc.webp)
2. Go to **Apps and sales channels** and select **Develop apps**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363211-eab674eb.webp)
3. Next, secret **Create an app**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363203-30c7462b.webp)
4. Select **Configure Admin API Scopes**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363199-22df125b.webp)

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363195-d4e459f5.webp)
5. Configure all the required scopes, then select **Save**.
6. Next, select **Install app**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363191-59878898.webp)
7. In the app page, go to the **API Credentials** tab and select **Reveal token**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363187-aa35a0c3.webp)
8. Use the API token to set up your connection.

## Scopes

The UiPath for Shopify connector requires the following scopes:

`write_customers` `read_customers` `write_inventory` `read_inventory` `read_all_orders` `read_locations` `write_orders` `read_orders` `write_products` `read_products`

## Add the Shopify connection

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Enter the required credentials.

   Where available, select the menu next to a field and choose **Use credential asset** or **Use Orchestrator asset** to reference an Orchestrator asset instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-363183-d01ded67.webp)
6. Select **Connect**.
