Browse docs
Connect Sentry
Connect Sentry so the AI can check a verified visitor's errors and issues you mark shareable. Covers install, scopes, approvals, health and errors.
This page explains how to connect Sentry to an Axoryn project, what Axoryn reads from Sentry, how the AI and your team use it, and how changes to Sentry issues are approved. It is for owners and admins who manage integrations.
Before you start
- Plan. Sentry is a connector, included on the Engineer and Autopilot plans. On other plans the Sentry tile shows a lock and the panel says Sentry is on the Engineer plan, with nothing to fill in. The AI uses Sentry only on plans with the AI agent, and both connector plans include it. See Billing and usage.
- Role. Only owners and admins can connect, change or remove integrations.
- Identity verification. Per-visitor Sentry lookups need a visitor email that Axoryn has verified. See Which issues the AI may use.
There are two ways to connect: the Axoryn app in Sentry (no token to copy), or a personal auth token.
Connect with the Axoryn Sentry app
- Open your project and select Integrations in the sidebar.
- Select Add integration, then select Sentry in the list. The panel Connect Sentry opens.
- Select Continue to Sentry and install the Axoryn app in your Sentry organization.
- Sentry sends you back to the Integrations page with the message Sentry connected.
- Open the Sentry card and select Test connection in the Connection tab. Live lookups start working once this test passes.
If Sentry sends you back with Could not connect Sentry. Try Connect again., select Connect Sentry again. If the install can’t start, you see Could not start the Sentry install. Try again.
The install link from Axoryn is valid for 15 minutes. If you take longer in Sentry, Axoryn sends you to a page where you pick the project, as when you start from Sentry (below).
Read tools are on and write tools are off until you turn them on.
Start the install from Sentry
If you install the Axoryn app from Sentry, Sentry sends you to a Finish connecting Sentry page in Axoryn that asks Which project should read … errors?. Pick the project, then select Connect to {project}.
- The link works once and lasts 1 hour. A countdown shows the time left after Link expires in. If it expires, you see This install link expired. Nothing was set up, so start again.
- Only an owner or admin can finish. A member sees Only owners and admins can connect integrations. and can select Copy link for an admin.
- If your plan doesn’t include connectors, the page says Sentry is part of the Engineer plan. and offers Change plan. The link stays valid until it expires, so you can finish right after changing plans.
- If the project already uses a different Sentry organization, the page asks you to confirm Replace {old} with {new} on {project}. Connecting replaces it, and write-tool settings are kept.
Axoryn then checks the connection by asking Sentry for recent unresolved issues. When the check passes, the page shows {project} now reads Sentry and samples a few recent issues. You can optionally limit lookups to one Sentry project (All projects in {org} by default) and select Save.
If the check fails, the page shows {project} is linked, but Sentry isn’t answering. Select Check again, or Reinstall from Sentry to fix it. Your project choice is kept.
Connect with a personal token
In the Connect Sentry panel, select Use a personal token instead and fill in:
| Field | What to enter |
|---|---|
| ”Organization slug” | Your Sentry organization slug. |
| ”Project slug” | Optional. “Limits lookups to one Sentry project." |
| "Auth token” | A Sentry auth token that can read issues in that organization. For approved changes to run, it also needs write access to issues (Sentry’s event:write scope). |
| ”Webhook secret” | Required. “The client secret Sentry signs deliveries with. Deliveries are rejected until it is set.” |
Select Continue, choose the tools in What the AI may do, then select Continue to test. The test reads one unresolved issue with your token. Nothing is saved until it passes. Then select Done.
After connecting, open the integration’s Connection tab, copy the Webhook URL, and paste it into Sentry: Settings, Integrations, your internal integration, Webhook URL. Axoryn rejects Sentry deliveries that aren’t signed with the webhook secret.
To change the URL, select Regenerate URL. “The current URL stops working immediately. Paste the new one into the provider’s settings.”
Limit lookups to one Sentry project
By default, lookups cover every project in the connected Sentry organization. To narrow them, set Project slug in the integration’s Connection tab and select Save and test. If you connected from Sentry, you can also pick a Sentry project right after connecting.
When you change the organization or project, Axoryn stops lookups until a connection test passes for the new scope.
What Axoryn reads
Sentry gives the AI two read tools:
| Tool | What it does |
|---|---|
| ”Search issues” | Searches unresolved issues in the connected organization or project. Returns up to 5. |
| ”Get issue” | Fetches one issue by its ID. |
In a conversation, each issue the AI gets contains only its ID, its title with email addresses replaced by [redacted], its status and when it was last seen. It doesn’t get the Sentry link, the culprit, the level or event counts.
Axoryn also drops any issue that belongs to a different Sentry organization or project than the connected one.
Which issues the AI may use
In a visitor conversation, the AI only sees:
- Issues tied to that visitor. Axoryn adds the visitor’s verified email to the Sentry search (Sentry’s
user.emailfilter) and drops results that mention a different email address. Your app’s Sentry events must include the user’s email. - Issues you marked shareable, for any visitor.
A visitor’s email counts as verified when your site calls identify() with the email and a user_hash computed over that email (with no user_id), or when the visitor opens a conversation link Axoryn emailed them. A user_hash computed over a user ID verifies the user ID, not the email, so it doesn’t enable per-visitor Sentry lookups on its own. See Identify your users.
Shareable issues
Some incidents affect everyone, and you may be happy to discuss them with any visitor. Open the integration, go to the AI tools tab, and add them under Shareable issues: paste the numeric issue ID or the issue link from Sentry, select Add, then select Save shareable issues. You can share up to 100 issues.
“The AI may read and explain these Sentry issues to any visitor, even one whose identity is not verified.” With no shareable issues: “The AI only discusses errors with the verified visitors they affect.”
Synced issues
Every 10 minutes, Axoryn syncs up to 50 unresolved issues from the connected organization or project. Sentry webhooks keep them current in between, and issues that leave Sentry’s unresolved list are marked resolved. The AI can match what a visitor describes against synced issues:
- Visitors with a verified identity (a valid
user_hashover a user ID or email, or an email proven through an emailed conversation link) may be matched against all of the project’s synced incidents, from Sentry and your other connectors. - Other visitors are only matched against Sentry issues you marked shareable. With no shareable issues, synced issues aren’t searched for them.
What your team sees
When a conversation is handed to your team, the handoff brief lists up to three related errors under Errors around this time, with full details and Sentry links, and, if Linear is connected, up to three Linear issues that look related to the top one. See Human handoff.
The inbox visitor panel lists the conversation’s Sentry lookups under Integration activity and any change waiting for approval under Waiting for your approval.
Changes to Sentry issues need approval
Sentry has three tools that change data:
| Tool | What it does |
|---|---|
| ”Resolve issue” | Sets the issue to resolved. |
| ”Assign issue” | Assigns the issue to a user email, username or team. |
| ”Comment on issue” | Posts a comment on the issue. |
They are off by default. To turn one on, open the integration, go to the AI tools tab, turn on the tool, and select Save AI tools.
Even when a tool is on, it never runs during a conversation on the AI’s own decision. The request waits under Needs you on the Integrations page until an owner or admin selects Approve and run or Reject. Visitors can never approve a change, and requests expire after 24 hours.
Before an approved change runs, Axoryn checks that the issue belongs to the connected Sentry organization and project, and that the parameters haven’t changed. If the scope changed since the request, the change fails with “Integration scope changed since approval; re-request approval”. See Integrations overview.
Automatic error fixes
On the Autopilot plan, Sentry errors can be turned into reviewed pull requests within budgets you set. See Autopilot.
Activity and health
The Activity tab lists every lookup and change the AI made through Sentry in the last 90 days, with parameters and results. The card shows its health (Working, Needs attention, Not working, Not checked yet) and any problem appears under Needs you with its fix. For app installs, the fix for an expired connection is Reconnect, which runs the Sentry install again.
Disconnect
Open the integration and select Disconnect, then confirm. For app installs the dialog says “This removes Sentry here and uninstalls the Axoryn app from your Sentry organization.” The AI stops using Sentry right away, synced issues from it are deleted, and automatic error fix settings that use it are removed.
If someone uninstalls the Axoryn app in Sentry, the integration turns off in Axoryn. Disconnect it and connect Sentry again.
Troubleshooting
| What you see | What to do |
|---|---|
| ”Could not connect Sentry. Try Connect again.” | Select Connect Sentry again. Nothing was changed. |
| ”This install link expired” | Install links last 1 hour. Start again from Sentry or from Integrations. |
| ”This link was already used” | Links work once. Open the Sentry integration in the project it was connected to. |
| ”We couldn’t find this install” | The link is incomplete, often because an email wrapped it. Start again. |
| Health Not checked yet and the AI finds no issues | Select Test connection in the Connection tab. |
| Test fails with HTTP 401 or HTTP 403 | The token was rejected or can’t read issues. Use a token with access to the organization, or reconnect the app. |
| Test fails with HTTP 404 | The organization or project slug is wrong. Check Organization slug and Project slug. |
| ”Webhook deliveries are rejected until a webhook secret is set.” | Select Add webhook secret and paste the client secret from your Sentry integration. |
| ”The connection expired.” | Select Reconnect to run the Sentry install again. |
| ”Sentry connection is not verified for a project scope; verify the connection again” or Sentry project scope changed; verify the connection again in the activity log | Select Test connection. |
| ”Sentry issue is outside the connected project” | The issue belongs to another Sentry project or organization. Nothing ran. |
| ”The provider is rate limiting requests.” | Axoryn retries automatically. |