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

# OneLogin - How do I link my account?

# Overview

To authenticate with OneLogin using OAuth2 Client Credentials, you need:

1. **Subdomain** - Your OneLogin account subdomain.
2. **Client ID** - A unique identifier for your API Credential Pair.
3. **Client Secret** - A confidential key used to authenticate your API Credential Pair.

This guide will walk you through generating these credentials within OneLogin.

### Prerequisites:

* You must have a OneLogin account with administrator access.

### Instructions:

#### Step 1: Finding Your Subdomain

1. Log in to your OneLogin account.
2. Look at the browser’s address bar at the top of the page.
3. Your **Subdomain** is the value between `https://` and `.onelogin.com`. If you're logged in and the URL in your browser is: `https://acme.onelogin.com/portal`, your subdomain is `acme`.

#### Step 2: Generating API Credentials

1. Log in to your OneLogin Admin Console as an account owner or administrator.
2. Navigate to **Developers** > **API Credentials**.

<img src="https://mintcdn.com/nango-wari-migrated-bigcommerce-docs/UNc_QqZunWE61x7G/integrations/all/onelogin/api_credentials.png?fit=max&auto=format&n=UNc_QqZunWE61x7G&q=85&s=a41f27c0a32744c49c7b80f9491ee43d" width="1919" height="561" data-path="integrations/all/onelogin/api_credentials.png" />

3. On the API Access page, click the **New Credential** button in the top right.

<img src="https://mintcdn.com/nango-wari-migrated-bigcommerce-docs/UNc_QqZunWE61x7G/integrations/all/onelogin/new_credentials.png?fit=max&auto=format&n=UNc_QqZunWE61x7G&q=85&s=7c217ccf38893a7a6927979a29eb7dc3" width="1920" height="408" data-path="integrations/all/onelogin/new_credentials.png" />

4. Give your credentials a meaningful **Name**, select the appropriate **Scope** for your integration and click **Save** to generate your client credentials.

<img src="https://mintcdn.com/nango-wari-migrated-bigcommerce-docs/UNc_QqZunWE61x7G/integrations/all/onelogin/create_credentials_form.png?fit=max&auto=format&n=UNc_QqZunWE61x7G&q=85&s=7b70af1f558c5a21379b9d03f014f43d" width="1920" height="600" data-path="integrations/all/onelogin/create_credentials_form.png" />

<img src="https://mintcdn.com/nango-wari-migrated-bigcommerce-docs/UNc_QqZunWE61x7G/integrations/all/onelogin/generated_credentials.png?fit=max&auto=format&n=UNc_QqZunWE61x7G&q=85&s=6897cb115295ad075d6e6a2d620b60ba" width="1920" height="453" data-path="integrations/all/onelogin/generated_credentials.png" />

#### Step 3: Enter Credentials in the Connect UI

Once you have your **Subdomain**, **Client ID** and **Client Secret**:

1. Open the form where you need to authenticate with OneLogin.
2. Enter your **Subdomain**, **Client ID** and **Client Secret** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango-wari-migrated-bigcommerce-docs/UNc_QqZunWE61x7G/integrations/all/onelogin/form.png?fit=max&auto=format&n=UNc_QqZunWE61x7G&q=85&s=f7e3c862b17691bda04186328963254f" style={{maxWidth: "450px" }} width="499" height="699" data-path="integrations/all/onelogin/form.png" />

You are now connected to OneLogin.
