- ๐ Quickstart
- ๐ Useful links
- ๐จ API gotchas
1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Affinity (v2).
2
Authorize Affinity (v2)
Go to Connections -> Add Test Connection -> Authorize, then enter your Affinity API Key. Later, youโll let your users do the same directly from your app.
3
Call the Affinity (v2) API
Letโs make your first request to the Affinity (v2) API (fetch current user information). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials dynamically via the Node SDK or API.
- cURL
- Node
Next step: Embed the auth flow in your app to let your users connect their Affinity accounts.
Questions? Join us in the Slack community.