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

# Torii - How do I link my account?

## Overview

To authenticate with Torii, you will need:

1. **API Key** - A key that grants secure access to the API, enabling authorized applications to interact with Torii resources and services.

This guide will walk you through generating your **API Key** in Torii.

### Prerequisites:

* You must have a Torii account

### Instructions:

#### Step 1: Generating Your API Key

1. Navigate to the [API Access page](https://app.toriihq.com/team/settings/apiAccess) in your Torii account.
2. Click **Generate API Key**.

![](https://mintcdn.com/nango/DbNiojrrtTzbhYl7/api-integrations/torii/settings.png?fit=max\&auto=format\&n=DbNiojrrtTzbhYl7\&q=85\&s=70e3449aad0c03998c286e82bb031eb3)

3. Select the permission type for your API key.
4. Set an expiration date: For security purposes, Torii recommends setting an expiration date when generating a new API key.
   * Set a longer period to avoid frequent key regeneration.
   * The key will become inactive on the chosen expiration date.
   * Torii will send an email reminder one month prior to the expiration date to remind you to generate a new **API Key**.
5. Add a description for your **API Key** and click **Generate Key**.

![](https://mintcdn.com/nango/DbNiojrrtTzbhYl7/api-integrations/torii/generate_key.png?fit=max\&auto=format\&n=DbNiojrrtTzbhYl7\&q=85\&s=def2bd24a8e8c775f35cb65bf7f2cfaf)

![](https://mintcdn.com/nango/DbNiojrrtTzbhYl7/api-integrations/torii/generated_key.png?fit=max\&auto=format\&n=DbNiojrrtTzbhYl7\&q=85\&s=eb804e1a812cd27556f283f54e3124dd)

> [!TIP]
>
> Once your API Key is generated, ensure you copy it to a secure location as it won't be shown again.

#### Step 2: Enter credentials in the Connect UI

Once you have your **API Key**:

1. Open the form where you need to authenticate with Torii.
2. Enter your **API Key** in its respective field.
3. Submit the form, and you should be successfully authenticated.

![](https://mintcdn.com/nango/DbNiojrrtTzbhYl7/api-integrations/torii/form.png?fit=max\&auto=format\&n=DbNiojrrtTzbhYl7\&q=85\&s=164a4f520a33a1515cbd7bf9f8a50bad)

You are now connected to Torii.


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