Neon provides multiple options for integrating Postgres into your platform, application, or service. Choose the integration approach that best matches your use case.
☑ AI Agents integration
Best for: AI agent and codegen platforms that need database versioning and isolated environments
Use this approach if you're building an AI agent platform or code generation service where agents create and manage databases programmatically. This integration includes everything from the embedded Postgres approach, plus specific features for agent workflows.
Key features:
- Two-organization structure (free tier sponsored by Neon, paid tier for your paying users)
- Database versioning with snapshots and point-in-time recovery
- Isolated development environments per user
- Project transfers between organizations when users upgrade
- Agent-specific pricing and rate limits
- Dedicated support channel
Example use cases:
- AI agent platforms
- Code generation platforms
- LLM-powered development tools
- Autonomous database management tools
Agent plan
Learn about the Neon Agent plan and how to enroll
AI Agent integration guide
Learn about the agent-specific integration
Database versioning
Learn about database versioning for AI agents
☑ Claimable database flow (Instagres)
Best for: Plugins and platforms that want to offer instant database provisioning as part of their developer experience without requiring user signup
Use this approach when you want to create databases for your users without requiring them to create a Neon account first. Users receive a connection string immediately and can optionally claim ownership of the database later by creating a Neon account. This is ideal for CLI tools, framework plugins, and platforms that want to streamline onboarding.
Key features:
- Instant database provisioning with no user signup required
- 72-hour database lifespan if not claimed
- Seamless ownership transfer when users are ready
- Connection strings remain valid after claiming
- Configurable transfer request expiration
Example use cases:
- Framework plugins and CLI tools (like TanStack's Vite plugin)
- Demo environments and trial experiences
- Educational platforms providing databases to students
- Development tools that need instant database access
- SaaS applications with deferred account creation
- AI agents requiring database access without authentication overhead
Example implementations:
- TanStack — Official database partner offering instant Postgres through their Vite plugin and create-tanstack CLI
- Netlify DB — One-click Postgres databases for Netlify projects, built on the claimable database flow
- Instagres — Try instant Postgres provisioning without signup using
npx get-dbor at neon.new
Claimable database guide
Learn how to implement claimable databases
Instagres documentation
See Instagres implementation details
☑ Embedded Postgres integration
Best for: SaaS platforms and services that offer Postgres databases to their users
Use the embedded Postgres approach when you want to provision and manage Postgres databases on behalf of your users as part of your platform's offering. This is the project-per-user model where you create isolated Neon projects for each of your users via the Neon API.
Key features:
- Instant database provisioning (< 1 second)
- Complete data isolation per user
- Scale-to-zero for cost efficiency
- Configure consumption limits per user
- Track usage for billing
- Full API control over resources
Example use cases:
- SaaS platforms offering Postgres as a feature
- Low-code/no-code platforms
- Development platforms
- Enterprise platforms requiring isolated databases per customer
Embedded Postgres guide
Learn how to embed Postgres in your platform
Neon API reference
Explore the Neon API
☑ OAuth integration
Best for: Tools and applications that need to interact with existing Neon user accounts
Use OAuth when you're building a tool or service that connects to existing Neon accounts. Your application will interact with user accounts and perform authorized actions like creating, reading, and modifying Neon database projects on their behalf, without requiring direct access to user credentials.
Key features:
- Secure, user-authorized access to Neon accounts
- Access control through OAuth scopes
- Users maintain full ownership of their Neon accounts
Example use cases:
- Database management tools
- Monitoring and observability platforms
- CI/CD integrations that connect to existing Neon projects
- Tools that visualize or analyze Neon resources
Example implementation:
- Hasura Cloud — Uses OAuth to seamlessly authenticate users and provision Neon databases from Hasura projects
OAuth integration guide
Learn how to integrate with Neon using OAuth
Example OAuth app
See a working OAuth integration example
Still not sure?
If you're uncertain which path is right for you, here's a quick decision tree:
-
Are you building an AI agent or codegen platform?
→ Use Neon for AI Agents -
Are you building a plugin, CLI tool, or platform that needs instant Postgres without requiring user signup?
→ Use Claimable database flow -
Are you offering Postgres databases as part of your SaaS platform?
→ Use Embedded Postgres -
Are you building an application or service that will manage/monitor/interact with existing Neon accounts?
→ Use OAuth integration
Get help
We're here to support you through every step of your integration.








