> ## 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 Persona with API Key – StackOne Hub

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

> [!WARNING]
>
> Creating an API key requires re-entering your Persona account password. If you sign in through Google, Okta, OneLogin, or SAML, ask an administrator who signs in with a password to create the key.

## Create an API key

Persona API keys are created per environment in the Persona Dashboard. A key carries its own permissions and authenticates every request StackOne makes.

**1. Select the environment**

Sign in to the [Persona Dashboard](https://app.withpersona.com/dashboard), then use the environment switcher at the top of the sidebar to choose the environment you are connecting.

<ul>
  <li>**Sandbox** runs on simulated data and performs no real verifications.</li>
  <li>A production environment performs real verifications and counts toward your usage.</li>
  <li>A key only works in the environment it was created in, so select the environment before creating it.</li>
</ul>

![The Persona Dashboard sidebar with the environment switcher highlighted, showing Sandbox and Simulated Data](https://mintcdn.com/stackone-60/ayEuwtbd9kTOYhW4/connectors/persona/images/api_key-config-select-environment.png?fit=max\&auto=format\&n=ayEuwtbd9kTOYhW4\&q=85\&s=cb50cecad6eedeb995fc0c1bd33b1488)

**2. Open the API keys page**

In the sidebar under **DEVELOPERS**, select **API**, then open the **Keys** tab.

![The Persona Dashboard sidebar with API highlighted under the DEVELOPERS section](https://mintcdn.com/stackone-60/ayEuwtbd9kTOYhW4/connectors/persona/images/api_key-config-open-api-page.png?fit=max\&auto=format\&n=ayEuwtbd9kTOYhW4\&q=85\&s=afe64844e3edc6d209b16cea1968d659)

**3. Create the key**

Click **+ Create API key** in the top right, then fill in the key details.

<ul>
  <li>**Name (required)**: `StackOne Integration`</li>
  <li>Click **Create**.</li>
  <li>Click **Create API key** to confirm.</li>
  <li>Enter your password when **Confirm your password** appears, then click **Confirm**.</li>
</ul>

![The Create API key dialog with the Name field and the Create button highlighted](https://mintcdn.com/stackone-60/ayEuwtbd9kTOYhW4/connectors/persona/images/api_key-config-create-key.png?fit=max\&auto=format\&n=ayEuwtbd9kTOYhW4\&q=85\&s=b0d01568eba8e1de8f8fae2274f4159e)

**4. Copy the key**

The new key appears in the **Keys** table. Click **Copy** on its row and paste the value into StackOne Hub.

<ul>
  <li>Persona shows the secret value once, right after the key is created.</li>
  <li>Keep your API keys secure. Unauthorized access to a key by a third party may expose personal data stored in Persona.</li>
</ul>

![The Keys table with a key's Value field and its Copy button highlighted](https://mintcdn.com/stackone-60/ayEuwtbd9kTOYhW4/connectors/persona/images/api_key-config-copy-key.png?fit=max\&auto=format\&n=ayEuwtbd9kTOYhW4\&q=85\&s=2e03b904f114d2198ab6b51edb1e51eb)

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

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/persona/guides/webhook-setup.md)
>
> Configure receiving Events for Persona into StackOne.


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