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

# Alertmanager

> Connect Alertmanager to Deductive AI to enable reasoning over your alertmanager data.

## Grafana Cloud Setup

Connect to Grafana Cloud Alertmanager for managed alert routing

1. Log in to your Grafana Cloud account
2. Navigate to your Grafana Cloud portal
3. Go to 'My Account' → 'Alertmanager' section
4. Find your Tenant ID (Instance ID) in the Alertmanager details
5. Note your region (e.g., prod-us-west-0)
6. Create an API token: 'Security' → 'Access Policies' → 'Create access policy'
7. Ensure the token has 'alerts:read' scope
8. Copy the generated API token (starts with glc\_)

**Related Documentation**: [View Grafana Cloud Alerting Documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/alerting/)

## Self-Hosted Alertmanager Setup

Connect to your own Prometheus Alertmanager instance

1. Identify your Alertmanager server hostname or IP address
2. Ensure port 9093 (default) is accessible
3. If using basic authentication, prepare your credentials
4. For HTTPS, ensure SSL certificates are properly configured
5. Test connectivity: curl [http://alertmanager.example.com:9093/-/healthy](http://alertmanager.example.com:9093/-/healthy)

**Related Documentation**: [View Alertmanager Documentation](https://prometheus.io/docs/alerting/latest/alertmanager/)

## Field Reference

The following fields are used when configuring this integration:

* **API Token** (`apiToken`)
* **Alertmanager URL** (`hostname`)
* **Password** (`password`)
* **Cloud Region** (`region`)
* **Tenant ID / Instance ID** (`tenantId`)
* **Username** (`username`)
