Set up credentials
Adapt connects to Neon using your project’s Postgres connection string.Open your Neon project
Sign in to the Neon Console and select your
project.
Open the Connect widget
On the Project Dashboard, click Connect to open the Connect to
your database modal.
Neon requires SSL, so keep the
sslmode=require parameter in your connection
string. You can toggle connection pooling in the Connect widget; the pooled
host includes a -pooler suffix.Connect to Adapt
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
NEON_DATABASE_URL | Your Neon connection string |
Security
- Credentials are encrypted at rest with AES-256
- Connect with a role that has only the privileges Adapt needs, such as read-only
SELECTaccess - Keep
sslmode=requireso all connections use SSL - If your connection string is ever exposed, reset the role’s password in the Neon Console
- Never share your connection string publicly or commit it to source control