Overview
To authenticate with Commerce Layer, you need:- Client ID and Client Secret — the credentials of a Commerce Layer integration.
- Organization subdomain — the unique subdomain of your Commerce Layer organization.
Prerequisites
- A Commerce Layer account with an organization. You can sign up for free.
Step 1: Create integration API credentials
- Log in to the Commerce Layer dashboard.
- In the left navigation, open the Developers dropdown and click API credentials.

- Click + New, then select the Integration card.

- Enter a name, choose a role, then click Create.

- On the integration’s details page, copy the Client ID and Client secret.

Step 2: Find your organization subdomain
On the same details page, the Core API endpoint has the formhttps://<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
- Open the form where you need to authenticate with Commerce Layer.
- Enter your Organization Subdomain, Client ID, and Client Secret.
- Submit the form. Nango requests an access token with your credentials, so wrong credentials are rejected.
