Generate a Service Account Token
A Service Account Token provides programmatic access to your Grafana instance.
Sign in to Grafana
Sign in to your Grafana account.
- Navigate to Administration > Users and access > Service Accounts.
Create a Service Account
Click Add service account and configure the following.
- Enter a descriptive name (e.g.,
StackOne Integration). - Select the Admin role for full access, or select No Basic Role and select individual permissions (see below).
Select permissions
If not using Admin role, select the permissions for your use case:
Generate a token
Click on the newly created service account, then click Add service account token.
- Enter a token name (e.g.,
stackone-token). - Optionally set an expiration date.
- Click Generate token and copy the token immediately — store it securely for use later.
Find your instance URL
Your instance URL identifies your organization’s Grafana environment. Include a trailing slash.
- Check your browser address bar when signed in to Grafana.
- Format:
https://{your-org}.grafana.net/ - Example: if your URL is
https://acme.grafana.net/dashboards, your instance URL ishttps://acme.grafana.net/ - For self-hosted instances, use your Grafana domain (e.g.,
https://grafana.yourcompany.com/)
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Service Account Token
- Instance URL
Connect
- Click Connect
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup
If the account linking is successful, you will see the newly linked account in your Accounts page.