--- title: Integrating with Neon subtitle: Choose the right integration path for your platform or application enableTableOfContents: true isDraft: false updatedOn: '2025-11-05T00:00:00.000Z' --- Neon provides multiple options for integrating Postgres into your platform, application, or service. Choose the integration approach that best matches your use case. ## ☑ 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 OAuth integration guide Example OAuth app --- ## ☑ 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 Neon API reference --- ## ☑ 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 AI Agent integration guide Database versioning ## Still not sure? If you're uncertain which path is right for you, here's a quick decision tree: 1. **Are you building an application or service that will manage/monitor/interact with existing Neon accounts?** → Use [OAuth integration](/docs/guides/oauth-integration) 2. **Are you offering Postgres databases as part of your SaaS platform?** → Use [Embedded Postgres](/docs/guides/embedded-postgres) 3. **Are you building an AI agent or codegen platform?** → Use [Neon for AI Agents](/docs/guides/ai-agent-integration) ## Get help We're here to support you through every step of your integration. Talk to our team Contact support