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

# Sentry

> Connect Sentry to analyze errors and application performance

Connect Adapt to Sentry to analyze application errors, track issues, and monitor performance.

## Setup

<Steps>
  <Step title="Get your Sentry auth token">
    1. Go to [Sentry Settings > Auth Tokens](https://sentry.io/settings/auth-tokens/)
    2. Click **Create New Token**
    3. Select the scopes you need (project:read, org:read, event:read)
    4. Copy the token
  </Step>

  <Step title="Go to Settings">
    Navigate to **Settings > Integrations** in Adapt
  </Step>

  <Step title="Add the secret">
    Add the following secret:

    | Secret Name           | Value                  |
    | --------------------- | ---------------------- |
    | `SENTRY_ACCESS_TOKEN` | Your Sentry auth token |
  </Step>

  <Step title="Test the connection">
    Ask Adapt about recent errors or issues
  </Step>
</Steps>

## Capabilities

Adapt can query your Sentry data. Analyze errors, track issues, and monitor
application performance.

### Examples

Analyze errors:

```
What errors occurred in production today?
```

Track issues:

```
How many unresolved issues do we have?
```

Monitor releases:

```
What new issues appeared after the last deployment?
```

Investigate:

```
Which errors are affecting the most users?
```
