> 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/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"**

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2Fgit-blob-5c83bdd98ccd78fe4aa509d88141c09390493f34%2FAffinity%20-%20Settings.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2Fgit-blob-149b46c0c06400e71e3fe8b71f2dc0d1cc66251e%2FAffinity%20-%20API.png?alt=media" alt=""><figcaption></figcaption></figure>
