Skip to main content

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 for free.

Step 1: Create integration API credentials

  1. Log in to the Commerce Layer dashboard.
  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
  1. Click + New, then select the Integration card.
Commerce Layer Select type page with the Sales channel, Integration, and Webapp cards
  1. Enter a name, choose a role, then click Create.
Commerce Layer new integration form with Name and Role fields and the Create button
  1. 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

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 You are now connected to Commerce Layer.