---
title: Affinity credentials
description: Documentation for the Affinity credentials. Use these credentials to authenticate Affinity in n8n, a workflow automation platform.
contentType: [integration, reference]
priority: medium
---

# Affinity credentials

You can use these credentials to authenticate the following nodes:

- [Affinity](/integrations/builtin/app-nodes/n8n-nodes-base.affinity.md)
- [Affinity Trigger](/integrations/builtin/trigger-nodes/n8n-nodes-base.affinitytrigger.md)

## Prerequisites

Create an [Affinity](https://www.affinity.co/) account at the Scale, Advanced, or Enterprise subscription tiers.

## Supported authentication methods

- API key

## Related resources

Refer to [Affinity's API documentation](https://support.affinity.co/s/article/Getting-started-with-the-Affinity-API-FAQs) for more information about working with the service.

## Using API key

To configure this credential, you'll need:

- An **API Key**: Refer to [How to obtain your Affinity API key documentation](https://support.affinity.co/hc/en-us/articles/360032633992-How-to-obtain-your-Affinity-API-key) to get your API key.
