Login to your Affinity account, and select your profile > "Affinity Settings"From the left toolbar, select "API" under Data and IntegrationsGenerate a new API key (if needed) and copy