> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/sre-ai-agent/data-sources/amplitude.md).

# Amplitude

## What the Agent Can Do

* Query user activity and event data
* Check funnel metrics and conversion rates
* Correlate product usage drops with infrastructure incidents

## Setup Instructions

1. Log into **Amplitude**
2. Go to **Settings** > **Projects** > select your project
3. Go to **General** tab, scroll to **API Credentials**
4. Copy the **API Key** and **Secret Key**
5. Paste both in the Pagerly dashboard

## Required Credentials

| Field          | Description          | Example                     |
| -------------- | -------------------- | --------------------------- |
| **API Key**    | Amplitude API key    | `your-amplitude-api-key`    |
| **Secret Key** | Amplitude secret key | `your-amplitude-secret-key` |

## Context Prompt Tips

> *"Key events: page\_view, purchase, sign\_up. Track user\_id for session analysis. Production data is in the main project."*

## Docs

* [Amplitude API Reference](https://www.docs.developers.amplitude.com/analytics/apis/)
