# Neon + Lutril: setup guide

> Lutril connects to Neon with a personal API key and reads your organization members with their role, whether they have multi factor enabled and whether their Neon account has been deactivated. 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.

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

---

## Setup

1. [object Object]
2. [object Object]
3. Copy the key when it appears. Neon shows it once.
4. Find your organization ID. It is the org- value in Organization settings.
5. In Lutril, connect Neon and paste the key and the organization ID.
6. [object Object]
7. 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.
8. Neon will not leave an organization without an admin, so a change that would remove the last one is refused with an explanation rather than attempted.
9. A person whose Neon ACCOUNT is deactivated is refused rather than reported as reinstated. Deactivation belongs to their own Neon account rather than to the membership, and Neon's API cannot undo it, so they have to restore it themselves.
10. Removing somebody takes them out of the organization and leaves their Neon account alone, so the next grant invites them back.

## Access requested

- The key is not scope based. What matters is its KIND: Neon does not accept organization API keys for invitations or member removal at all, so it has to be a PERSONAL key.
- That personal key's account must itself be an admin of the organization, or Neon refuses every write while still returning the roster.

## References

- [Neon documentation](https://neon.com/docs/manage/orgs-api)
- [Neon console](https://console.neon.tech/app/settings/api-keys)
- [Neon organizations API](https://neon.com/docs/manage/orgs-api)
- [Remove an organization member](https://neon.com/docs/reference/api/organizations/remove-organization-member)
- [Managing organizations](https://neon.com/docs/manage/orgs-manage)
- [Adding members by domain](https://neon.com/docs/manage/orgs-add-members-by-domain)
