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

# Affinity (v1) - How do I link my account?

# Overview

To authenticate with Affinity (v1), you will need:

1. **API Key** - A key that grants Nango permission to interact with Affinity’s v1 API resources and services.

This guide will walk you through generating your API Key within Affinity.

### Prerequisites:

* You must have a registered Affinity account with permission to generate an **API Key**.

### Instructions:

#### Step 1: Generating Your API Key

1. Log in to your [Affinity dashboard](https://affinity.co/auth/signin) and click **Settings** in the left sidebar.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/oRbST5geR1iTnRFv/integrations/all/affinity/settings.png?fit=max&auto=format&n=oRbST5geR1iTnRFv&q=85&s=89629edf1be920f9699fd1f9fc5026c9" width="1920" height="743" data-path="integrations/all/affinity/settings.png" />

2. Click **API**, then click the **Generate New API Key** button.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/oRbST5geR1iTnRFv/integrations/all/affinity/api_keys.png?fit=max&auto=format&n=oRbST5geR1iTnRFv&q=85&s=f24b67a56affbf7ec31973c499fe0e9a" width="1912" height="794" data-path="integrations/all/affinity/api_keys.png" />

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

Once you have the **API Key**:

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

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/oRbST5geR1iTnRFv/integrations/all/affinity/form.png?fit=max&auto=format&n=oRbST5geR1iTnRFv&q=85&s=2a3da5b98dcdfc41af73e8b0d86d2edc" style={{maxWidth: "450px" }} width="499" height="698" data-path="integrations/all/affinity/form.png" />

You are now connected to Affinity (v1).
