Skip to content

Affinity connects with an API key.

Info
  • Affinity API access needs the Enterprise plan and an admin user.

Install the Affinity integration

Install Affinity from Available integrations in each environment you connect accounts from.

Generate an API key

  1. Sign in to Affinity and click Settings on the left. Click Settings
  2. Open the API tab and click Generate an API key. Generate an API key
  3. Copy the key.

Connect an Affinity account

  1. In Integrated Accounts, click Connect Account. Click Connect Account

  2. Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Affinity, pick it under Advanced settings → Integration (optional). Click Get connection link. Get connection link

  3. Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Affinity account. The link works for 7 days, until an account is connected with it. Share connection link

  4. Click Get Started if it shows, then select Affinity.

  5. Fill in the form and click Connect:

    Field Required What to enter
    API Key Yes Your Affinity API key.
  6. Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.