Skip to content

Grafana connects with a service account token and your Grafana endpoint URL.

Install the Grafana integration

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

Find your Grafana endpoint URL

  1. Sign in to your Grafana account.
  2. Copy the endpoint URL from your browser's address bar. Grafana URL in the browser address bar

Create a service account token

  1. Sign in to your Grafana account.
  2. Click Administration in the left navigation panel.
  3. Under Administration, click Service accounts. Service accounts under Administration in the left menu
  4. Click Add service account. Add service account
  5. Enter a Name and pick the roles shown below. Grafana roles with Organization user reader selected
  6. Click Apply after selecting the roles. Apply the roles
  7. Click Create. Create the service account
  8. Click Add service account token and enter a Name for the token. Add service account token and enter a name
  9. Click Generate token and copy the token. This is your API Key. Generate token and copy it

Connect a Grafana 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 Grafana, 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 Grafana 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 Grafana. Select Grafana
  5. Enter your API Key (the service account token) and Grafana Endpoint URL, and click Connect. Grafana API Key and Grafana Endpoint URL fields
  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. Grafana integrated account

Uninstall the Grafana integration

To remove Grafana, see Uninstalling an integration. Uninstalling deletes every Grafana integrated account in that environment.