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

# Amplitude - How do I link my account?

# Overview

To authenticate with Amplitude, you will need:

1. **API Key** - Your Amplitude API key for authentication.
2. **Secret Key** - Your Amplitude secret key for authentication.
3. **Hostname** - The hostname associated with your server residency.

This guide will walk you through generating your **API Key** and **Secret Key**, and finding your **Hostname** within Amplitude.

### Prerequisites:

* You must have an Amplitude account with access to Organization settings and an Enterprise plan.

### Instructions:

#### Step 1: Generating your Amplitude API Key

1. Sign in to your [Amplitude](https://app.amplitude.com/login/) account.
2. Select **Organization settings** in the upper navigation.
3. Select **API Keys**. In the API Keys tab, you can see the legacy API key. This key was created along with the project.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/VQPEYczYkyQcDMBH/api-integrations/amplitude/api_key_manage.png?fit=max&auto=format&n=VQPEYczYkyQcDMBH&q=85&s=e8aa91b251562c2f4f8087b34022a511" width="1875" height="671" data-path="api-integrations/amplitude/api_key_manage.png" />

4. Select the project you're interested in.
5. Click **Generate API Key**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/VQPEYczYkyQcDMBH/api-integrations/amplitude/generate_api_key.png?fit=max&auto=format&n=VQPEYczYkyQcDMBH&q=85&s=85565852ab05ad088934653e264d17e0" width="1262" height="460" data-path="api-integrations/amplitude/generate_api_key.png" />

6. Name the **API key** and submit the form to generate it.

#### Step 2: Generating your Amplitude Secret Key

1. In the same **API Keys** section, select the appropriate project.
2. Click **Generate Secret Key**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/VQPEYczYkyQcDMBH/api-integrations/amplitude/generate_secret.png?fit=max&auto=format&n=VQPEYczYkyQcDMBH&q=85&s=c3e65b186cd061624fa3e9eb96bff405" width="1999" height="733" data-path="api-integrations/amplitude/generate_secret.png" />

3. Name the secret key and copy it to a secure location.

<Tip> Amplitude doesn't store secret keys, and there is no way to retrieve them. (The Key ID is a unique identifier for your secret key, but it's not the key itself.) </Tip>

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/VQPEYczYkyQcDMBH/api-integrations/amplitude/generated_secret.png?fit=max&auto=format&n=VQPEYczYkyQcDMBH&q=85&s=e441eaef7bbc091538096dba46f75ef7" width="1999" height="742" data-path="api-integrations/amplitude/generated_secret.png" />

#### Step 3: Finding your Hostname (Optional)

The hostname is optional and depends on your Amplitude server residency. The default is the standard server:

* For **standard server** (default): Use `amplitude.com` or leave blank
* For **EU residency server**: Use `analytics.eu.amplitude.com`

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

Once you have your **API Key**, **Secret Key**, and **Hostname**:

1. Open the form where you need to authenticate with Amplitude.
2. Enter your **API Key**, **Secret Key** and **Hostname** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/VQPEYczYkyQcDMBH/api-integrations/amplitude/form.png?fit=max&auto=format&n=VQPEYczYkyQcDMBH&q=85&s=7242bd4bcfb54d58ff42550c84735fe7" style={{maxWidth: "450px" }} width="498" height="698" data-path="api-integrations/amplitude/form.png" />

You are now connected to Amplitude.
