Connect Sentry to provide your errors and exceptions as context to Struct.Your agent can inspect the current setup, prepare the connection and test access. You choose the account and resource scope, approve provider consent when needed, and authorize any required grants.
Connect Sentry so Struct Agent can use errors, stack traces and affected-user context in investigations. Inspect the existing connection and select the intended Sentry organization.Use the catalog’s current fields, choices and permission requirements. Reuse an existing healthy connection instead of creating a duplicate.Use Inspect
Inspect access and existing connections
Use a claimed workspace with permission to configure connections.Connect with the CLI
Relay thewaiting_for_human URL immediately while reading JSON Lines. The person approves the intended provider account in a browser signed in to Struct as the CLI user.Replace example values with the intended resource:struct sentry orgs --json to inspect organizations and struct sentry set-org SLUG to select the intended one. Connecting a Sentry account does not prove that an alert has been investigated.Verify and recover
Use the returned connection ID:ok, health and missing permissions, not only the exit code. struct connections grant-command CONNECTION_ID prints repair instructions where supported; have an authorized operator apply them. For expired OAuth links, start the connection command again and use the new link. Do not reconnect to a different account silently.Verify a bounded operation for the requested job. Connection health proves checked access; it does not prove telemetry arrival, an investigation or alert delivery.What Struct reads
- Stack traces, to find the exact code path.
- Breadcrumbs, to reconstruct what led to the error.
- Error frequency and affected users, to judge whether this is new and how bad it is.
Permissions
Struct’s Sentry connection needs the OAuth scopesorg:read, project:read, event:read, alerts:read, alerts:write. Scopes are fixed when you connect, so a missing scope means reconnecting Sentry from Connections.Errors and monitor reads
Read your organization, projects, errors and existing alerts.Manage monitoring
Create and maintain the alerts Struct manages.Scopes:alerts:write.Alert delivery setup
A one-time approval that creates the internal integration named Struct AutoMonitors, which delivers alerts from Struct’s monitors back to Struct. The elevated token is not stored.Scopes:org:write.How to grant
Reconnect Sentry. In Struct, open Connections → Sentry → Reconnect and authorize as a Sentry user whose organization role can edit alerts (Owner or Manager, or a Member when the organization lets members edit alerts).Permission catalog version2026-11-04.1. See permission changes.