> ## 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.

# Prometheus

> Connect Prometheus to Deductive AI to enable reasoning over your prometheus data.

## AWS IAM Role Setup

Configure IAM role auth for AWS Managed Prometheus (AMP).

1. Log in to AWS Console
2. Navigate to Amazon Managed Service for Prometheus
3. Create or select a workspace
4. Note the workspace ID
5. Create an IAM role with appropriate permissions
6. Note the role ARN
7. If the role is cross-account, note the External ID (if configured)
8. Select the AWS region where your workspace is located

**Related Documentation**: [View AWS Managed Prometheus Documentation](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard.html)

## Username and Password Authentication Setup

Configure basic auth for Prometheus.

1. Ensure your Prometheus instance has basic authentication enabled
2. Obtain your Prometheus username
3. Obtain your Prometheus password
4. Find your Prometheus server URL (hostname)
5. The hostname should be accessible from your network

**Related Documentation**: [View Prometheus Basic Auth Documentation](https://prometheus.io/docs/guides/basic-auth/)

## Field Reference

The following fields are used when configuring this integration:

* **External ID** (`externalId`)
* **Prometheus Hostname** (`hostname`)
* **Password** (`password`)
* **AWS Region** (`region`)
* **Role ARN** (`roleArn`)
* **Username** (`username`)
* **Workspace ID** (`workspaceId`)
