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

# Connect Duo Security with API Key – StackOne Hub

> Link a Duo Security account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Duo Security actions.

> [!WARNING]
>
> Only users with the Owner role can create or modify Admin API applications in the Duo Admin Panel.

## Create an Admin API Application

To connect Duo with StackOne, create an Admin API application in the Duo Admin Panel.

**1. Sign in to Duo Admin Panel**

Sign in to your [Duo Admin Panel](https://admin.duosecurity.com).

**2. Open the Application Catalog**

In the left sidebar, click **Applications**, then under **Manage** select **Application Catalog**.

![Duo Admin Panel Applications menu open, showing Application Catalog under Manage](https://mintcdn.com/stackone-60/cODRIT3qJzgAa49Z/connectors/duo/images/hmac-config-applications-menu.png?fit=max\&auto=format\&n=cODRIT3qJzgAa49Z\&q=85\&s=a4e7d89cae7a9cf50e5f0ddc7ba1c1aa)

**3. Add the Admin API application**

In the **Application Catalog** search box, enter `Admin API`. On the **Admin API** card, click **+ Add**. Duo creates the application and opens its page.

![Duo Application Catalog filtered to Admin API, with the + Add button on the Admin API card](https://mintcdn.com/stackone-60/cODRIT3qJzgAa49Z/connectors/duo/images/hmac-config-application-catalog.png?fit=max\&auto=format\&n=cODRIT3qJzgAa49Z\&q=85\&s=03f596c974d2e0bb41d69f95c58de025)

**4. Configure Permissions**

On the same Admin API application page, scroll down to the **Settings** section. Under **Permissions**, select the checkboxes for the access you need, then save your changes at the bottom of the page.

<ul>
  <li>**Grant resource** > **Read** and **Write** for users, groups, phones, and hardware tokens</li>
  <li>**Grant administrators** > **Read** and **Write** for administrator management</li>
  <li>**Grant applications** for integration management</li>
  <li>**Grant settings** for account settings</li>
  <li>**Grant read log** for authentication, administrator, and telephony logs</li>
</ul>

![Admin API application Settings section showing the Permissions checkboxes](https://mintcdn.com/stackone-60/cODRIT3qJzgAa49Z/connectors/duo/images/hmac-config-permissions.png?fit=max\&auto=format\&n=cODRIT3qJzgAa49Z\&q=85\&s=0067749a8f58484bc8e921adc30b9bd7)

**5. Copy Credentials**

Scroll back to the top of the Admin API application page. The **Details** section shows the three values StackOne needs. Copy each one exactly as shown and store them securely.

<ul>
  <li>**Integration key**: starts with `DI`. Enter it in the StackOne **Integration Key** field.</li>
  <li>**Secret key**: click to reveal or copy it. Enter it in the StackOne **Secret Key** field.</li>
  <li>**API hostname**: in the format `api-XXXXXXXX.duosecurity.com`. Enter it as shown, without `https://`, in the StackOne **API Hostname** field.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


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