# How to Connect to OneLogin

To create a connection with OneLogin, you need to complete the following steps:

1. [Create API Credentials in OneLogin](#1-create-api-credentials-in-onelogin)
2. [Configure in Apideck Vault](#2-configure-in-apideck-vault)

## 1. Create API Credentials in OneLogin


-  Log in to your **OneLogin Admin Console** at [https://onelogin.com](https://onelogin.com)

-  Navigate to **Developers > API Credentials**

   ![OneLogin Developer API Credentials](https://res.cloudinary.com/apideck/image/upload/v1760969534/docs/connectors/one-login/developer-api-credentials.png)

- Click **New Credential**

   ![OneLogin Generate Credentials](https://res.cloudinary.com/apideck/image/upload/v1760970022/docs/connectors/one-login/generate-credentials.png)

- Enter a descriptive name (e.g., `Apideck`)

- Under **Scopes**, select the permissions your integration needs:
   - **Read All** - for read-only access
   - **Manage All** - for full access

   ![OneLogin Permissions](https://res.cloudinary.com/apideck/image/upload/v1760969534/docs/connectors/one-login/permissions.png)

- Click **Save**
-  Copy the generated **Client ID** and **Client Secret** - store them securely

   ![OneLogin Copy Credentials](https://res.cloudinary.com/apideck/image/upload/v1760969531/docs/connectors/one-login/copy-credentials.png)

---

###  Find Your Subdomain

Your OneLogin subdomain is the first part of your OneLogin URL. For example, if your OneLogin URL is `https://acme.onelogin.com`, then your subdomain is `acme`.

You can find this in your browser's address bar when logged into OneLogin.

## 2. Configure in Apideck Vault

Now that you've successfully created your credentials, you can add them in Vault and authorize the connection.

- Enter the following credentials to setup the connection:

   - **Subdomain** - Your OneLogin subdomain (e.g., `acme` for `acme.onelogin.com`)
   - **Client ID** - The Client ID you copied from OneLogin
   - **Client Secret** - The Client Secret you copied from OneLogin

   ![OneLogin Vault Configuration](https://res.cloudinary.com/apideck/image/upload/v1760969533/docs/connectors/one-login/vault.png)

- Click **Save** then **Authorize**

Your OneLogin account is now connected 🎉.
