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

# Auth0 (Client Credentials) - How do I link my account?

# Overview

To authenticate with Auth0 (Client Credentials), you need one key piece of information:

1. **Client ID** - A unique identifier for your client.
2. **Client Secret** - A confidential key used to authenticate the identity of the application (client).
3. **HostName** - The domain associated with your Auth0 tenant.
4. **Audience** - The audience for the token, which is your API.
5. **Organization** - The organization name or identifier you want the request to be associated with.

This guide will walk you through finding or generating these credentials within Auth0.

### Prerequisites:

* You must have an Auth0 account.

#### Step 1: Finding Your Client Credentials

1. Log in to your [Auth0](https://auth0.com/docs/authenticate/login) account.
2. Navigate to the [Application's Settings](https://manage.auth0.com/?_gl=1*1shsko2*_gcl_au*MzYwMDE4ODE4LjE3NDU5OTY3NDA.*_ga*NTkyOTQ4NzA5LjE3NDU5OTY3NDE.*_ga_QKMSDV5369*MTc0NTk5Njc0MC4xLjEuMTc0NTk5OTI5My42MC4wLjA.#/applications) page.
3. Click the **Create Application** button.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/create_app.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=27aa463a9871c73171c97a8e779e2e94" width="3024" height="1330" data-path="integrations/all/auth0-cc/create_app.png" />

4. Add a unique name for your application and select **Machine to Machine Applications**

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/create_app_form.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=5ede81241ca76213f27972334c1ffd73" width="1602" height="1446" data-path="integrations/all/auth0-cc/create_app_form.png" />

5. From the dropdown menu, choose the API you wish to authorize for invocation by your application, and select the required **Permissions**.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/permissions.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=41bd0885ec0d68f0d0988a8f106e4684" width="1602" height="1260" data-path="integrations/all/auth0-cc/permissions.png" />

6. Click **Authorize** to create your new application.
7. On the Application page, navigate to the **Credentials** section. Your **Client Secret** will be displayed here, and the **Client ID** can be found at the top of the page.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/credentials.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=7d6c1d8c0f36833c19f51edd83452aa8" width="2110" height="1426" data-path="integrations/all/auth0-cc/credentials.png" />

#### Step 2: Finding Your HostName

* From the **Quickstart** tab of your newly created application, Auth0 provides an example request for obtaining an access token. Your **HostName** is the text that appears after `https://` and before `/oauth/token`.
* In the example below, the HostName is `dev-tb1x5mahjyey84y4.us.auth0.com`.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/domain.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=3b3ab2026ae101e8dceab60d45876fa5" width="2030" height="1024" data-path="integrations/all/auth0-cc/domain.png" />

#### Step 3: Finding Your Audience

* You can find this in the **Identifier** field of your newly created application under the **APIs** tab.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/audience.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=982fa25b7da6f7c1d4d37da90f2a24ff" width="2110" height="936" data-path="integrations/all/auth0-cc/audience.png" />

#### Step 4: Finding Your Organization

* <Tip>This is optional and can be obtained from the **Organizations** page of your newly created application if your tenant is configured to use **Organizations**.</Tip>

#### Step 5: Enter credentials in the Connect UI

Once you have your **Client ID**, **Client Secret**,**HostName**, **Audience** and **Organization**:

1. Open the form where you need to authenticate with Auth0 (Client Credentials).
2. Enter your **Client ID**, **Client Secret**, **HostName**, **Audience** and **Organization** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/UE5P_t6Tqhl3q1Vr/integrations/all/auth0-cc/form.png?fit=max&auto=format&n=UE5P_t6Tqhl3q1Vr&q=85&s=8d492118c9b5550e6004e8c11ebc08e3" style={{maxWidth: "450px" }} width="1000" height="1384" data-path="integrations/all/auth0-cc/form.png" />

You are now connected to Auth0 (Client Credentials).
