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

# Commerce Layer - How do I link my account?

## Overview

To authenticate with Commerce Layer, you need:

1. **Client ID** and **Client Secret** — the credentials of a Commerce Layer integration.
2. **Organization subdomain** — the unique subdomain of your Commerce Layer organization.

This guide will show you how to get them.

### Prerequisites

* A Commerce Layer account with an organization. You can [sign up](https://dashboard.commercelayer.io/sign_up) for free.

### Step 1: Create integration API credentials

1. Log in to the [Commerce Layer dashboard](https://dashboard.commercelayer.io).
2. In the left navigation, open the **Developers** dropdown and click **API credentials**.

![Commerce Layer dashboard with the API credentials page under the Developers dropdown](https://mintcdn.com/nango/grB00LDVZuJFqfSw/api-integrations/commerce-layer/developers_api_credentials.png?fit=max\&auto=format\&n=grB00LDVZuJFqfSw\&q=85\&s=44e98a79f723ec8ba788c4e5df0fc5c9)

3. Click **+ New**, then select the **Integration** card.

![Commerce Layer Select type page with the Sales channel, Integration, and Webapp cards](https://mintcdn.com/nango/grB00LDVZuJFqfSw/api-integrations/commerce-layer/select_integration_type.png?fit=max\&auto=format\&n=grB00LDVZuJFqfSw\&q=85\&s=98cbd0f40b95d6f7cb6484ca443318e5)

4. Enter a name, choose a role, then click **Create**.

![Commerce Layer new integration form with Name and Role fields and the Create button](https://mintcdn.com/nango/grB00LDVZuJFqfSw/api-integrations/commerce-layer/new_integration_form.png?fit=max\&auto=format\&n=grB00LDVZuJFqfSw\&q=85\&s=222fa37e84e30cbbb400169be519465a)

5. On the integration's details page, copy the **Client ID** and **Client secret**.

![Commerce Layer integration details page with the Client ID, Client secret, and Core API endpoint](https://mintcdn.com/nango/grB00LDVZuJFqfSw/api-integrations/commerce-layer/integration_credentials_created.png?fit=max\&auto=format\&n=grB00LDVZuJFqfSw\&q=85\&s=b37a9e888113c9663a095b379ff5d3f6)

### Step 2: Find your organization subdomain

On the same details page, the **Core API endpoint** has the form `https://<subdomain>.commercelayer.io`. Your organization subdomain is the part before `.commercelayer.io`.

For example, if your Core API endpoint is `https://my-company.commercelayer.io`, your subdomain is `my-company`.

### Step 3: Enter your credentials in the Connect UI

1. Open the form where you need to authenticate with Commerce Layer.
2. Enter your **Organization Subdomain**, **Client ID**, and **Client Secret**.
3. Submit the form. Nango requests an access token with your credentials, so wrong credentials are rejected.

![Nango Connect UI form with Organization Subdomain, Client ID, and Client Secret fields](https://mintcdn.com/nango/grB00LDVZuJFqfSw/api-integrations/commerce-layer/form.png?fit=max\&auto=format\&n=grB00LDVZuJFqfSw\&q=85\&s=875d553cf2c6610cfe314f334dab3faa)

You are now connected to Commerce Layer.


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