# Grafana AI agent for Slack & Microsoft Teams

Viktor is an AI employee that connects to Grafana with a scoped API key and helps you monitor application errors and incidents, running 10 Grafana actions for you like List Folders, Get Dashboard, and Save Dashboard. Ask in plain English in Slack or Microsoft Teams; Viktor does the work in Grafana and reports back. Setup takes about two minutes.

- Tool: Grafana
- Category: Other
- Connection: API key
- Actions available: 10
- Works from: Slack and Microsoft Teams
- Page: https://viktor.com/integrations/grafana

## What can you ask Viktor to do in Grafana?

- "Summarize the new errors in Grafana from the last 24 hours and flag any regressions."
- "Check Grafana for the root cause of last night's incident and report back."
- "Watch Grafana for a new critical alert and page me immediately."
- "Post a summary of this week's Grafana incident count to #eng every Friday."

## What can Viktor do in Grafana? (10 actions)

- **Search Dashboards** - Search for dashboards by title, tag, or folder. Returns dashboard UIDs, titles, URLs, tags, and folder info. Use the UID with Get Dashboard to retrieve the full dashboard model. Use List Folders to discover folder UIDs for filtering.
- **Save Dashboard** - Create or update a Grafana dashboard. This is an upsert operation — if the dashboard UID exists, it updates; otherwise it creates. Use Get Dashboard to retrieve an existing dashboard model before modifying it. Use List Folders to find the target folder UID. Pass overwrite: true to force-save over version conflicts.
- **Query Data Source** - Execute a query against any configured data source. Use List Data Sources first to discover available data sources and their UIDs. The query language depends on the data source type.
- **List Folders** - List all dashboard folders. Folders organize dashboards into logical groups. Use folder UIDs with Search Dashboards to filter by folder, or with Save Dashboard to place a dashboard in a specific folder.
- **List Data Sources** - List all configured data sources (Prometheus, Loki, InfluxDB, MySQL, etc.), their types, and UIDs. Use the data source UID with Query Data Source to execute queries. The type field indicates what query language to use (e.g., prometheus → PromQL, loki → LogQL, mysql → SQL).
- **List Alert Rules** - List all alert rules with their current state (firing, normal, pending, inactive). Returns rule definitions including conditions, labels, and annotations. Use this to answer questions like 'what alerts are firing?' or 'what alerts exist for service X?'.
- **Get Dashboard** - Get the full dashboard model by UID, including all panels, their queries, variables, and configuration. Use Search Dashboards first to find the dashboard UID. The returned model can be modified and saved back with Save Dashboard.
- **Get Current User** - Get the current authenticated Grafana user's identity, including user ID, name, email, organization, and role. Use this to understand the user's permissions and organizational context. The user ID and org context may be needed when creating dashboards or filtering resources.
- **Delete Dashboard** - Permanently delete a Grafana dashboard by UID. This cannot be undone. Use Search Dashboards to find the dashboard UID.
- **Create Annotation** - Create an annotation on a dashboard or globally. Annotations mark events like deployments, incidents, or configuration changes on dashboard timelines. Use Search Dashboards to find the dashboard UID. Omit dashboardUid for a global annotation visible on all dashboards. Use time and timeEnd for range annotations (e.g., deployment window).

## How does Viktor work with Grafana?

1. Add Viktor to Slack or Microsoft Teams.
2. Connect Grafana with an API key - Viktor handles authentication.
3. Ask in plain English. Viktor runs the Grafana actions, chains them with your other tools when needed, and reports back. Sensitive actions wait for your approval.

## What is a Grafana AI agent?

A Grafana AI agent is an AI that connects to your Grafana account and completes work in it - it doesn't just answer questions about Grafana, it takes the actions. Viktor is that agent: an AI employee that works in Grafana on your behalf and delivers the finished result in Slack or Microsoft Teams.

Unlike workflow builders such as Zapier or Make, there is nothing to configure - no triggers to map, no workflows to maintain. You describe the outcome in plain English, and Viktor picks the right Grafana actions, chains them with the other 3,200+ tools it connects to, and asks for approval before anything sensitive runs.

### About Grafana

Open and composable observability platform

## Security and permissions

- Scoped API keys - Viktor stores your key securely, uses only the scopes you grant, and you can revoke it at any time.
- Review-first approvals: sensitive Grafana actions wait for your sign-off before they run.
- Isolated compute per team, encrypted in transit and at rest - and your data is never used to train models.
- SOC 2 Type 1 compliant, with Type 2 and ISO 27001 in progress.

## FAQ

### Does Viktor integrate with Grafana?

Yes. Grafana is one of the 3,200+ tools Viktor connects to, via a managed connector. Once connected, anyone on your team can put Viktor to work in Grafana from Slack or Microsoft Teams - no workflow builder, no code.

### How do I connect Grafana to Viktor?

Ask Viktor in Slack or Microsoft Teams to connect Grafana, then paste an API key from your Grafana account when prompted. Viktor stores the key securely, uses only the scopes you grant, and you can revoke it at any time. Setup takes about two minutes.

### What can Viktor do in Grafana?

Viktor can run 10 Grafana actions, including List Folders, Get Dashboard, and Save Dashboard - and chain them with other tools in a single request. In practice that means Viktor helps you monitor application errors and incidents. If a task spans several actions, Viktor plans the sequence itself and reports back when the work is done.

### Do I need to build workflows to automate Grafana?

No. Viktor isn't a workflow builder - there are no triggers to map and no workflows to maintain. You ask for the outcome in plain English in Slack or Microsoft Teams, and Viktor decides which Grafana actions to take, runs them, and reports back.

### Is my Grafana data secure with Viktor?

Yes. Viktor connects to Grafana with a scoped API key, runs in an isolated environment per team, and never trains models on your data. Sensitive actions wait for your approval, and you can revoke access at any time. Viktor is SOC 2 Type 1 compliant, with Type 2 and ISO 27001 in progress.

### How much does the Grafana integration cost?

Nothing extra - every integration, including Grafana, is available on every plan. You can start free with up to $100 in credits, no credit card required; paid plans start at $50/month.

### Can Viktor use Grafana together with my other tools?

Yes - that's the point. Viktor connects to 3,200+ tools and works across them in a single run: it can pull data from Grafana, cross-reference it with another tool - for example Slack or Gmail, and deliver the finished result in Slack or Microsoft Teams.

## Viktor uses Grafana together with

- [Slack](https://viktor.com/integrations/slack)
- [Gmail](https://viktor.com/integrations/gmail)
- [Google Sheets](https://viktor.com/integrations/google-sheets)
- [HubSpot](https://viktor.com/integrations/hubspot)
- [Notion](https://viktor.com/integrations/notion)
- [Salesforce](https://viktor.com/integrations/salesforce)

## More Other integrations

- [Databricks](https://viktor.com/integrations/databricks)
- [Front](https://viktor.com/integrations/front)
- [BingX](https://viktor.com/integrations/bingx)
- [TOPdesk](https://viktor.com/integrations/topdesk)
- [Google Dialogflow](https://viktor.com/integrations/google-dialogflow)
- [Google Slides](https://viktor.com/integrations/google-slides-2)
- [Waitwhile](https://viktor.com/integrations/waitwhile)
- [Dixa](https://viktor.com/integrations/dixa)

## Get started

Viktor is free to start - up to $100 in credits, no credit card required. All 3,200+ integrations are included on every plan. Sign up at https://viktor.com or browse all integrations at https://viktor.com/integrations.
