Capabilities
The Grafana connector supports both self-hosted Grafana instances and Grafana Cloud. The required credentials and provisioning behavior differ between the two — see Gather Grafana credentials below.
The Grafana connector supports automatic account provisioning and deprovisioning.
For self-hosted Grafana, when a new account is created by C1, the account’s password is sent to a vault.
For Grafana Cloud, account creation is invite-based and no connector-generated password is returned.
Grafana Cloud: provisioning organization roles for externally synced usersIn Grafana Cloud, users who sign in through an external identity provider (such as Grafana.com SSO, Okta, Azure AD, or any OAuth/SAML provider) have their organization roles controlled by that provider. By default, Grafana blocks API-level role changes for these users, which prevents C1 from provisioning organization entitlements for them.To allow C1 to manage organization roles for these users, enable Skip org role sync for the relevant SSO provider in your Grafana instance:
- In Grafana, go to Administration → Authentication.
- Select the SSO provider your users log in with.
- Enable Skip org role sync (equivalent to setting
skip_org_role_sync = true).
Account access origin
Starting with connector version 0.2.3, each synced account’s profile includes two attributes that identify how the user’s access originated. They appear in the account’s Profile attributes in C1 and support access reviews where the origin of access matters:
The exact meaning of
is_externally_synced depends on the connector mode:
- Grafana Cloud: the value is Grafana’s native
isExternallySyncedflag, meaning the user’s organization role is managed by an external identity provider (such as Entra ID or grafana.com SSO). - Self-hosted Grafana: Grafana’s API does not return that flag for the global user list, so the connector derives the value from the user’s authentication labels.
truemeans the user authenticated through an external module (SSO, LDAP, or OAuth) — slightly broader than role management: a user whose role is managed locally but who signs in through SSO also reportstrue.
Gather Grafana credentials
Configuring the connector requires credentials obtained in your Grafana instance. The credentials you need depend on whether you are connecting to Grafana Cloud or a self-hosted Grafana instance.- Grafana Cloud
- Self-hosted Grafana
For Grafana Cloud, the connector authenticates using a service account token. Basic username/password authentication is not supported in Cloud mode.To create a service account token:
- In your Grafana Cloud instance, go to Administration → Users and access → Service accounts.
- Click Add service account, give it a name, and assign it the Admin role.
- Open the new service account and click Add service account token.
- Copy and save the generated token — it will not be shown again.
- Your Grafana Cloud instance URL (e.g.,
https://your-org.grafana.net) - The service account token generated above
Configure the Grafana connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Grafana connector is now pulling access data into C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Grafana and click Add.
3
Choose how to set up the new Grafana connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Paste your Grafana instance URL into the Instance URL field.
8
Enter your credentials based on your Grafana deployment type:
- Grafana Cloud: Select “API Key” as the auth method and paste your service account token into the API Token field.
- Self-hosted Grafana: Select “Basic Authentication” as the auth method and paste the admin account’s username and password into the Username and Password fields.
9
Click Save.
10
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.