Go to Settings > Integrations and Keys, click New key, and search for Grafana. Select the item and click Continue.
In the Configure Grafana dialog, specify a key name and your Grafana Base URL, and click Save.
In the Integrations list, where your key is now included, click Authenticate.
Follow the instructions in the dialog to get your keys.
Enter the keys received as described above and click Save.
In Grafana, enable the Grafana image renderer plugin. Use the same query parameters that you see in a URL when viewing a panel in the Grafana Web UI.
Now that you've configured your integration, add one or more of the integration's actions to an automation, test the automation, and then add the automation to an incident type.