Connect to Neon
This section covers all the ways to connect to your Neon database, from standard Postgres connections to specialized drivers and tools. For framework specific guides and quick starts, see Get Started....
This section covers all the ways to connect to your Neon database, from standard Postgres connections to specialized drivers and tools. For framework-specific guides and quick starts, see Get Started.
Getting started with connections
Section titled “Getting started with connections”Connect from any app
Learn about connection strings and how to connect to Neon from any application
Choose a connection type
How to select the right driver and connection type for your application
Connection methods
Section titled “Connection methods”Neon serverless driver
Connect from serverless and edge environments over HTTP or WebSockets
Data API
Query Postgres via HTTP without database drivers or connection pooling
Connect with psql
Connect with psql, the native command-line client for Postgres
GUI applications
Connect from GUI tools like pgAdmin, DBeaver, and TablePlus
VS Code Extension
Connect to Neon branches and manage your database directly in VS Code, Cursor, and other editors
Neon CLI (neon psql)
Open a psql session from the Neon CLI without a connection string or a psql install
Optimize and secure your connections
Section titled “Optimize and secure your connections”Connection pooling
Enable connection pooling to support up to 10,000 concurrent connections
Secure connections
Connect securely using SSL/TLS encryption and certificate verification
Latency and timeouts
Strategies for managing connection latency and timeouts