← Neon overview Santhi Prakash

How-to guide

Neon: step-by-step

Neon is a serverless Postgres platform designed for applications and AI agents, featuring autoscaling, branching, and built-in authentication.

Download as PDF ↓
Neon screenshot

Step by step

Follow along

  1. 1

    Sign up for a free account

    Go to console.neon.tech/signup and create an account with your email, GitHub, or Google. The free plan includes a single project with a production branch and auto-scaling compute.

  2. 2

    Create your first project

    After sign-up, the onboarding wizard prompts you to create a Project — the top-level container for your branches and databases. Give it a name, choose a region, and Neon automatically provisions a 'production' branch with a database called 'neondb'.

  3. 3

    Run queries in the SQL Editor

    Open the SQL Editor from the left sidebar in the Neon Console. Your 'production' branch and 'neondb' database are pre-selected; click Run to execute queries directly in the browser without installing any local tools.

  4. 4

    Create a development branch

    Navigate to the Branches page and click 'Create branch', name it 'development', and select 'production' as the parent. Neon instantly clones your production data into an isolated copy you can safely modify.

  5. 5

    Install the Neon CLI and connect locally

    Install the CLI with 'brew install neonctl' (macOS) or 'npm install -g neonctl', then run 'neon auth' to authenticate via browser. Use 'neon connection-string development --psql' to open a psql session directly to your branch.

  6. 6

    Compare branches with Schema Diff

    After making schema changes on your development branch, go to the Branches page, open the branch detail, and click 'Open schema diff'. Select the two branches to compare and click Compare to see a GitHub-style diff of schema changes.

  7. 7

    Reset your branch to production

    When you are done with an experiment, run 'neon branches reset development --parent --project-id <your-project-id>' to discard all changes and return the branch to the current state of production.

Best practices

Do it like a pro

Free download

Get the Neon guide as a PDF

Keep the full guide — steps, shortcuts and best practices — with you. Drop your email and download it; we'll only send useful AI-building tips.

The PDF is watermarked and carries our links — please share it with the footer intact.

No spam — the PDF downloads instantly.

Ready to try Neon?

See Neon details & get started →

Latest from our channels

All channels →
Git Basics - Learn Git and Github - Coding Essentials Series

Git Basics - Learn Git and Github - Coding Essentials Series

@ezcademy

How to Optimize Storage in Windows Operating System

How to Optimize Storage in Windows Operating System

@ezcademy

Claim Fast - Bolt, Hostinger and other tools as Bundle offer for 1 year

Claim Fast - Bolt, Hostinger and other tools as Bundle offer for 1 year

@ezcademy

Get Bolt, Hostinger for 1 year as Appsumo Bundle Offer #boltnew #hostinger

Get Bolt, Hostinger for 1 year as Appsumo Bundle Offer #boltnew #hostinger

@ezcademytelugu

BoltNew to Github Repository Sync

BoltNew to Github Repository Sync

@ezcademytelugu

bolt is free for 48 hours in Telugu #hackathon #bolt.new

bolt is free for 48 hours in Telugu #hackathon #bolt.new

@ezcademytelugu

Get Bolt, Pica, Emergent and Hostinger for 1 year as Appsumo Bundle Offer #hostingerpromocode

Get Bolt, Pica, Emergent and Hostinger for 1 year as Appsumo Bundle Offer #hostingerpromocode

@ezcademyhindi

Bolt is free for 48 hours #boltnew #bolthackathon

Bolt is free for 48 hours #boltnew #bolthackathon

@ezcademyhindi

Lovable extended the time for Participation in #lovableshipped

Lovable extended the time for Participation in #lovableshipped

@ezcademyhindi

Claude fable 5 available now in Cursor

Claude fable 5 available now in Cursor

@santhiprakashb

AI Deepfakes - How can you Spot?

AI Deepfakes - How can you Spot?

@santhiprakashb

Mulerun by Alibaba Cloud for your AI Workforce #alibabacloud #openclaw

Mulerun by Alibaba Cloud for your AI Workforce #alibabacloud #openclaw

@santhiprakashb

Git Basics - Learn Git and Github - Coding Essentials Series

Git Basics - Learn Git and Github - Coding Essentials Series

@ezcademy

How to Optimize Storage in Windows Operating System

How to Optimize Storage in Windows Operating System

@ezcademy

Claim Fast - Bolt, Hostinger and other tools as Bundle offer for 1 year

Claim Fast - Bolt, Hostinger and other tools as Bundle offer for 1 year

@ezcademy

Get Bolt, Hostinger for 1 year as Appsumo Bundle Offer #boltnew #hostinger

Get Bolt, Hostinger for 1 year as Appsumo Bundle Offer #boltnew #hostinger

@ezcademytelugu

BoltNew to Github Repository Sync

BoltNew to Github Repository Sync

@ezcademytelugu

bolt is free for 48 hours in Telugu #hackathon #bolt.new

bolt is free for 48 hours in Telugu #hackathon #bolt.new

@ezcademytelugu

Get Bolt, Pica, Emergent and Hostinger for 1 year as Appsumo Bundle Offer #hostingerpromocode

Get Bolt, Pica, Emergent and Hostinger for 1 year as Appsumo Bundle Offer #hostingerpromocode

@ezcademyhindi

Bolt is free for 48 hours #boltnew #bolthackathon

Bolt is free for 48 hours #boltnew #bolthackathon

@ezcademyhindi

Lovable extended the time for Participation in #lovableshipped

Lovable extended the time for Participation in #lovableshipped

@ezcademyhindi

Claude fable 5 available now in Cursor

Claude fable 5 available now in Cursor

@santhiprakashb

AI Deepfakes - How can you Spot?

AI Deepfakes - How can you Spot?

@santhiprakashb

Mulerun by Alibaba Cloud for your AI Workforce #alibabacloud #openclaw

Mulerun by Alibaba Cloud for your AI Workforce #alibabacloud #openclaw

@santhiprakashb