Skip to main content
The Neon provider enables you to create and manage serverless Postgres databases with Git-like branching, autoscaling, and instant provisioning.

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