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

# Okta

> Okta provides cloud software that helps companies manage and secure user authentication into applications, and for developers to build identity controls into applications, website web services and devices.

## Creating an Okta connection

To create the connection you need:

* An API token
* An API address

### Obtaining the credentials

1. Sign in to your Okta organization as a user with [administrator privileges](https://help.okta.com/okta_help.htm?id=ext_Security_Administrators).

   API tokens have the same permissions as the user who creates them, and if the user permissions change, the API token permissions also change.

2. Click **Admin** in the top right corner to go to the Admin Console.

   <img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/Okta/Untitled.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=d460bb29b08f8451c33e6dbe5194d6b3" alt="Untitled" width="2559" height="371" data-path="img/Okta/Untitled.png" />

3. In the Admin Console, select **Security** > **API** > **Tokens**.

   <img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/Okta/Untitled1.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=5d676f581d26c9450eea8f8c47373714" alt="Untitled" width="2559" height="1226" data-path="img/Okta/Untitled1.png" />

   <img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/Okta/Untitled2.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=6877b30433294f9c577eed042b8ed025" alt="Untitled" width="2559" height="1015" data-path="img/Okta/Untitled2.png" />

4. Click **Create Token**.

   <img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/Okta/Untitled3.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=24e140e3204786ab40a820725fe8d683" alt="Untitled" width="1044" height="702" data-path="img/Okta/Untitled3.png" />

5. Name your token and click **Create Token**.

   <img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/Okta/Untitled4.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=0d519e94fa7744519c8cf62e95a16b59" alt="Untitled" width="497" height="290" data-path="img/Okta/Untitled4.png" />

6. Copy and save the token. This is the only opportunity to see it and save it.

## Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **Okta** icon. A dialog box with name of the connection and connection methods appears.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **API Token** as the method to make the connection.

5. Fill in the parameters:

   * The API token
   * The API address

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.

<Info>
  Token expiration and deactivation:

  Tokens expire automatically after a certain period and can also be deactivated at any time.

  * Token expiration: Tokens are valid for 30 days from creation or last use, so that the 30-day expiration automatically refreshes with each API call. Tokens that are not used for 30 days expire. The 30-day period is currently fixed and cannot be changed for your organization.

  * Token deactivation: If a user account is deactivated in Okta, any API token created by that user account is deprovisioned at the same time.
</Info>
