> For the complete documentation index, see [llms.txt](https://docs.whalesync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whalesync.com/sync/connectors/affinity/authorize-affinity.md).

# Authorize Affinity

Get the API key Whalesync needs to authorize Affinity. In Affinity, click Settings, then API, and copy your API key to connect your account.

**1) Click "Settings"**

![](https://docs.whalesync.com/_astro/Affinity%20-%20Settings.BgabAXAA_Z1zWgOy.webp)

**2) Click "API", then copy your API key**

![](https://docs.whalesync.com/_astro/Affinity%20-%20API.ChKCqkqD_AUklR.webp)
