> ## 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.

# SHOPLINE - How do I link my account?

## Overview

SHOPLINE lets merchants generate a static access token directly from their store admin, without going through an OAuth flow. You need two things to connect: your store's **handle** and an **access token**.

### Instructions

#### Step 1: Finding your store handle

Your store handle is the first part of your SHOPLINE store's domain. For example, if your store is at `open001.myshopline.com`, your handle is `open001`.

#### Step 2: Generating an access token

1. In your SHOPLINE admin, go to **Apps** -> **Develop apps** and create a new app (name, developer, contact email).

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/_f7xrAlwoDbVM4Uj/api-integrations/shopline/create_app.png?fit=max&auto=format&n=_f7xrAlwoDbVM4Uj&q=85&s=26bc39669b6a0921f3b842745d40d9fe" width="3024" height="1332" data-path="api-integrations/shopline/create_app.png" />

2. Open the app, click **Edit**, and assign the Backend API permissions your integration needs.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/_f7xrAlwoDbVM4Uj/api-integrations/shopline/list_app.png?fit=max&auto=format&n=_f7xrAlwoDbVM4Uj&q=85&s=b352f160fbd15aad3afbf005f1bb3c67" width="3024" height="1010" data-path="api-integrations/shopline/list_app.png" />

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/_f7xrAlwoDbVM4Uj/api-integrations/shopline/permissions.png?fit=max&auto=format&n=_f7xrAlwoDbVM4Uj&q=85&s=3168f377270dfd718a888b4ca7e46785" width="3024" height="1010" data-path="api-integrations/shopline/permissions.png" />

3. Go to the **API Certificate** tab and click **Install App**.

4. Once installed, view the **Access Token**. SHOPLINE emails a verification code to your login email — enter it to reveal and copy the token.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/_f7xrAlwoDbVM4Uj/api-integrations/shopline/generate_token.png?fit=max&auto=format&n=_f7xrAlwoDbVM4Uj&q=85&s=dd2d36eac6b78cef5194d58f7588ec19" width="3024" height="890" data-path="api-integrations/shopline/generate_token.png" />

<Note>
  The access token is valid for 3 years. Once it expires, you'll need to generate a new one and reauthorize the connection.
</Note>

#### Step 3: Authorize SHOPLINE

1. Open the form where you need to authenticate with SHOPLINE.
2. Enter your **Store Handle** and paste your **Access Token**.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/_f7xrAlwoDbVM4Uj/api-integrations/shopline/form.png?fit=max&auto=format&n=_f7xrAlwoDbVM4Uj&q=85&s=cf302ccbb969b9b4150f05d098067194" style={{maxWidth: "450px" }} width="1004" height="1314" data-path="api-integrations/shopline/form.png" />

You are now connected to SHOPLINE.
