> ## 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 Onfido with API Token – StackOne Hub

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

## Choose your region

Onfido stores each account in one region, and credentials only work against that region. Select it under **Region**.

<ul>
  <li>EU: tokens start with `api_live.` or `api_sandbox.`</li>
  <li>US: tokens start with `api_live_us.` or `api_sandbox_us.`</li>
  <li>Canada: tokens start with `api_live_ca.` or `api_sandbox_ca.`</li>
</ul>

## Generate an API token

Create an API token in the Onfido Dashboard.

**1. Open the API tokens**

Sign in to your [Onfido Dashboard](https://dashboard.onfido.com/), then go to **Developers** > **API authentication** and open the **Tokens** tab.

**2. Generate the token**

Create a token for the environment you want to connect.

<ul>
  <li>Select **Generate API token**.</li>
  <li>Choose **Sandbox** or **Live**.</li>
  <li>Click **Generate**.</li>
  <li>Copy the **API Token** across.</li>
  <li>Sandbox tokens start with `api_sandbox`, live tokens with `api_live`.</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.