Skip to content

Neon Postgres

Beta

Overview

Neon is serverless Postgres built for the cloud.

Neon separates storage and compute to offer database branching, scale-to-zero, and bottomless storage.

Using Neon with Vercel enables you to deploy a managed Postgres backend in seconds and automatically spin up a database branch for each preview deployment.

To get started, all you need is a Vercel project.

Additional Information

What the integration does

The integration connects to your Neon database and sets environment variables in your Vercel project. The integration also creates a database branch in Neon for each GitHub branch created with a Vercel deployment preview. Optionally, the integration creates a development branch in Neon for your Vercel development environment.

Environment variables

The integration sets these environment variables in your Vercel production environment:

  • PGHOST
  • PGUSER
  • PGDATABASE
  • PGPASSWORD
  • DATABASE_URL

The same variables are set in your preview environment when a branch is created for a preview deployment, and in your development environment if you choose to create a development branch.

Provide feedback

This is a Beta version of Neon’s Vercel integration. For assistance or to suggest improvements, contact vercel-feedback@neon.tech.

Get started with Vercel and Neon Postgres.