Text-to-SQL for Neon PostgreSQL
Connect your Neon serverless PostgreSQL database to Chion and ask questions in plain English. Chion generates verified SQL, executes it read-only against your Neon branch, and renders interactive charts. All credentials are encrypted in vault — Neon's connection string is parsed into six fields on paste.
Example question & SQL
See what Chion generates from a plain-English question.
You ask
"Show me signup trends by week for the last 3 months"
Chion generates
SELECT
date_trunc('week', created_at) AS week,
COUNT(*) AS signups
FROM users
WHERE created_at >= now() - interval '3 months'
GROUP BY 1
ORDER BY 1;Finding your Neon credentials
Project Dashboard → Connect button
Project Dashboard → Connect button
| Field | Where to Find | Default |
|---|---|---|
| Server (Host) | Connect modal → displayed in connection string | ep-<name>-<id>.us-east-2.aws.neon.tech |
| Port | Connect modal | 5432 |
| Database | Connect modal — selectable dropdown | neondb |
| Schema | Not in UI — default is public | public |
| User (Role) | Connect modal — selectable dropdown | neondb_owner |
| Password | Shown in the connection string in the Connect modal | (always visible in modal) |
Quick steps
- 1.Log in at console.neon.tech
- 2.Select your project
- 3.Click the Connect button on the Project Dashboard
- 4.The "Connect to your database" modal opens
- 5.Select your Branch, Compute, Database, and Role from dropdowns
- 6.All connection parameters including password are displayed in the connection string
- 7.Toggle Connection pooling on/off to switch between pooled and direct connections
Password is always visible in the Connect modal — no need to reset.
Open Neon consoleNeon troubleshooting
Common issues and how to fix them.
Serverless cold-start delay
Neon computes scale to zero after inactivity. The first query after a cold start may take 1–3 seconds while the compute wakes up. Subsequent queries run at normal speed. To avoid cold starts, enable Neon's "Always on" compute setting.
Branch confusion — wrong data
Neon uses branches. Make sure you selected the correct branch in the Connect modal before copying credentials. Each branch has its own endpoint hostname.
Connection pooling toggle
In the Neon Connect modal, toggle "Connection pooling" on for pooled connections or off for direct. Chion works with both modes.
Your credentials are encrypted
All connection credentials are encrypted with AES-256-GCM and stored in an isolated vault. Chion connects with read-only permissions — no INSERT, UPDATE, or DELETE is ever possible. Row-level security policies are honored on every query.
Read our security modelFrequently asked questions
Common questions about using Chion with Neon.
Can I connect Chion to a Neon branch?
Does Chion work with Neon's free tier?
What is the default database name on Neon?
Ready to connect your Neon database?
Open Chion, enter your credentials, and start asking questions in plain English.
Start your trial