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

# Shopify

> The Shopify platform offers online retailers a suite of services including payments, marketing, shipping and customer engagement tools.

## Creating a Shopify connection

### Using API Token

To create the connection you need:

* An API Address
* An API Token

#### Obtaining the credentials

1. From your store admin page, click **Apps and sales channels**.

<img src="https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Shopify/img.png?fit=max&auto=format&n=yuv0j7RWJFirVOzo&q=85&s=b22edead8d132398a6d05c836d1d2ea5" alt="Untitled" width="1245" height="823" data-path="img/Shopify/img.png" />

2. Click **Develop apps for your store**.

<img src="https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Shopify/img_1.png?fit=max&auto=format&n=yuv0j7RWJFirVOzo&q=85&s=02c25929b2f944b987f6173c142aa527" alt="Untitled" width="1215" height="849" data-path="img/Shopify/img_1.png" />

3. Select **Allow custom app development**.

<img src="https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Shopify/img_2.png?fit=max&auto=format&n=yuv0j7RWJFirVOzo&q=85&s=a38564477245c3b03dd61f398cf89105" alt="Untitled" width="915" height="666" data-path="img/Shopify/img_2.png" />

4. Confirm that you wish to **Allow custom app development**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_3.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=5c069b47211782b9439caf8c118eb00d" alt="Untitled" width="915" height="666" data-path="img/Shopify/img_3.png" />

5. Click **Create an app**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_4.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=81707387b674ddc368cca8a94619a934" alt="Untitled" width="915" height="666" data-path="img/Shopify/img_4.png" />

6. Name your app. (i.e., **Blink Integration**) > **Create App**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_5.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=a14bae7a27b50e8d59fc472e4d981bd5" alt="Untitled" width="675" height="428" data-path="img/Shopify/img_5.png" />

7. On the app's dashboard, select **Configure Admin API scopes**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_6.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=7c5a7ee082543a229e6e4c8829de605b" alt="Untitled" width="875" height="529" data-path="img/Shopify/img_6.png" />

8. When prompted to configure *Admin API access scopes*, make sure to select the scopes `read_customers` and `write_customers`. **Save** your selections. If you only wish to search for customers, you only need the `read_customers` scope.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_7.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=380b87ac9eae10549f383c0b1bca2148" alt="Untitled" width="895" height="866" data-path="img/Shopify/img_7.png" />

9. Click the **API credentials** tab near the top.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_7_2.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=30a47dffb7b9afd6b32a274a3f1e90d2" alt="Untitled" width="895" height="866" data-path="img/Shopify/img_7_2.png" />

10. Click **Install app**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_8.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=79bf870111dbdf170560675149546212" alt="Untitled" width="895" height="586" data-path="img/Shopify/img_8.png" />

11. Confirm the installation by pressing **Install**.

<img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/Shopify/img_9.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=992198d01da9a1de250d49c433dbd9ed" alt="Untitled" width="764" height="423" data-path="img/Shopify/img_9.png" />

12. It should now display a new section called *Admin API access token*. Press **Reveal token once** and save the access token in a secure location.

<img src="https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Shopify/img_10.png?fit=max&auto=format&n=yuv0j7RWJFirVOzo&q=85&s=c920e5fab3fb6b47a6939355168c82a7" alt="Untitled" width="645" height="366" data-path="img/Shopify/img_10.png" />

#### Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **Shopify** icon. A dialog box with name of the connection and connection methods appears.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **API Token** as the method to create the connection.

5. Fill in the parameters:

* The full URL to your store in the format `https://<your-store>.myshopify.com`.
* The Admin API access token.

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.
