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

# Grist - How do I link my account?

# Overview

To authenticate with Grist, you need:

1. **Environment** - The environment you want to connect to (personal site or team site).
2. **API Key** - A key that grants secure access to the Grist API, enabling authorized applications to interact with Grist resources and services.

This guide will walk you through selecting your environment and generating your **API Key** within Grist.

### Prerequisites:

* You must have a Grist account

### Instructions:

#### Step 1: Selecting Your Environment

* To access documents on your personal site, use `docs`.
* To access documents and workspaces on a team site, use `team`.

#### Step 2: Generating Your API Key

1. Log in to your Grist account and navigate to the [Account settings](http://docs.getgrist.com/account) page.
2. If an **API Key** is not present, click the **Create** button. If an API key already exists, you can copy it.

<img src="https://mintcdn.com/nango/MTew4IDKoyuS7A65/api-integrations/grist/api_key.png?fit=max&auto=format&n=MTew4IDKoyuS7A65&q=85&s=a1dd273cd354928bb614b7a06b20f863" width="1920" height="688" data-path="api-integrations/grist/api_key.png" />

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

Once you have your **API Key**:

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

<img src="https://mintcdn.com/nango/MTew4IDKoyuS7A65/api-integrations/grist/form.png?fit=max&auto=format&n=MTew4IDKoyuS7A65&q=85&s=65cf9e14176e062f6b353e1bf170b0a6" style={{maxWidth: "450px" }} width="500" height="700" data-path="api-integrations/grist/form.png" />

You are now connected to Grist.
