# Okta

> Source: https://truto.one/docs/integration-guides/okta/

## Install Okta integration

The Okta integration can be found [here](https://app.truto.one/integrations/available/3d3b8b94-df11-4a75-85b5-153255a3a467). Please install it in your environments before proceeding with the steps below.

## Connecting a Okta account
---
:::callout{type="warning"}
- `Admin` or `Super Admin` role is required to use this API
:::
1. Click on **Connect Account**
   ![Click connect account](https://docs-assets.truto.one/truto-connect-account.png)

2. Type in a value for the Tenant ID. This can be any ID of your choosing. And then click on **Get connection link**
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)

3. A new link will be generated. Clicking on the link will open a new tab with the list of integrations. You can share this link with your customers too, and they will be able to connect their Okta account.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)

4. Select Okta
   ![Select Okta](https://docs-assets.truto.one/select-okta.png)

### Finding your Okta Subdomain and API Key

1. You'll now be prompted to add the `Okta Subdomain`. Find the Okta Subdomain by signing in to your Okta account in your browser as shown in the image below.
  ![Enter Subdomain from Okta](https://docs-assets.truto.one/url-okta.png)
2. To find API Key, Sign in to your Okta organization as a user with administrator privileges.
3. In the `Admin Console`, select `Security` > `API` from the menu and then select the `Tokens` tab.
4. Click `Create Token`.
5. Name your token and click `Create Token`.
6. Now copy the `Token` and enter it in Truto. Click `Connect`.
---

6. _Voila!_ You should now see a connection successful message. You can now close this tab.

7. Go to your Truto account, and you should see the new Okta integration under **Integrated Accounts**. Click on the Account ID to view the details and initiate API calls.
