How to connect Neon
Anyone with a Crewhir account can connect Neon. It takes about a minute, and you can connect more than one Neon account.
- Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
- Find Neon and open it, then click Connect Neon (or Add account if one is already connected).
- In Neon, create the credentials below, then paste them into the form:
- API key
- Project ID: Required for a project-scoped key.
- Click Connect. Crewhir checks the credentials with Neon before it saves them, and the account shows Connected.
Permissions Crewhir requests
Neon connects with an API key, so there is no OAuth consent screen. The key can do whatever Neon lets it do, but Crewhir only ever calls the actions listed under What Crewhir can read and modify. Where Neon offers scoped or read-only keys, use the narrowest one that covers the actions you want.
Keys are encrypted before they are stored, and are never shown again after you save them.
What Crewhir can read and modify in Neon
This is the complete list. Crewhir can’t call anything in Neon that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.
Read
Always on. Runs when you ask.
- Check which account is connected
- List projects
- List branches
- List databases
- Read branch
- List endpoints
- List roles
Modify
Off until you turn it on. Approved one at a time.
- Create branch
To let Crewhir make a change, open Neon in Integrations and turn it on under What Crewhir can change. Even then, Crewhir stops and asks before each change, and drops it if nobody answers within 15 minutes. Everything it changes is listed under Recent changes.
Test the integration
1. Check the connection
On the Neon page in Crewhir, click Check next to the account. Crewhir calls Neon with the stored credentials and confirms which account answered. You’ll see “account is working”.
2. Run a read action
Start a new chat. In the message box, open the tools menu and make sure Neon is ticked, then send:
Using Neon, list projects.
3. Test a change (with approval)
Turn on Create branch for the account, then ask Crewhir to do it. Crewhir stops and shows what it’s about to send to Neon. Click Approve to run it, or Decline to drop it. Nothing changes in Neon until you approve.
How to disconnect Neon
- In Crewhir, open Integrations, then Neon.
- Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
- Confirm with Disconnect.
Crewhir deletes the connection and its stored credentials straight away. From then on it can’t read or change anything in Neon.
To make sure the key can’t be used again, also delete or rotate it in Neon.
Data and security
- Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
- Crewhir only calls the 8 actions listed above, and only when someone in your workspace asks for something that needs Neon.
- Changes are off by default, need your approval each time, and are logged under Recent changes.
- Disconnecting deletes the stored credentials immediately.
Read more on our security page and in the privacy policy. Questions about this integration: [email protected].