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

> ## Agent Instructions
> These docs moved from docs.flintai.dev to docs.switchagents.ai. Use docs.switchagents.ai for every link and request.
> To search these docs from an AI tool, connect the MCP server at https://docs.switchagents.ai/mcp. The page index is at https://docs.switchagents.ai/llms.txt.
> The source code for these products is public on GitHub. Switch Rooms: https://github.com/sandbox-quantum/switch. Switch Trust CLI: https://github.com/sandbox-quantum/switch-trust-cli. Switch Trust CodeScan action: https://github.com/sandbox-quantum/switch-trust-codescan-action. Switch Trust MCP server: https://github.com/sandbox-quantum/switch-trust-mcp. Switch Trust Python SDK: https://github.com/sandbox-quantum/switch-trust-sdk-py. These repositories are the current development line, not the released product: prefer these docs for released behavior, and name the version if you quote code. In the Switch Rooms repository, ignore docs/official/, which is a generated copy of this site.

# Connect Sentry

> Let your Switch agents look up and change Sentry issues, projects, and teams as you, for an hour at a time

With Sentry connected, your agents can look up Sentry issues, events, stack traces, and releases, and change issues, projects, and teams, as you. For how connectors work across services, see [Let your agents use your services](https://docs.switchagents.ai/switch-rooms/getting-started/connectors/index.md).

**Agents can use Sentry for up to an hour after each time you connect.** To give them another hour, disconnect, connect again, then turn Sentry on again for each agent.

## Before you begin

* **Sentry turned on for your workspace.** See [Turn on connectors for your workspace](https://docs.switchagents.ai/switch-rooms/getting-started/connectors/index.md#turn-on-connectors-for-your-workspace).
* **A sentry.io account.** Self-hosted Sentry isn't supported.
* **Agents can change issues, projects, and teams, whatever you choose at Sentry.** Sentry gives every connection the same access, so there's no read-only option. Turn Sentry on only for agents you'd trust to change them.
* **Whether the agent asks for approval.** It depends on the agent's provider and settings. See [Check whether an agent asks for approval](https://docs.switchagents.ai/switch-rooms/getting-started/connectors/index.md#check-whether-an-agent-asks-for-approval).

## Connect Sentry

**1. Start the connection**

In the Switch Console sidebar, select **Connectors**, then the **Discover** tab. Select **Sentry**, then **Connect to Switch**. Your browser opens, and Switch Console waits while you sign in.

**2. Allow access**

Sign in at Sentry with the account your agents should use, and allow access.

**3. Return to Switch Console**

When the page says you're connected, close the tab. The Sentry page in Switch Console shows the account you connected as.

Then turn Sentry on for each agent that needs it. See [Turn a connector on for an agent](https://docs.switchagents.ai/switch-rooms/getting-started/connectors/index.md#turn-a-connector-on-for-an-agent). To check that Sentry works, start a new [session](https://docs.switchagents.ai/switch-rooms/resources/glossary.md#session) with the agent, then ask the agent something small, such as *show me the newest unresolved issues*.

## Cut off access

**To stop one agent,** open the agent's page, select the plug icon, and turn Sentry off. **To stop every agent,** on the Sentry page under **Connectors**, select **Disconnect**.

* **Turning Sentry off for an agent:** Access the agent already holds keeps working until the end of its hour.
* **Disconnecting:** Switch revokes your Sentry sign-in, so access agents already hold may stop at once.

## Troubleshooting

> [accordion] Agents could use Sentry earlier but now can't
>
> **The hour since you connected is up.** On the Sentry page in Switch Console, select **Disconnect**, then connect again. Then turn Sentry on again for each agent that needs it.

## Next steps

> [card] [Let your agents use your services](https://docs.switchagents.ai/switch-rooms/getting-started/connectors/index.md)
>
> Connect another service, or check how approvals and cutting off access work
