> For the complete documentation index, see [llms.txt](https://docs.letsmetrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.letsmetrix.com/get-started/connect-shopify-api/how-to-find-partner-id-and-api-key.md).

# How to Find Partner ID and API Key

#### Step 1: Open Connect Shopify API window from Letsmetrix

Go to <https://letsmetrix.com/>, and sign in. Click on your account name in the top right corner, and from the dropdown menu, select **My Partners**, and then click **Sync Partner Data** button.<br>

<figure><img src="/files/yNgLEJLchhZfet9xwncu" alt=""><figcaption></figcaption></figure>

This will open the **Add App ID from partner** window. Then, click the "+" button.&#x20;

<figure><img src="/files/FrOilHUqzKhIV3fsXmFx" alt="" width="375"><figcaption></figcaption></figure>

Now the **Connect Shopify API** window is open.

<figure><img src="/files/MJDnRvmNJtIQmqOJI4cR" alt="" width="350"><figcaption></figcaption></figure>

#### Step 2: Get Your Partner ID

You can find your Partner ID using one of two methods:&#x20;

* From the URL: After logging into your [Shopify Partner Dashboard](https://www.shopify.com/partners), your unique 7-digit Partner ID is visible in the URL search bar. For example: <mark style="color:blue;"><https://partners.shopify.com/1234567/></mark>.

<figure><img src="/files/A0Ab4xZGvU1vu0RgBa8P" alt="" width="375"><figcaption></figcaption></figure>

* From Settings: Navigate to the **Settings** page in your Partner Dashboard and find it in the **Account information** section.

<figure><img src="/files/sZVX36jMT36XjIH4PgEw" alt="" width="563"><figcaption></figcaption></figure>

#### Step 3: Get Your API Key

1. From your Partner Dashboard, go to the **Settings** page and find the **Partner API clients** section. Click **Manage Partner API** clients.

<figure><img src="/files/jEShFtz0AE21FP2bs779" alt="" width="563"><figcaption></figcaption></figure>

2. If you don't have an API client yet, click **Create API client**.

<figure><img src="/files/aE8rmtAUKegSzg7IQuVz" alt="" width="563"><figcaption></figcaption></figure>

Grant the following permissions to allow Letsmetrix to sync your data:

* View financials
* Manage apps
* Manage themes

<figure><img src="/files/K6rxY9rSSQLEXpJCY2nv" alt="" width="563"><figcaption></figcaption></figure>

Click **Save** on the top right corner to create the API client.

3. After the API client is created, you will find the **Access token** in the **Credentials** section. Click the symbol to copy this token, as it will serve as your API key.

<figure><img src="/files/UIRmZV8JBqaSuobNpNmX" alt="" width="563"><figcaption></figcaption></figure>

#### Step 4: Paste Partner ID and API Key in Letsmetrix&#x20;

Return to the Letsmetrix window you opened in Step 1. Paste the **Partner ID** and **API Key** (Access Token) into the corresponding fields and click **Connect Shopify API**.&#x20;

<figure><img src="/files/2NV61OQTDwOCRGOBNzM9" alt="" width="375"><figcaption></figcaption></figure>

That's it! You can now proceed to sync your individual apps.
