Setup & Integrations
Observability
Grafana
the grafana cloud integration can be configured via grafana cloud's and resolve's uis create a service account token to access your grafana environment a service account token is needed if you don’t already have a service account, please create one how to create a service account there are two options for creating your service account token option 1 create a token via the ui \[recommended] official documentation how to add a token to a service account in grafana option 2 create a token via the api if you are running grafana enterprise, for some endpoints you might need to have specific permissions refer to role based access control permissions documentation for more information for grafana cloud instances, you can use a bearer token to authenticate create a service account through the api official documentation how to create to grafana service account via api run the following command please ensure that you replace the following properties grafana instance this is your grafana endpoint auth api key this is your authorization token for accessing the api (if applicable) create service account api curl x post http //\<grafana instance>/api/serviceaccounts \\ h "content type application/json" \\ h "authorization bearer \<auth api key>" \\ d '{"name" "resolve service account", "role" "viewer", "isdisabled" false}' the response will include the new service account id please take a note of it create service account api response { "id" 1, "name" "resolve service account", "isdisabled" false, } create a token for your service account via the api official documentation how to create to grafana service account token via api https //grafana com/docs/grafana/latest/developers/http api/serviceaccount/#create service account tokens run the following command please ensure that you replace the following properties grafana instance this is your grafana endpoint id this is your service account id for which a token will be created auth api key this is your authorization token for accessing the api (if applicable) curl x post http //\<grafana instance>/api/serviceaccounts/\<id>/tokens \\ h "content type application/json" \\ h "authorization bearer \<auth api key>" \\ d '{"name" "resolve access key", "role" "viewer"}' the response will include the new api key securely store this key immediately, as it won't be displayed again token creation api response {"id" 1,"name" "resolve access key","key" "eyjrij "} configure the grafana integration in the ui login to https //app0 resolve ai/ go to the integrations page and and select “grafana cloud” click on “add connection” add a name for the integration and fill in the configuration details the required field are token the token that was generated in the previous step url the endpoint to your grafana instance send alerts to resolve ai via webhook if you use grafana to manage your alerts, follow the steps to complete the alert integration for your environment go to the grafana cloud integration you have set up and click into it scroll down to the webhooks section click "edit" click on the "+" icon to add a new webhook token click "save" follow the instructions to add a new webhook integration in grafana cloud, and create a new notification policy faq what grafana data sources can resolve connect to? resolve integrations include support for tempo, loki, prometheus, mimir, alert manager, elasticsearch, clickhouse, solarwinds and all supported plugins