> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyshift.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Grafana Integration

> Integrate Annie with Grafana for unified observability and intelligent investigation.

<iframe width="560" height="315" src="https://www.youtube.com/embed/QIQFILg7wfU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

# Grafana Integration

Grafana integration enables Annie to ingest logs, metrics, and alerts (alert rules and their firing instances), providing a unified, intelligent view of your infrastructure's health and performance.

## Setup Guide

1. Go to the [Anyshift integrations page](https://app.anyshift.io/integrations)
2. Navigate to the Monitoring section
3. Select **Grafana Cloud** or **Self-Hosted Grafana**
4. Enter your **Grafana Instance URL**
5. Provide a **Service Account** and **API Token** with read access to the relevant dashboards, data sources, and alert rules
6. Click **Connect**

⚠️ Anyshift currently supports one Grafana integration per account. Contact us if you need multiple instances supported.

### 1. Grafana Instance URL

* For Grafana Cloud, use the URL provided by your Grafana Cloud account (e.g., `https://your-org.grafana.net`)
* For self-hosted, use your public or internal Grafana URL

### 2. Service Account & API Token

* Create a service account in Grafana with read-only access to the dashboards, data sources, and alert rules you want Annie to ingest. Reading alert rules requires the **Alerting provisioning reader** role (a plain Viewer can't read `/api/v1/provisioning/alert-rules`)
* Generate an API token for this service account in your Grafana settings
* Keep your token secure and do not share it publicly

## How It Works

Once connected, Anyshift automatically ingests logs, metrics, and alerts from Grafana. When an incident occurs, Annie’s AI agent:

* Correlates Grafana logs and metrics with your resource graph
* Traces request chains across services
* Surfaces root causes and actionable insights
* Reduces the need to manually jump between dashboards

**Anyshift + Grafana = Observability superpowers.**

Ready to get started?
