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

# Lattice - How do I link my account?

## Overview

To authenticate with both Lattice, you need one key piece of information:

1. **API Key** - Your Lattice API Key

This guide will walk you through generating your API key within Lattice.

### Prerequisites:

* You need to have an admin account to access Lattice API Key. If you don't, you can sign up [here](https://lattice.zendesk.com/auth/v2/login/registration?auth_origin=360005592414%2Ctrue%2Ctrue\&brand_id=360005592414\&return_to=https%3A%2F%2Fhelp.lattice.com%2Fhc%2Fen-us%2Farticles%2F360059449534-Lattice-s-Public-API\&theme=hc)

* If it's your first time accessing the API key, you will need to request API access from Lattice by writting them an [email](mailto:request-api-access@lattice.com) answering this questions:
  * What is your intended use case with the API?
  * Will it be used with a third-party software tool? If yes, please specify the tool.

* Once approved, you can create or revoke API keys without needing to request additional approval.

#### Step 1: How to Generate Lattice API Keys for Public and SCIM APIs

1. Log in to your Lattice account.

2. From your dashboard, click on the `Admin` icon on the left bottom corner.

3. Select `Settings` then click on `API Keys`.

4. On the API Keys page you can generate the API key by clicking the `Generate API Key` button in the top right corner.

<img src="https://mintcdn.com/nango/Ee1SmZnFUl4BtFWM/api-integrations/lattice/lattice.png?fit=max&auto=format&n=Ee1SmZnFUl4BtFWM&q=85&s=95be86a36079fc16f5462321b82bb904" width="1890" height="918" data-path="api-integrations/lattice/lattice.png" />

5. After the key is generated, click `Copy`.

<Note>The generated API key will only be shown to you in full once, so be sure to copy it before closing the window.</Note>

<Tip>The SCIM API can be enabled on the Lattice integrations page by navigating to Admin > Settings > Platform > Integrations > Enable SCIM.</Tip>

#### Step 2: Choosing your data residency

In the **Data residency** dropdown, select `api.latticehq.com` for US-hosted accounts, or `api.emea.latticehq.com` for EMEA-hosted accounts. If you're unsure of your account's data residency, reach out to [customercare@lattice.com](mailto:customercare@lattice.com).

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

Once you have your **API Key**:

1. Open the form where you need to authenticate with Lattice.
2. Enter the **API Key** in the field provided.
3. Select the **Data residency** you chose in step 2.
4. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/Ee1SmZnFUl4BtFWM/api-integrations/lattice/form.png?fit=max&auto=format&n=Ee1SmZnFUl4BtFWM&q=85&s=5a2bcf3f76524b7c26bc0784278d68cd" style={{maxWidth: "450px" }} width="1000" height="1254" data-path="api-integrations/lattice/form.png" />

You are now connected to Lattice.


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