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

# Duo Auth

> The Duo Auth API allows adding strong two-factor authentication to your website or application.

## Creating a Duo Auth connection[​](#creating-a-duo-auth-connection "Direct link to Creating a Duo Auth connection")

## Using Secret Key[​](#using-secret-key "Direct link to Using Secret Key")

To create the connection you need:

* A Duo Auth Domain
* An Integration Key
* A Secret Key

### Obtaining the credentials[​](#obtaining-the-credentials "Direct link to Obtaining the credentials")

1. Log in to Duo's admin portal.

2. Navigate to **Application** > **Applications**.

   ![duo\_portal](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/Duo-portal.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=fc7ccbe45c247576ef9b3250df45e01d)

3. Click on **+ Protect an application**.

   ![duo\_protect](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/Duo-protect.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=99cb838eb290761ce9071b94d71865f6)

4. Search for the Auth API application, and click on **Protect**.

   ![duo\_protect\_auth](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/duo-auth-protect.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=e26c9294c450b921a69f1d8575744df4)

5. On the Auth application settings page, click on **Edit Global Policy**.

   ![duo\_admin\_permissions](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/duo-auth-policy.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=b8aa93c4156a0e5974e246502b5072b7)

6. On the **Authentication methods** section, choose the capabilities you want to enable on devices for authentication, and hit **Save Policy**.

   ![auth\_methods](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/auth_methods.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=8f6e75e8e12f58f5804cd49e8ed8c1c2)

   > [!NOTE]
   >
   > To enable capabilities that involve the **Duo Mobile** App (Duo push,
   > Verified Duo Push), you need to activate it. Follow the instructions on
   > [Duo's
   > documentation](https://duo.com/docs/administration-users#activating-duo-mobile)
   > to activate **Duo Mobile**.

7. Scroll up and copy the connection details.

   ![auth\_creds](https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Duo/auth_creds.png?fit=max\&auto=format\&n=CAgQojQeorlb2r8I\&q=85\&s=9608ceaa1b409a931bac336f60cc17f3)

### Creating your connection[​](#creating-your-connection "Direct link to 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 **Duo Auth** icon. A dialog box with name of the connection and connection methods appear.

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

4. Select **Secret Key** as the method to create the connection.

5. Fill in the parameters:

   * The Duo Auth Domain
   * The Integration Key
   * The Secret Key

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

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