> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

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

## Overview

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

1. **API Key** - A key that grants Nango permission to interact with Affinity’s v2 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-wari-integration-config-credentials-api/fNBKQO5tgLS95zmX/integrations/all/affinity/settings.png?fit=max&auto=format&n=fNBKQO5tgLS95zmX&q=85&s=3f4fe5ffcefdde1293e64c1f6e06ed85" 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-wari-integration-config-credentials-api/fNBKQO5tgLS95zmX/integrations/all/affinity/api_keys.png?fit=max&auto=format&n=fNBKQO5tgLS95zmX&q=85&s=3c064018303934735ca3edffc6da8cc2" 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 (v2).
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-wari-integration-config-credentials-api/fNBKQO5tgLS95zmX/integrations/all/affinity-v2/form.png?fit=max&auto=format&n=fNBKQO5tgLS95zmX&q=85&s=f187acecfe3e09095737d0c3e0662f82" style={{maxWidth: "450px" }} width="499" height="698" data-path="integrations/all/affinity-v2/form.png" />

You are now connected to Affinity (v2).
