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

# Stackby - How do I link my account?

## Overview

To authenticate with Stackby, you need:

1. **Personal Access Token** - a token from your Stackby account. A legacy API key also works.

This guide will show you how to create it.

### Prerequisites

* A Stackby account. [Sign up](https://stackby.com/signup) if you don't have one: a free plan is available.

### Step 1: Create a personal access token

1. [Log in to Stackby](https://stackby.com/login), click your profile icon in the top-right corner and choose **Builder hub**.
2. Under **Developers**, open **Personal access tokens** and click **Create token**.

![Stackby Builder Hub Personal access tokens page with the Create token button highlighted](https://mintcdn.com/nango/7idEJRIZaI2V5fWb/api-integrations/stackby/personal_access_tokens_page.png?fit=max\&auto=format\&n=7idEJRIZaI2V5fWb\&q=85\&s=6c273569369d73d0c38551f72c1450a0)

3. Enter a name for the token.
4. Click **Add a scope** and add the scopes your app needs, for example `data:read` and `schema:read`.
5. Under **Access**, click **Add all resources**, or **Add a stack** to limit the token to specific stacks.
6. Click **Create token**.

![Create personal access token form with a name, the data:read and schema:read scopes, access to all resources and the Create token button highlighted](https://mintcdn.com/nango/7idEJRIZaI2V5fWb/api-integrations/stackby/create_token_form.png?fit=max\&auto=format\&n=7idEJRIZaI2V5fWb\&q=85\&s=4b8d0e6748e2bf6e794678e3aa474df5)

7. Copy the token (it starts with `pat_`). It is shown only once.

![Your token has been created dialog with the copy button highlighted](https://mintcdn.com/nango/7idEJRIZaI2V5fWb/api-integrations/stackby/token_created.png?fit=max\&auto=format\&n=7idEJRIZaI2V5fWb\&q=85\&s=597837b79e40209dbdd947603336e7a4)

> [!NOTE]
>
> A legacy API key also works, though Stackby recommends personal access tokens. To use one, click your profile icon, choose **Account**, click **Create API key** in the **API Key** section and copy the key.
>
> ![Stackby Account overview page with the API Key section and its copy button highlighted](https://mintcdn.com/nango/7idEJRIZaI2V5fWb/api-integrations/stackby/legacy_api_key_created.png?fit=max\&auto=format\&n=7idEJRIZaI2V5fWb\&q=85\&s=0508ed3797e5d64ab05f40619f204655)

### Step 2: Enter your personal access token in the Connect UI

1. Open the form where you need to authenticate with Stackby.
2. Paste the token you copied in Step 1 into the **Personal Access Token** field.
3. Submit the form.

![Stackby Connect UI form with the Personal Access Token field](https://mintcdn.com/nango/7idEJRIZaI2V5fWb/api-integrations/stackby/form.png?fit=max\&auto=format\&n=7idEJRIZaI2V5fWb\&q=85\&s=2d15e2a360fc71f14121bf9dc4d181d7)

You are now connected to Stackby.


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