Using Replit Agent? Learn how to add a configured Postgres database to your apps with a single prompt

Instant branching for Postgres

Neon allows you to instantly branch your data the same way that you branch your code.

Branch your data with single click or API call

Instant branches

Seamless integration

Supercharge your development workflows with branching

Deploy

Instantly deploy development, test, and staging environments with an up-to-date copy of your production data.

Develop

Create a branch of your production database that developers are free to play with and modify — better yet, create a branch for each developer.

Integrate

Use the Neon API to integrate branching into your development workflows. The Neon API provides full access to Neon's branching capabilities.

Preview

Easily spin up a database branch for each PR preview to facilitate reviews and testing.

Test

Confidently test new features with real data, without the hassle of creating and restoring database dumps. Create and hydrate test databases with a single click or API call.

Data recovery and debugging

  1. 1.

    Create a branch from a past point in time to reproduce an issue.

  2. 2.

    Instantly restore a production database from a past point in time.

  3. 3.

    Recover lost data with a branch created from a past point in time.

  4. 4.

    Instantly create backup branches that you can connect to and inspect at any time.

Run simulations and answer What if questions

Perform scenario analysis on production-like data

Optimize queries
on production data

A/B test
new products

Try branching in your project now

Try branching now