| #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4 | |
| 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/){:target=_blank .external-link} 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/hc/en-us/sections/360010294532-External-API){:target=_blank .external-link} 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){:target=_blank .external-link} to get your API key. | |