--- title: Products description: ... --- ### Grafana Example **Grafana** defines itself as "The open-source platform for monitoring and observability." The source code is provided on [Grafana's Github Repository](https://github.com/grafana/grafana) #### Authenticate Grafana with ZITADEL To authenticate **Grafana** with ZITADEL you can use the provided **Generic OAuth** plugin. > We do not recommend that you rely on `allowed_domain` as means of authorizing subjects, but instead use **ZITADEL's** RBAC Assertion 1. Create a new project or use an existing one 2. Add OpenID Connect / OAuth 2.0 client to the project (See screenshot for settings) 3. Add config to your **Grafana** instance and restart it 4. Login to **Grafana** ```ini [auth.generic_oauth] enabled = true name= ZITADEL client_id = {ZITADEL_GENERATED_CLIENT_ID} client_secret = {ZITADEL_GENERATED_CLIENT_SECRET} scopes = openid profile email auth_url = https://accounts.zitadel.ch/oauth/v2/authorize token_url = https://api.zitadel.ch/oauth/v2/token api_url = https://api.zitadel.ch/oauth/v2/userinfo allow_sign_up = true ``` > Grafanas's redirect is URI https://yourdomain.tld/login/generic_oauth