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

# Heap - How do I link my account?

# Overview

To authenticate with Heap, you need:

1. **App ID** - Your Heap application ID that identifies your application when making API requests.
2. **API Key** - Your Heap API key that is used to generate an access token for authenticating API requests to Heap.

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

### Prerequisites:

* You must have an account with Heap and admin permissions to generate and retrieve the API key.

### Instructions:

#### Step 1: Generating Your API Key and App ID

1. Log in to your [Heap](https://heapanalytics.com/login) account.
2. Navigate to **Account** > **Manage** > [Privacy & Security](https://heapanalytics.com/app/manage/privacy-and-security).
3. Scroll to the bottom of the page, where you will find your **App ID**.
4. Click on **Generate new Key** to generate a new **API Key**. Your key will be displayed.

<img src="https://mintcdn.com/nango/yd3la1jeUGwiAtCR/integrations/all/heap/privacy_settings.png?fit=max&auto=format&n=yd3la1jeUGwiAtCR&q=85&s=aa3d56436692d66f5345844682564421" width="1915" height="709" data-path="integrations/all/heap/privacy_settings.png" />

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

Once you have your **API Key** and **App ID**:

1. Open the form where you need to authenticate with Heap.
2. Enter both **API Key** and **App ID** in their designated fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/yd3la1jeUGwiAtCR/integrations/all/heap/form.png?fit=max&auto=format&n=yd3la1jeUGwiAtCR&q=85&s=4a9a345b45d8aad63611f59935470b8c" style={{maxWidth: "450px" }} width="500" height="792" data-path="integrations/all/heap/form.png" />

You are now connected to Heap.
