Skip to content

Harness connects with an API key token and your Harness base URL.

Info
  • You need the Account Admin role in Harness.

Install the Harness integration

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

Create an API key and token

  1. Sign in to Harness and open your user profile.
  2. Under My API Keys, select API Key. Enter a Name; Description and Tags are optional. Click Save. New API key
  3. Under the new key, select Token. Enter a Name. New token
  4. To make the token expire, select Set Expiration Date and enter a date. Click Generate Token. Generate token
  5. Copy the token.

The Base URL is the address of Harness in your browser, for example https://app.harness.io.

Base URL

Connect a Harness 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 Harness, 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 Harness 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 Harness.

  5. Fill in the form and click Connect:

    Field Required What to enter
    API Key Yes The token from Create an API key and token.
    Base URL Yes The Harness address in your browser, for example https://app.harness.io.
  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.