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

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

## Create an app token

Sumsub app tokens work only in the mode they were created in, Sandbox or Production, so create the token in the mode you want to connect.

**1. Choose the mode**

Sign in to the [Sumsub Dashboard](https://cockpit.sumsub.com), then open **Dev space** > **App tokens**.

<ul>
  <li>Turn on the **Production** toggle to create a production token, or leave it off to create a Sandbox token.</li>
</ul>

![The App tokens page with the Production toggle highlighted](https://mintcdn.com/stackone-60/6TOHNGHOd4x2T_s6/connectors/sumsub/images/api_key-config-app-tokens-mode.png?fit=max\&auto=format\&n=6TOHNGHOd4x2T_s6\&q=85\&s=e18ca4e36d6a6ca78e0512aab69e9645)

**2. Name the token**

Click **Generate app token**.

<ul>
  <li>**Name**: `StackOne Integration`</li>
  <li>**Whitelisted IPs**: **All addresses**</li>
  <li>Check that the notice at the top reads **You are creating a token in** followed by the mode you chose.</li>
</ul>

![The Generate app token form with the Name field and the Sandbox notice highlighted](https://mintcdn.com/stackone-60/6TOHNGHOd4x2T_s6/connectors/sumsub/images/api_key-config-generate-token-form.png?fit=max\&auto=format\&n=6TOHNGHOd4x2T_s6\&q=85\&s=d5e695040f26d67a9a876a96186220d9)

**3. Select the permissions**

Under **Selected permissions**, enable the permissions for the actions you plan to use. App tokens cannot be edited after creation.

<ul>
  <li>To grant every permission, click **Select all**.</li>
  <li>Applicants: **Create applicants**, **View applicants**, **View applicant’s personal data**, **View applicant’s images in personal data**, **Change applicant’s personal data**</li>
  <li>Review: **Moderate applicants**, **Reset applicants**, **Deactivate applicants**, **Blocklist applicants**, **Change verification level**, **Create verification requests**</li>
  <li>Notes and tags: **Manage applicant notes**, **View applicant notes**, **Manage applicant tags**</li>
  <li>Checks and AML: **View check results**, **Manage check results**, **View AML screening**, **Manage AML screening**</li>
  <li>Click **Generate app token**.</li>
</ul>

![The permissions list with the Select all button and the permission search highlighted](https://mintcdn.com/stackone-60/6TOHNGHOd4x2T_s6/connectors/sumsub/images/api_key-config-token-permissions.png?fit=max\&auto=format\&n=6TOHNGHOd4x2T_s6\&q=85\&s=3e9e525f3dabf4ca89379744baf8f52c)

**4. Copy the token and secret key**

The token and secret key are only displayed once and cannot be retrieved later.

<ul>
  <li>Copy the **Token** across to **App Token**.</li>
  <li>Copy the **Secret key** across.</li>
  <li>Click **I've saved app token and key securely**.</li>
</ul>

![The Token generated dialog with both copy buttons and the confirmation button highlighted](https://mintcdn.com/stackone-60/6TOHNGHOd4x2T_s6/connectors/sumsub/images/api_key-config-token-generated.png?fit=max\&auto=format\&n=6TOHNGHOd4x2T_s6\&q=85\&s=1ef46ce1b07724de6546d0204d66edce)

## 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/sumsub/guides/webhook-setup.md)
>
> Configure receiving Events for Sumsub into StackOne.


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