Installation
Credentials
Get your Neon API key from the Neon console and set it as an environment variable:Available resources
- Database - Serverless Postgres database
- Branch - Git-like database branch
- Endpoint - Compute endpoint for a database
Example usage
Use with Cloudflare Hyperdrive
Neon works great with Cloudflare Hyperdrive for connection pooling:Database branching
Neon’s branching feature allows you to create instant copies of your database:Next steps
Neon API
Complete API reference
Hyperdrive
Connection pooling