> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/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.
</Warning>

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

<Steps>
  <Step title="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`.
  </Step>
</Steps>

## Get Your OneLogin Client Credentials

<Steps>
  <Step title="Log in to OneLogin Admin">
    Log in to your OneLogin Admin at `https://my-subdomain.onelogin.com/admin2`.
  </Step>

  <Step title="Navigate to API Credentials">
    Click Administration in the top right of OneLogin. Then click Developers > API Credentials in the main menu.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/onelogin/image1.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=1a5e9904389e1c1b5b0c6449381232b1" width="1103" height="279" data-path="images/onelogin/image1.png" />
    </Frame>
  </Step>

  <Step title="Create New Credential">
    In API Access, click the New Credential button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="New Credential" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/onelogin/image2.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=34bdb279d6b43ee626cd6dd2f973a5e6" width="1283" height="353" data-path="images/onelogin/image2.png" />
    </Frame>
  </Step>

  <Step title="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.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Credential Details" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/onelogin/image3.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=25ae25545bb53f1cb46d1c93f14a8c34" width="1283" height="375" data-path="images/onelogin/image3.png" />
    </Frame>
  </Step>

  <Step title="Copy Credentials">
    Copy your displayed Client ID and Client Secret and store them safely.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Copy Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/onelogin/image4.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=ce1f5171ea0b86af6d7f46b3b3269155" width="667" height="703" data-path="images/onelogin/image4.png" />
    </Frame>
  </Step>
</Steps>

## Connecting with StackOne

<Steps>
  <Step title="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>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Account" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/onelogin/image5.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=8667032df3dcc41bbd07585c2cefa2e9" width="663" height="529" data-path="images/onelogin/image5.png" />
    </Frame>
  </Step>

  <Step title="Connect">
    Proceed by clicking the Connect button.
  </Step>
</Steps>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

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

<Card title="API Reference" icon="link" href="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)
</Card>
