---
title: Connect Sentry
url: /docs/ai/agents/integrations/sentry/
---


Connect Sentry so an agent can inspect issues, errors, traces, and releases in your Sentry organization. You need a Sentry internal integration token.

## Create the credentials

1. In Sentry, open **Settings** > **Custom Integrations** and create an internal integration.
1. Grant **Read** access to **Organization**, **Project**, **Team**, and **Issue & Event**, then copy the token.

This integration connects to Sentry SaaS using its [explicit-token authentication](https://github.com/getsentry/toolkit#remote-with-an-explicit-sentry-token).

## Connect Sentry

To connect Sentry, you need permission to manage organization integrations (`org_integrations:update`):

1. Open **Agent settings** > **Integrations** > **MCP servers**.
1. Find **Sentry** under **Available** and select **Authorize**.
1. Enter the **Internal integration token** and **Organization Slug**, such as `my-organization` from `my-organization.sentry.io`, then select **Save**.

Before you assign a task to an agent your team created, [select Sentry in the agent's integrations](/docs/ai/agents/configure/#select-integrations). Neo tasks have access to Sentry by default; turn it off in the task composer when a task doesn't need it.

