> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/affinity.md).

# 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 <a href="#prerequisites" id="prerequisites"></a>

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

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* API key

## Related resources <a href="#related-resources" id="related-resources"></a>

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 <a href="#using-api-key" id="using-api-key"></a>

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.
