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

# Sentry

Configure the Sentry integration to give ResolveAI read-only access to Sentry data, to use as evidence during the course of investigations.

<Info>
  **Prerequisites**: You will need admin permissions to Sentry to create a Personal Token, and admin access to a ResolveAI account for [the Sentry Integration Page.](https://app0.resolve.ai/integrations/sentry/connect)
</Info>

## In Sentry, create a Personal Token

Open Sentry, and follow their instructions to [create a Personal Token](https://docs.sentry.io/account/auth-tokens/) with these permissions:

* **org:read** - Read access to organization data
* **project:read** - Read access to project data
* **event:read** - Read access to error and performance events
* **alerts:read** - Read access to alert rules

Copy the token to use in the next step.

<Info>
  Sentry Organization Tokens are not sufficient to provide read access for Resolve in investigations.
</Info>

## In Resolve, create a Sentry Integration

1. Open [the Sentry Integration Page](https://app0.resolve.ai/integrations/sentry/connect)
2. Click **Add Connection**
3. Enter a name, ex. `Sentry-Production`
4. Paste your **Personal Token** from Sentry
5. Enter your **Organization Slug**
6. Enter your **Sentry URL**
7. Click **Save**

## Alert Webhooks

1. Open Sentry Integration and click the integration in the table.
2. Scroll down and click **Edit**.
3. In **Webhooks** click the **+** button to name and create a new webhook integration. Save the webhook url for the next step.
4. In Sentry, create a custom webhook integration that will send Issue Alerts to ResolveAI. Follow [the Sentry guide](https://docs.sentry.io/organization/integrations/integration-platform/webhooks/issue-alerts/) or the below steps:
   * Go to **Developer Settings > Custom Integrations**.
   * Click **Create New Integration**.
   * Click **Internal Integration**.
   * Name the integration and enter the **Webhook URL** from your ResolveAI setup instructions.
   * Enable **Alert Rule Action** to make the integration available in issue and metric alerts.
   * Leave all other fields blank or as defaults and **Save Changes**.
5. Finally, add this integration to any alert rules ResolveAI should receive.
   * Click on your Alert Rule and press **Edit Rule**
   * Under the **Then** section of the alert rule config, add the action **Send a notification via an integration**.
   * Choose the name of the created Custom Integration.
6. Now both sides are ready to send and receive alerts!
