> ## Documentation Index
> Fetch the complete documentation index at: https://hub.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OneLogin

> Follow these steps to connect OneLogin via the StackOne Hub successfully.

> [!WARNING]
>
> Ensure you have Admin privileges within your OneLogin account.

If you've been directed to StackOne to integrate with OneLogin, the following steps will help you understand the process and any necessary actions to configure successful integration.

This guidance assumes that you are an Account Owner or Administrator in OneLogin.

## Get Your OneLogin Subdomain

**1. Find Your Subdomain**

Your Subdomain is found in the URL when logged in to your [OneLogin account](https://app.onelogin.com).

Given the URL: `https://my-subdomain.onelogin.com/admin2`, the Subdomain is `my-subdomain`.

## Get Your OneLogin Client Credentials

**1. Log in to OneLogin Admin**

Log in to your OneLogin Admin at `https://my-subdomain.onelogin.com/admin2`.

**2. Navigate to API Credentials**

Click Administration in the top right of OneLogin. Then click Developers > API Credentials in the main menu.

![API Credentials](https://mintcdn.com/stackone-hub/_vrnUI8B2K_JB09R/images/onelogin/image1.png?fit=max\&auto=format\&n=_vrnUI8B2K_JB09R\&q=85\&s=5e3820684cc6146032b6f90a4075e6c7)

**3. Create New Credential**

In API Access, click the New Credential button.

![New Credential](https://mintcdn.com/stackone-hub/_vrnUI8B2K_JB09R/images/onelogin/image2.png?fit=max\&auto=format\&n=_vrnUI8B2K_JB09R\&q=85\&s=de650f9130850a3dc4783a787a697d56)

**4. Enter Credential Details**

Under Create new API credential, enter a Name and ensure that the Read users option is selected. Click the Save button to proceed.

![Credential Details](https://mintcdn.com/stackone-hub/_vrnUI8B2K_JB09R/images/onelogin/image3.png?fit=max\&auto=format\&n=_vrnUI8B2K_JB09R\&q=85\&s=e10c0645920ece91a28beedc8735ee6d)

**5. Copy Credentials**

Copy your displayed Client ID and Client Secret and store them safely.

![Copy Credentials](https://mintcdn.com/stackone-hub/_vrnUI8B2K_JB09R/images/onelogin/image4.png?fit=max\&auto=format\&n=_vrnUI8B2K_JB09R\&q=85\&s=7dabe0464b075980f36d3b609a51ea75)

## Connecting with StackOne

**1. Enter Credentials**

Upon reaching the Link Account page, enter the credentials from the previous steps:

<ul>
  <li>Subdomain</li>
  <li>Client ID</li>
  <li>Client Secret</li>
</ul>

![Link Account](https://mintcdn.com/stackone-hub/_vrnUI8B2K_JB09R/images/onelogin/image5.png?fit=max\&auto=format\&n=_vrnUI8B2K_JB09R\&q=85\&s=9245e902748d715e05a06edf9976dfc0)

**2. Connect**

Proceed by clicking the Connect button.

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
  <li>Groups</li>
</ul>

## Useful Links

> **[API Reference](https://developers.onelogin.com/api-docs/2/getting-started/working-with-api-credentials)**
>
> [https://developers.onelogin.com/api-docs/2/getting-started/working-with-api-credentials](https://developers.onelogin.com/api-docs/2/getting-started/working-with-api-credentials)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.