Neon documentation
Getting started. Start with a one command setup, or follow a guided tutorial to build the full Neon stack step by step. Products. Build backends for web apps and agents with Lakebase Postgres, Auth, O...
Getting started
Section titled “Getting started”Start with a one-command setup, or follow a guided tutorial to build the full Neon stack step by step.
Quick~5 min
One-command setup
Section titled “One-command setup”Sets up Neon for your AI coding agent, links a project, and writes your DATABASE_URL to .env. Copy the command below to get started.
Guided~10 min
Build a full backend
Section titled “Build a full backend”Next.js on the full Neon backend: Lakebase Postgres, Auth, Object Storage, and AI Gateway, from create-next-app to deployed.
Tutorial~15 min
Tour the Neon backend
Section titled “Tour the Neon backend”Learn how Lakebase Postgres, Managed Better Auth, Object Storage, Functions, and the AI Gateway connect across a real project, and where each one lives in your codebase.
Products
Section titled “Products”Build backends for web apps and agents with Lakebase Postgres, Auth, Object Storage, and AI Gateway.
Every service is agent-ready: instant, branchable, and serverless.
Lakebase Postgres
Serverless Postgres with branching, autoscaling, scale to zero, and instant restore.
Auth
Managed Better Auth with sign-up, OAuth, and sessions. Users live in your Postgres and branch with it.
Object Storage
S3-compatible object storage that branches with your database.
Functions
Long-running serverless functions on Node.js, deployed alongside your database, with triggers and custom domains.
AI Gateway
One API for frontier and open-source models at provider prices with no markup, built into your Neon project.
Lakebase Search
Vector, keyword, and hybrid search built into Postgres, so agent retrieval and RAG need no separate vector store.
New to Object Storage, Functions, or AI Gateway? Start with the Neon backend overview.
Connect your framework
Section titled “Connect your framework”Browse our framework, language, and ORM guides for full connection details.

Next.js
Django
Drizzle
React Router
TanStack Start
Express
NestJS
Astro
SvelteKit
Nuxt
Laravel
Rails
AI tools and agents
Section titled “AI tools and agents”Neon integrates with AI coding tools and agents through MCP. Pick your editor for setup and integration details.

CursorConnect Neon to Cursor
Claude CodeConnect Neon to Claude Code
CodexConnect Neon to OpenAI Codex
GitHub CopilotConnect Neon to GitHub Copilot