# Sentry + Lutril: setup guide

> Lutril connects to Sentry with an auth token and reads your organization members with their role, their last sign in, their last activity, whether they have two factor enabled and whether the membership came from your identity provider. Access is time boxed from both ends: a grant invites somebody or raises the organization role on a membership they already have, and the deadline writes the previous role back or removes the membership. A pending invitation is reported as pending rather than counted as access, because nobody has signed in with it yet.

Source: https://www.lutril.com/fr/integrations/sentry
Category: Security
Auth: api_key
Last verified: 2026-11-09

---

## Setup

1. [object Object]
2. [object Object]
3. Note the operational catch that comes with a user token: Sentry ties it to the person who created it, so it stops working if that person leaves the organization. Create it from an account you will keep, not from a leaver's.
4. Copy the token straight away. Sentry shows it once.
5. Find your organization slug. It is the name in your Sentry address, sentry.io/organizations/<slug>.
6. In Lutril, connect Sentry, paste the token and the slug. Leave the base URL empty for sentry.io, or set https://de.sentry.io or https://us.sentry.io for a region pinned organization, or your own address for self hosted Sentry.
7. [object Object]
8. A grant only ever raises a role. Anyone who already holds the role they asked for, or a higher one, is left exactly as they were, so a deadline can never take away access that Lutril did not grant.
9. An account that is the organization's only owner is refused rather than changed. Sentry will not let its last owner be demoted or removed, so a time boxed grant on one could not undo itself and Lutril says so instead of making it.
10. Removing somebody takes them out of the organization and leaves their Sentry account alone, so the next grant invites them back. Lutril never deletes a Sentry account.

## Access requested

- member:read (list the organization members and read one membership)
- member:write (invite, raise an organization role for a time boxed grant, restore the previous one, and remove a membership)

## References

- [Sentry documentation](https://docs.sentry.io/api/organizations/list-an-organizations-members/)
- [Sentry console](https://sentry.io/settings/account/api/auth-tokens/)
- [List an organization's members](https://docs.sentry.io/api/organizations/list-an-organizations-members/)
- [Add a member to an organization](https://docs.sentry.io/api/organizations/add-a-member-to-an-organization/)
- [Update an organization member's roles](https://docs.sentry.io/api/organizations/update-an-organization-members-roles/)
- [Sentry auth tokens](https://docs.sentry.io/account/auth-tokens/)
- [Sentry membership roles](https://docs.sentry.io/organization/membership/)
