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

# Sentry

> Automatic error detection and fix PRs.

![Sentry](https://mintcdn.com/test-8862363a/_KF7n4fDwDrxMgZe/images/integrations/sentry.png?fit=max\&auto=format\&n=_KF7n4fDwDrxMgZe\&q=85\&s=51440ddfc96e715e7de75ff71eda3caa)

## Features

* Detect errors as they occur in production
* Analyze stack traces, breadcrumbs, and error context
* Open fix PRs automatically
* MCP server for real-time error data access during sessions

## Installation

**1. Connect**

Go to **Settings > Integrations** and click **Connect** next to Sentry.

**2. Authorize**

Authorize Tembo to read error data and receive webhook events.

**3. Map projects**

Map Sentry projects to the repositories where errors occur. Only mapped projects generate fix PRs.

## Usage

1. Sentry captures an error and sends a webhook to Tembo
2. Tembo retrieves the full error context (stack traces, breadcrumbs, environment)
3. Tembo analyzes the codebase and opens a fix PR
4. [Mention Tembo](https://docs.tembo.io/features/mentioning-tembo.md) to iterate

## Agents

See [Agents](https://docs.tembo.io/features/agents.md) for available Sentry event triggers.

## Advanced

> [accordion] MCP server
>
> When connected, a Sentry MCP server is automatically available to agents. They can query error data, retrieve stack traces, and analyze trends in real-time.

> [accordion] Errors not triggering fixes
>
> Check project mapping on the Integrations page. Ensure Sentry captures sufficient stack trace info. Tembo deduplicates fixes for already-addressed errors.

> [accordion] Project mapping issues
>
> Use the sync button to refresh projects. Verify Tembo has access and the Sentry organization is connected.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.