Skip to content

Capsule connects with OAuth 2.0 through Truto's Capsule app or your own.

Install the Capsule integration

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

Use your own Capsule OAuth app

Truto connects Capsule accounts through its own OAuth app, so this step is optional. To show your own app on the consent screen instead:

  1. Create an OAuth app in Capsule and add https://api.truto.one/connect/capsule/callback as its redirect URL. If you use a redirect URL on your own domain, add that URL instead.
  2. Enter the app's Client ID and Client Secret on the installed Capsule integration. See Overriding OAuth credentials.

By default, Truto asks Capsule for these scopes. The Connect UI lists them under Permissions required, and you can change them when you override the OAuth credentials.

  • read
  • write
  • user_preference

Enable the same scopes on your app. If your app allows fewer, change the list under Use your own OAuth settings → Scopes on the installed integration's Configuration tab to match.

Connect a Capsule 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 Capsule, 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 Capsule 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 Capsule. Select Capsule
  5. Sign in to your Capsule account and allow access to Truto.
  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.