[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-xai-neon-postgres":3,"mdc-o74j5f-key":37,"related-org-xai-neon-postgres":1416,"related-repo-xai-neon-postgres":1451},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"neon-postgres","manage Neon Serverless Postgres databases","Guides and best practices for working with Neon Serverless Postgres. Covers setup, connection methods, branching, autoscaling, scale-to-zero, read replicas, connection pooling, Neon Auth, and the Neon CLI, MCP server, REST API, TypeScript SDK, and Python SDK. Use when users ask about \"Neon setup\", \"connect to Neon\", \"Neon project\", \"DATABASE_URL\", \"serverless Postgres\", \"Neon CLI\", \"neonctl\", \"Neon MCP\", \"Neon Auth\", \"@neondatabase\u002Fserverless\", \"@neondatabase\u002Fneon-js\", \"scale to zero\", \"Neon autoscaling\", \"Neon read replica\", or \"Neon connection pooling\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"xai","xAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fxai.png","xai-org",[13,17,20,23],{"name":14,"slug":15,"type":16},"Neon","neon","tag",{"name":18,"slug":19,"type":16},"Database","database",{"name":21,"slug":22,"type":16},"PostgreSQL","postgresql",{"name":24,"slug":25,"type":16},"Serverless","serverless",78,"https:\u002F\u002Fgithub.com\u002Fxai-org\u002Fplugin-marketplace","2026-07-18T05:48:04.497977",null,58,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Official xAI plugin marketplace","https:\u002F\u002Fgithub.com\u002Fxai-org\u002Fplugin-marketplace\u002Ftree\u002FHEAD\u002Fexternal_plugins\u002Fneon\u002Fskills\u002Fneon-postgres","---\nname: neon-postgres\ndescription: >-\n  Guides and best practices for working with Neon Serverless Postgres.\n  Covers setup, connection methods, branching, autoscaling, scale-to-zero,\n  read replicas, connection pooling, Neon Auth, and the Neon CLI, MCP server,\n  REST API, TypeScript SDK, and Python SDK.\n  Use when users ask about \"Neon setup\", \"connect to Neon\", \"Neon project\",\n  \"DATABASE_URL\", \"serverless Postgres\", \"Neon CLI\", \"neonctl\", \"Neon MCP\",\n  \"Neon Auth\", \"@neondatabase\u002Fserverless\", \"@neondatabase\u002Fneon-js\",\n  \"scale to zero\", \"Neon autoscaling\", \"Neon read replica\", or\n  \"Neon connection pooling\".\n---\n\n# Neon Serverless Postgres\n\nGuide the user through any Neon-related task: setup, connections, branching, and advanced features. Deliver a working Neon connection, a completed feature configuration, or a specific answer from the official Neon docs.\n\nNeon is a serverless Postgres platform that separates compute and storage to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.\n\n## Neon Documentation\n\nThe Neon documentation is the source of truth for all Neon-related information. Always verify claims against the official docs before responding. Neon features and APIs evolve, so prefer fetching current docs over relying on training data.\n\n### Fetching Docs as Markdown\n\nAny Neon doc page can be fetched as markdown in two ways:\n\n1. **Append `.md` to the URL** (simplest): https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranching.md\n2. **Request `text\u002Fmarkdown`** on the standard URL: `curl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranching`\n\nBoth return the same markdown content. Use whichever method your tools support.\n\n### Finding the Right Page\n\nThe docs index lists every available page with its URL and a short description:\n\n```\nhttps:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt\n```\n\nCommon doc URLs are organized in the topic links below. If you need a page not listed here, search the docs index: https:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt. Don't guess URLs.\n\n## What Is Neon\n\nUse this for architecture explanations and terminology (organizations, projects, branches, endpoints) before giving implementation advice.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Farchitecture-overview.md\n\n## Getting Started\n\nUse this section when guiding a user through first-time Neon setup.\n\n### Check Status Quo\n\nBefore starting setup, inspect the user's codebase and environment:\n\n- Existing database connection code\n- Existing Neon MCP server or Neon CLI configuration\n- Existence of a `.env` file and `DATABASE_URL` environment variable\n- Existing ORM (Prisma, Drizzle, TypeORM) configuration\n\n### Self-Driving Setup With Neon's CLI or MCP Server\n\nOffer to inspect existing connected Neon projects or create new ones using the Neon CLI or MCP server. If neither is set up yet, run init with the `--agent` flag. Use `npx -y` to skip the package install prompt. Auth is handled automatically. If the user is not logged in, it opens their browser for OAuth and waits for completion before proceeding.\n\n```bash\nnpx -y neonctl@latest init --agent \u003Cagent-name>\n```\n\nSupported `--agent` values: `cursor`, `copilot`, `claude`, `claude-desktop`, `codex`, `opencode`, `cline`, `gemini-cli`, `goose`, `zed`.\n\nThis installs the Neon extension (for Cursor\u002FVS Code) or MCP server (for other agents), creates an API key, and adds the `neon-postgres` agent skill to the project.\n\nIf `init` is not suitable, the individual steps can be run non-interactively:\n\n- **Extension:** `cursor --install-extension databricks.neon-local-connect`\n- **MCP server:** `npx -y add-mcp https:\u002F\u002Fmcp.neon.tech\u002Fmcp -g -n Neon -y -a \u003Cagent-name>`\n- **Agent skill:** `npx skills add neondatabase\u002Fagent-skills --skill neon-postgres --agent \u003Cagent-name> -y`\n\nFor full CLI installation options, see https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fcli-install.md\n\n### Setup Flow\n\n**1. Select Organization and Project**\n\nUse MCP server or CLI to list organizations and projects. Let the user select an existing project or create a new one.\n\n**2. Get Connection String**\n\nUse MCP server or CLI to get the connection string. Store it in `.env` as `DATABASE_URL`. Read the file first before modifying to avoid overwriting existing values.\n\n**3. Pick Connection Method & Driver**\n\nRefer to the connection methods guide to pick the correct driver based on deployment platform: https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fchoose-connection.md\n\n**4. User Authentication with Neon Auth (if needed)**\n\nSkip for CLI tools, scripts, or apps without user accounts. If the app needs auth: use MCP server `provision_neon_auth` tool, then see the auth overview (https:\u002F\u002Fneon.com\u002Fdocs\u002Fauth\u002Foverview.md) for setup. For auth + database queries, see the JavaScript SDK reference (https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fjavascript-sdk.md).\n\n**5. ORM Setup (optional)**\n\nCheck for existing ORM (Prisma, Drizzle, TypeORM). If none, ask if they want one. For Drizzle integration, see https:\u002F\u002Fneon.com\u002Fdocs\u002Fguides\u002Fdrizzle.md.\n\n**6. Schema Setup**\n\n- Check for existing migration files or ORM schemas\n- If none: offer to create an example schema or design one together\n\n### Resume Support\n\nIf resuming setup, check what's already configured (MCP connection, `.env` with `DATABASE_URL`, dependencies, schema) and continue from the next incomplete step.\n\n### Security Reminders\n\nRemind users to use environment variables for credentials, never commit connection strings, and use least-privilege database roles.\n\n## Connection Methods & Drivers\n\nUse this when you need to pick the correct transport and driver based on runtime constraints (TCP, HTTP, WebSocket, edge, serverless, long-running).\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fchoose-connection.md\n\n### Serverless Driver\n\nUse this for `@neondatabase\u002Fserverless` patterns, including HTTP queries, WebSocket transactions, and runtime-specific optimizations.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fserverless\u002Fserverless-driver.md\n\n### Neon JS SDK\n\nUse this for combined Neon Auth + Data API workflows with PostgREST-style querying and typed client setup.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fjavascript-sdk.md\n\n## Developer Tools\n\nUse this for local development enablement with `npx -y neonctl@latest init --agent \u003Cagent-name>`, VSCode extension setup, and Neon MCP server configuration.\n\n| Tool             | URL                                             |\n| ---------------- | ----------------------------------------------- |\n| CLI Init Command | https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fcli-init.md     |\n| VSCode Extension | https:\u002F\u002Fneon.com\u002Fdocs\u002Flocal\u002Fvscode-extension.md |\n| MCP Server       | https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fneon-mcp-server.md     |\n| Neon CLI         | https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fneon-cli.md     |\n\n### Neon CLI\n\nUse this for terminal-first workflows, scripts, and CI\u002FCD automation with `neonctl`.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fneon-cli.md\n\n## Neon Admin API\n\nThe Neon Admin API can be used to manage Neon resources programmatically. It is used behind the scenes by the Neon CLI and MCP server, but can also be used directly for more complex automation workflows or when embedding Neon in other applications.\n\n### Neon REST API\n\nUse this for direct HTTP automation, endpoint-level control, API key auth, rate-limit handling, and operation polling.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fapi-reference.md\n\n### Neon TypeScript SDK\n\nUse this when implementing typed programmatic control of Neon resources in TypeScript via `@neondatabase\u002Fapi-client`.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Ftypescript-sdk.md\n\n### Neon Python SDK\n\nUse this when implementing programmatic Neon management in Python with the `neon-api` package.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fpython-sdk.md\n\n## Neon Auth\n\nUse this for managed user authentication setup, UI components, auth methods, and Neon Auth integration pitfalls in Next.js and React apps.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fauth\u002Foverview.md\n\nNeon Auth is also embedded in the Neon JS SDK. Depending on your use case, you may want to use the Neon JS SDK instead of Neon Auth alone. See https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fchoose-connection.md for more details.\n\n## Branching\n\nUse this when the user is planning isolated environments, schema migration testing, preview deployments, or branch lifecycle automation.\n\nKey points:\n\n- Branches are instant, copy-on-write clones (no full data copy).\n- Each branch has its own compute endpoint.\n- Use the neonctl CLI or MCP server to create, inspect, and compare branches.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranching.md\n\nFor detailed branch creation workflows (normal vs schema-only branches, reset-from-parent, CLI\u002FMCP selection), use the `neon-postgres-branches` skill if available \n\nOr fetch the full branching skill from the following URL:\n\nhttps:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon-postgres-branches\u002FSKILL.md\n\nIf this skill is not installed you can use the following command to install it:\n\n```bash\nnpx skills add neondatabase\u002Fagent-skills --skill neon-postgres-branches\n```\n\n## Autoscaling\n\nUse this when the user needs compute to scale automatically with workload and wants guidance on CU sizing and runtime behavior.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fautoscaling.md\n\n## Scale to Zero\n\nUse this when optimizing idle costs and discussing suspend\u002Fresume behavior, including cold-start trade-offs.\n\nKey points:\n\n- Idle computes suspend automatically (default 5 minutes, configurable) (unless disabled - launch & scale plan only)\n- First query after suspend typically has a cold-start penalty (around hundreds of ms)\n- Storage remains active while compute is suspended.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fscale-to-zero.md\n\n## Instant Restore\n\nUse this when the user needs point-in-time recovery or wants to restore data state without traditional backup restore workflows.\n\nKey points:\n\n- History windows for instant restore depend on plan limits.\n- Users can create branches from historical points-in-time.\n- Time Travel queries can be used for historical inspection workflows.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranch-restore.md\n\n## Read Replicas\n\nUse this for read-heavy workloads where the user needs dedicated read-only compute without duplicating storage.\n\nKey points:\n\n- Replicas are read-only compute endpoints sharing the same storage.\n- Creation is fast and scaling is independent from primary compute.\n- Typical use cases: analytics, reporting, and read-heavy APIs.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fread-replicas.md\n\n## Connection Pooling\n\nUse this when the user is in serverless or high-concurrency environments and needs safe, scalable Postgres connection management.\n\nKey points:\n\n- Neon pooling uses PgBouncer.\n- Add `-pooler` to endpoint hostnames to use pooled connections.\n- Pooling is especially important in serverless runtimes with bursty concurrency.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fconnection-pooling.md\n\n## IP Allow Lists\n\nUse this when the user needs to restrict database access by trusted networks, IPs, or CIDR ranges.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fip-allow.md\n\n## Logical Replication\n\nUse this when integrating CDC pipelines, external Postgres sync, or replication-based data movement.\n\nKey points:\n\n- Neon supports native logical replication workflows.\n- Useful for replicating to\u002Ffrom external Postgres systems.\n\nLink: https:\u002F\u002Fneon.com\u002Fdocs\u002Fguides\u002Flogical-replication-guide.md\n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,51,57,62,69,74,81,86,141,146,152,157,169,182,188,193,204,210,215,221,226,266,272,293,357,441,453,466,515,526,532,540,545,553,572,580,591,599,628,636,648,656,669,675,694,700,705,711,716,725,731,744,754,760,765,774,780,793,889,894,906,915,921,926,932,937,947,953,965,975,981,994,1004,1010,1015,1024,1036,1042,1047,1052,1070,1079,1092,1097,1106,1111,1150,1156,1161,1171,1177,1182,1186,1204,1214,1220,1225,1229,1247,1257,1263,1268,1272,1290,1300,1306,1311,1315,1341,1351,1357,1362,1372,1378,1383,1387,1400,1410],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"neon-serverless-postgres",[48],{"type":49,"value":50},"text","Neon Serverless Postgres",{"type":43,"tag":52,"props":53,"children":54},"p",{},[55],{"type":49,"value":56},"Guide the user through any Neon-related task: setup, connections, branching, and advanced features. Deliver a working Neon connection, a completed feature configuration, or a specific answer from the official Neon docs.",{"type":43,"tag":52,"props":58,"children":59},{},[60],{"type":49,"value":61},"Neon is a serverless Postgres platform that separates compute and storage to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.",{"type":43,"tag":63,"props":64,"children":66},"h2",{"id":65},"neon-documentation",[67],{"type":49,"value":68},"Neon Documentation",{"type":43,"tag":52,"props":70,"children":71},{},[72],{"type":49,"value":73},"The Neon documentation is the source of truth for all Neon-related information. Always verify claims against the official docs before responding. Neon features and APIs evolve, so prefer fetching current docs over relying on training data.",{"type":43,"tag":75,"props":76,"children":78},"h3",{"id":77},"fetching-docs-as-markdown",[79],{"type":49,"value":80},"Fetching Docs as Markdown",{"type":43,"tag":52,"props":82,"children":83},{},[84],{"type":49,"value":85},"Any Neon doc page can be fetched as markdown in two ways:",{"type":43,"tag":87,"props":88,"children":89},"ol",{},[90,119],{"type":43,"tag":91,"props":92,"children":93},"li",{},[94,109,111],{"type":43,"tag":95,"props":96,"children":97},"strong",{},[98,100,107],{"type":49,"value":99},"Append ",{"type":43,"tag":101,"props":102,"children":104},"code",{"className":103},[],[105],{"type":49,"value":106},".md",{"type":49,"value":108}," to the URL",{"type":49,"value":110}," (simplest): ",{"type":43,"tag":112,"props":113,"children":117},"a",{"href":114,"rel":115},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranching.md",[116],"nofollow",[118],{"type":49,"value":114},{"type":43,"tag":91,"props":120,"children":121},{},[122,133,135],{"type":43,"tag":95,"props":123,"children":124},{},[125,127],{"type":49,"value":126},"Request ",{"type":43,"tag":101,"props":128,"children":130},{"className":129},[],[131],{"type":49,"value":132},"text\u002Fmarkdown",{"type":49,"value":134}," on the standard URL: ",{"type":43,"tag":101,"props":136,"children":138},{"className":137},[],[139],{"type":49,"value":140},"curl -H \"Accept: text\u002Fmarkdown\" https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranching",{"type":43,"tag":52,"props":142,"children":143},{},[144],{"type":49,"value":145},"Both return the same markdown content. Use whichever method your tools support.",{"type":43,"tag":75,"props":147,"children":149},{"id":148},"finding-the-right-page",[150],{"type":49,"value":151},"Finding the Right Page",{"type":43,"tag":52,"props":153,"children":154},{},[155],{"type":49,"value":156},"The docs index lists every available page with its URL and a short description:",{"type":43,"tag":158,"props":159,"children":163},"pre",{"className":160,"code":162,"language":49},[161],"language-text","https:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt\n",[164],{"type":43,"tag":101,"props":165,"children":167},{"__ignoreMap":166},"",[168],{"type":49,"value":162},{"type":43,"tag":52,"props":170,"children":171},{},[172,174,180],{"type":49,"value":173},"Common doc URLs are organized in the topic links below. If you need a page not listed here, search the docs index: ",{"type":43,"tag":112,"props":175,"children":178},{"href":176,"rel":177},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt",[116],[179],{"type":49,"value":176},{"type":49,"value":181},". Don't guess URLs.",{"type":43,"tag":63,"props":183,"children":185},{"id":184},"what-is-neon",[186],{"type":49,"value":187},"What Is Neon",{"type":43,"tag":52,"props":189,"children":190},{},[191],{"type":49,"value":192},"Use this for architecture explanations and terminology (organizations, projects, branches, endpoints) before giving implementation advice.",{"type":43,"tag":52,"props":194,"children":195},{},[196,198],{"type":49,"value":197},"Link: ",{"type":43,"tag":112,"props":199,"children":202},{"href":200,"rel":201},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Farchitecture-overview.md",[116],[203],{"type":49,"value":200},{"type":43,"tag":63,"props":205,"children":207},{"id":206},"getting-started",[208],{"type":49,"value":209},"Getting Started",{"type":43,"tag":52,"props":211,"children":212},{},[213],{"type":49,"value":214},"Use this section when guiding a user through first-time Neon setup.",{"type":43,"tag":75,"props":216,"children":218},{"id":217},"check-status-quo",[219],{"type":49,"value":220},"Check Status Quo",{"type":43,"tag":52,"props":222,"children":223},{},[224],{"type":49,"value":225},"Before starting setup, inspect the user's codebase and environment:",{"type":43,"tag":227,"props":228,"children":229},"ul",{},[230,235,240,261],{"type":43,"tag":91,"props":231,"children":232},{},[233],{"type":49,"value":234},"Existing database connection code",{"type":43,"tag":91,"props":236,"children":237},{},[238],{"type":49,"value":239},"Existing Neon MCP server or Neon CLI configuration",{"type":43,"tag":91,"props":241,"children":242},{},[243,245,251,253,259],{"type":49,"value":244},"Existence of a ",{"type":43,"tag":101,"props":246,"children":248},{"className":247},[],[249],{"type":49,"value":250},".env",{"type":49,"value":252}," file and ",{"type":43,"tag":101,"props":254,"children":256},{"className":255},[],[257],{"type":49,"value":258},"DATABASE_URL",{"type":49,"value":260}," environment variable",{"type":43,"tag":91,"props":262,"children":263},{},[264],{"type":49,"value":265},"Existing ORM (Prisma, Drizzle, TypeORM) configuration",{"type":43,"tag":75,"props":267,"children":269},{"id":268},"self-driving-setup-with-neons-cli-or-mcp-server",[270],{"type":49,"value":271},"Self-Driving Setup With Neon's CLI or MCP Server",{"type":43,"tag":52,"props":273,"children":274},{},[275,277,283,285,291],{"type":49,"value":276},"Offer to inspect existing connected Neon projects or create new ones using the Neon CLI or MCP server. If neither is set up yet, run init with the ",{"type":43,"tag":101,"props":278,"children":280},{"className":279},[],[281],{"type":49,"value":282},"--agent",{"type":49,"value":284}," flag. Use ",{"type":43,"tag":101,"props":286,"children":288},{"className":287},[],[289],{"type":49,"value":290},"npx -y",{"type":49,"value":292}," to skip the package install prompt. Auth is handled automatically. If the user is not logged in, it opens their browser for OAuth and waits for completion before proceeding.",{"type":43,"tag":158,"props":294,"children":298},{"className":295,"code":296,"language":297,"meta":166,"style":166},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx -y neonctl@latest init --agent \u003Cagent-name>\n","bash",[299],{"type":43,"tag":101,"props":300,"children":301},{"__ignoreMap":166},[302],{"type":43,"tag":303,"props":304,"children":307},"span",{"class":305,"line":306},"line",1,[308,314,320,325,330,335,341,346,352],{"type":43,"tag":303,"props":309,"children":311},{"style":310},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[312],{"type":49,"value":313},"npx",{"type":43,"tag":303,"props":315,"children":317},{"style":316},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[318],{"type":49,"value":319}," -y",{"type":43,"tag":303,"props":321,"children":322},{"style":316},[323],{"type":49,"value":324}," neonctl@latest",{"type":43,"tag":303,"props":326,"children":327},{"style":316},[328],{"type":49,"value":329}," init",{"type":43,"tag":303,"props":331,"children":332},{"style":316},[333],{"type":49,"value":334}," --agent",{"type":43,"tag":303,"props":336,"children":338},{"style":337},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[339],{"type":49,"value":340}," \u003C",{"type":43,"tag":303,"props":342,"children":343},{"style":316},[344],{"type":49,"value":345},"agent-nam",{"type":43,"tag":303,"props":347,"children":349},{"style":348},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[350],{"type":49,"value":351},"e",{"type":43,"tag":303,"props":353,"children":354},{"style":337},[355],{"type":49,"value":356},">\n",{"type":43,"tag":52,"props":358,"children":359},{},[360,362,367,369,375,377,383,384,390,391,397,398,404,405,411,412,418,419,425,426,432,433,439],{"type":49,"value":361},"Supported ",{"type":43,"tag":101,"props":363,"children":365},{"className":364},[],[366],{"type":49,"value":282},{"type":49,"value":368}," values: ",{"type":43,"tag":101,"props":370,"children":372},{"className":371},[],[373],{"type":49,"value":374},"cursor",{"type":49,"value":376},", ",{"type":43,"tag":101,"props":378,"children":380},{"className":379},[],[381],{"type":49,"value":382},"copilot",{"type":49,"value":376},{"type":43,"tag":101,"props":385,"children":387},{"className":386},[],[388],{"type":49,"value":389},"claude",{"type":49,"value":376},{"type":43,"tag":101,"props":392,"children":394},{"className":393},[],[395],{"type":49,"value":396},"claude-desktop",{"type":49,"value":376},{"type":43,"tag":101,"props":399,"children":401},{"className":400},[],[402],{"type":49,"value":403},"codex",{"type":49,"value":376},{"type":43,"tag":101,"props":406,"children":408},{"className":407},[],[409],{"type":49,"value":410},"opencode",{"type":49,"value":376},{"type":43,"tag":101,"props":413,"children":415},{"className":414},[],[416],{"type":49,"value":417},"cline",{"type":49,"value":376},{"type":43,"tag":101,"props":420,"children":422},{"className":421},[],[423],{"type":49,"value":424},"gemini-cli",{"type":49,"value":376},{"type":43,"tag":101,"props":427,"children":429},{"className":428},[],[430],{"type":49,"value":431},"goose",{"type":49,"value":376},{"type":43,"tag":101,"props":434,"children":436},{"className":435},[],[437],{"type":49,"value":438},"zed",{"type":49,"value":440},".",{"type":43,"tag":52,"props":442,"children":443},{},[444,446,451],{"type":49,"value":445},"This installs the Neon extension (for Cursor\u002FVS Code) or MCP server (for other agents), creates an API key, and adds the ",{"type":43,"tag":101,"props":447,"children":449},{"className":448},[],[450],{"type":49,"value":4},{"type":49,"value":452}," agent skill to the project.",{"type":43,"tag":52,"props":454,"children":455},{},[456,458,464],{"type":49,"value":457},"If ",{"type":43,"tag":101,"props":459,"children":461},{"className":460},[],[462],{"type":49,"value":463},"init",{"type":49,"value":465}," is not suitable, the individual steps can be run non-interactively:",{"type":43,"tag":227,"props":467,"children":468},{},[469,485,500],{"type":43,"tag":91,"props":470,"children":471},{},[472,477,479],{"type":43,"tag":95,"props":473,"children":474},{},[475],{"type":49,"value":476},"Extension:",{"type":49,"value":478}," ",{"type":43,"tag":101,"props":480,"children":482},{"className":481},[],[483],{"type":49,"value":484},"cursor --install-extension databricks.neon-local-connect",{"type":43,"tag":91,"props":486,"children":487},{},[488,493,494],{"type":43,"tag":95,"props":489,"children":490},{},[491],{"type":49,"value":492},"MCP server:",{"type":49,"value":478},{"type":43,"tag":101,"props":495,"children":497},{"className":496},[],[498],{"type":49,"value":499},"npx -y add-mcp https:\u002F\u002Fmcp.neon.tech\u002Fmcp -g -n Neon -y -a \u003Cagent-name>",{"type":43,"tag":91,"props":501,"children":502},{},[503,508,509],{"type":43,"tag":95,"props":504,"children":505},{},[506],{"type":49,"value":507},"Agent skill:",{"type":49,"value":478},{"type":43,"tag":101,"props":510,"children":512},{"className":511},[],[513],{"type":49,"value":514},"npx skills add neondatabase\u002Fagent-skills --skill neon-postgres --agent \u003Cagent-name> -y",{"type":43,"tag":52,"props":516,"children":517},{},[518,520],{"type":49,"value":519},"For full CLI installation options, see ",{"type":43,"tag":112,"props":521,"children":524},{"href":522,"rel":523},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fcli-install.md",[116],[525],{"type":49,"value":522},{"type":43,"tag":75,"props":527,"children":529},{"id":528},"setup-flow",[530],{"type":49,"value":531},"Setup Flow",{"type":43,"tag":52,"props":533,"children":534},{},[535],{"type":43,"tag":95,"props":536,"children":537},{},[538],{"type":49,"value":539},"1. Select Organization and Project",{"type":43,"tag":52,"props":541,"children":542},{},[543],{"type":49,"value":544},"Use MCP server or CLI to list organizations and projects. Let the user select an existing project or create a new one.",{"type":43,"tag":52,"props":546,"children":547},{},[548],{"type":43,"tag":95,"props":549,"children":550},{},[551],{"type":49,"value":552},"2. Get Connection String",{"type":43,"tag":52,"props":554,"children":555},{},[556,558,563,565,570],{"type":49,"value":557},"Use MCP server or CLI to get the connection string. Store it in ",{"type":43,"tag":101,"props":559,"children":561},{"className":560},[],[562],{"type":49,"value":250},{"type":49,"value":564}," as ",{"type":43,"tag":101,"props":566,"children":568},{"className":567},[],[569],{"type":49,"value":258},{"type":49,"value":571},". Read the file first before modifying to avoid overwriting existing values.",{"type":43,"tag":52,"props":573,"children":574},{},[575],{"type":43,"tag":95,"props":576,"children":577},{},[578],{"type":49,"value":579},"3. Pick Connection Method & Driver",{"type":43,"tag":52,"props":581,"children":582},{},[583,585],{"type":49,"value":584},"Refer to the connection methods guide to pick the correct driver based on deployment platform: ",{"type":43,"tag":112,"props":586,"children":589},{"href":587,"rel":588},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fchoose-connection.md",[116],[590],{"type":49,"value":587},{"type":43,"tag":52,"props":592,"children":593},{},[594],{"type":43,"tag":95,"props":595,"children":596},{},[597],{"type":49,"value":598},"4. User Authentication with Neon Auth (if needed)",{"type":43,"tag":52,"props":600,"children":601},{},[602,604,610,612,618,620,626],{"type":49,"value":603},"Skip for CLI tools, scripts, or apps without user accounts. If the app needs auth: use MCP server ",{"type":43,"tag":101,"props":605,"children":607},{"className":606},[],[608],{"type":49,"value":609},"provision_neon_auth",{"type":49,"value":611}," tool, then see the auth overview (",{"type":43,"tag":112,"props":613,"children":616},{"href":614,"rel":615},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fauth\u002Foverview.md",[116],[617],{"type":49,"value":614},{"type":49,"value":619},") for setup. For auth + database queries, see the JavaScript SDK reference (",{"type":43,"tag":112,"props":621,"children":624},{"href":622,"rel":623},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fjavascript-sdk.md",[116],[625],{"type":49,"value":622},{"type":49,"value":627},").",{"type":43,"tag":52,"props":629,"children":630},{},[631],{"type":43,"tag":95,"props":632,"children":633},{},[634],{"type":49,"value":635},"5. ORM Setup (optional)",{"type":43,"tag":52,"props":637,"children":638},{},[639,641,647],{"type":49,"value":640},"Check for existing ORM (Prisma, Drizzle, TypeORM). If none, ask if they want one. For Drizzle integration, see ",{"type":43,"tag":112,"props":642,"children":645},{"href":643,"rel":644},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fguides\u002Fdrizzle.md",[116],[646],{"type":49,"value":643},{"type":49,"value":440},{"type":43,"tag":52,"props":649,"children":650},{},[651],{"type":43,"tag":95,"props":652,"children":653},{},[654],{"type":49,"value":655},"6. Schema Setup",{"type":43,"tag":227,"props":657,"children":658},{},[659,664],{"type":43,"tag":91,"props":660,"children":661},{},[662],{"type":49,"value":663},"Check for existing migration files or ORM schemas",{"type":43,"tag":91,"props":665,"children":666},{},[667],{"type":49,"value":668},"If none: offer to create an example schema or design one together",{"type":43,"tag":75,"props":670,"children":672},{"id":671},"resume-support",[673],{"type":49,"value":674},"Resume Support",{"type":43,"tag":52,"props":676,"children":677},{},[678,680,685,687,692],{"type":49,"value":679},"If resuming setup, check what's already configured (MCP connection, ",{"type":43,"tag":101,"props":681,"children":683},{"className":682},[],[684],{"type":49,"value":250},{"type":49,"value":686}," with ",{"type":43,"tag":101,"props":688,"children":690},{"className":689},[],[691],{"type":49,"value":258},{"type":49,"value":693},", dependencies, schema) and continue from the next incomplete step.",{"type":43,"tag":75,"props":695,"children":697},{"id":696},"security-reminders",[698],{"type":49,"value":699},"Security Reminders",{"type":43,"tag":52,"props":701,"children":702},{},[703],{"type":49,"value":704},"Remind users to use environment variables for credentials, never commit connection strings, and use least-privilege database roles.",{"type":43,"tag":63,"props":706,"children":708},{"id":707},"connection-methods-drivers",[709],{"type":49,"value":710},"Connection Methods & Drivers",{"type":43,"tag":52,"props":712,"children":713},{},[714],{"type":49,"value":715},"Use this when you need to pick the correct transport and driver based on runtime constraints (TCP, HTTP, WebSocket, edge, serverless, long-running).",{"type":43,"tag":52,"props":717,"children":718},{},[719,720],{"type":49,"value":197},{"type":43,"tag":112,"props":721,"children":723},{"href":587,"rel":722},[116],[724],{"type":49,"value":587},{"type":43,"tag":75,"props":726,"children":728},{"id":727},"serverless-driver",[729],{"type":49,"value":730},"Serverless Driver",{"type":43,"tag":52,"props":732,"children":733},{},[734,736,742],{"type":49,"value":735},"Use this for ",{"type":43,"tag":101,"props":737,"children":739},{"className":738},[],[740],{"type":49,"value":741},"@neondatabase\u002Fserverless",{"type":49,"value":743}," patterns, including HTTP queries, WebSocket transactions, and runtime-specific optimizations.",{"type":43,"tag":52,"props":745,"children":746},{},[747,748],{"type":49,"value":197},{"type":43,"tag":112,"props":749,"children":752},{"href":750,"rel":751},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fserverless\u002Fserverless-driver.md",[116],[753],{"type":49,"value":750},{"type":43,"tag":75,"props":755,"children":757},{"id":756},"neon-js-sdk",[758],{"type":49,"value":759},"Neon JS SDK",{"type":43,"tag":52,"props":761,"children":762},{},[763],{"type":49,"value":764},"Use this for combined Neon Auth + Data API workflows with PostgREST-style querying and typed client setup.",{"type":43,"tag":52,"props":766,"children":767},{},[768,769],{"type":49,"value":197},{"type":43,"tag":112,"props":770,"children":772},{"href":622,"rel":771},[116],[773],{"type":49,"value":622},{"type":43,"tag":63,"props":775,"children":777},{"id":776},"developer-tools",[778],{"type":49,"value":779},"Developer Tools",{"type":43,"tag":52,"props":781,"children":782},{},[783,785,791],{"type":49,"value":784},"Use this for local development enablement with ",{"type":43,"tag":101,"props":786,"children":788},{"className":787},[],[789],{"type":49,"value":790},"npx -y neonctl@latest init --agent \u003Cagent-name>",{"type":49,"value":792},", VSCode extension setup, and Neon MCP server configuration.",{"type":43,"tag":794,"props":795,"children":796},"table",{},[797,816],{"type":43,"tag":798,"props":799,"children":800},"thead",{},[801],{"type":43,"tag":802,"props":803,"children":804},"tr",{},[805,811],{"type":43,"tag":806,"props":807,"children":808},"th",{},[809],{"type":49,"value":810},"Tool",{"type":43,"tag":806,"props":812,"children":813},{},[814],{"type":49,"value":815},"URL",{"type":43,"tag":817,"props":818,"children":819},"tbody",{},[820,838,855,872],{"type":43,"tag":802,"props":821,"children":822},{},[823,829],{"type":43,"tag":824,"props":825,"children":826},"td",{},[827],{"type":49,"value":828},"CLI Init Command",{"type":43,"tag":824,"props":830,"children":831},{},[832],{"type":43,"tag":112,"props":833,"children":836},{"href":834,"rel":835},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fcli-init.md",[116],[837],{"type":49,"value":834},{"type":43,"tag":802,"props":839,"children":840},{},[841,846],{"type":43,"tag":824,"props":842,"children":843},{},[844],{"type":49,"value":845},"VSCode Extension",{"type":43,"tag":824,"props":847,"children":848},{},[849],{"type":43,"tag":112,"props":850,"children":853},{"href":851,"rel":852},"https:\u002F\u002Fneon.com\u002Fdocs\u002Flocal\u002Fvscode-extension.md",[116],[854],{"type":49,"value":851},{"type":43,"tag":802,"props":856,"children":857},{},[858,863],{"type":43,"tag":824,"props":859,"children":860},{},[861],{"type":49,"value":862},"MCP Server",{"type":43,"tag":824,"props":864,"children":865},{},[866],{"type":43,"tag":112,"props":867,"children":870},{"href":868,"rel":869},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fneon-mcp-server.md",[116],[871],{"type":49,"value":868},{"type":43,"tag":802,"props":873,"children":874},{},[875,880],{"type":43,"tag":824,"props":876,"children":877},{},[878],{"type":49,"value":879},"Neon CLI",{"type":43,"tag":824,"props":881,"children":882},{},[883],{"type":43,"tag":112,"props":884,"children":887},{"href":885,"rel":886},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fneon-cli.md",[116],[888],{"type":49,"value":885},{"type":43,"tag":75,"props":890,"children":892},{"id":891},"neon-cli",[893],{"type":49,"value":879},{"type":43,"tag":52,"props":895,"children":896},{},[897,899,905],{"type":49,"value":898},"Use this for terminal-first workflows, scripts, and CI\u002FCD automation with ",{"type":43,"tag":101,"props":900,"children":902},{"className":901},[],[903],{"type":49,"value":904},"neonctl",{"type":49,"value":440},{"type":43,"tag":52,"props":907,"children":908},{},[909,910],{"type":49,"value":197},{"type":43,"tag":112,"props":911,"children":913},{"href":885,"rel":912},[116],[914],{"type":49,"value":885},{"type":43,"tag":63,"props":916,"children":918},{"id":917},"neon-admin-api",[919],{"type":49,"value":920},"Neon Admin API",{"type":43,"tag":52,"props":922,"children":923},{},[924],{"type":49,"value":925},"The Neon Admin API can be used to manage Neon resources programmatically. It is used behind the scenes by the Neon CLI and MCP server, but can also be used directly for more complex automation workflows or when embedding Neon in other applications.",{"type":43,"tag":75,"props":927,"children":929},{"id":928},"neon-rest-api",[930],{"type":49,"value":931},"Neon REST API",{"type":43,"tag":52,"props":933,"children":934},{},[935],{"type":49,"value":936},"Use this for direct HTTP automation, endpoint-level control, API key auth, rate-limit handling, and operation polling.",{"type":43,"tag":52,"props":938,"children":939},{},[940,941],{"type":49,"value":197},{"type":43,"tag":112,"props":942,"children":945},{"href":943,"rel":944},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fapi-reference.md",[116],[946],{"type":49,"value":943},{"type":43,"tag":75,"props":948,"children":950},{"id":949},"neon-typescript-sdk",[951],{"type":49,"value":952},"Neon TypeScript SDK",{"type":43,"tag":52,"props":954,"children":955},{},[956,958,964],{"type":49,"value":957},"Use this when implementing typed programmatic control of Neon resources in TypeScript via ",{"type":43,"tag":101,"props":959,"children":961},{"className":960},[],[962],{"type":49,"value":963},"@neondatabase\u002Fapi-client",{"type":49,"value":440},{"type":43,"tag":52,"props":966,"children":967},{},[968,969],{"type":49,"value":197},{"type":43,"tag":112,"props":970,"children":973},{"href":971,"rel":972},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Ftypescript-sdk.md",[116],[974],{"type":49,"value":971},{"type":43,"tag":75,"props":976,"children":978},{"id":977},"neon-python-sdk",[979],{"type":49,"value":980},"Neon Python SDK",{"type":43,"tag":52,"props":982,"children":983},{},[984,986,992],{"type":49,"value":985},"Use this when implementing programmatic Neon management in Python with the ",{"type":43,"tag":101,"props":987,"children":989},{"className":988},[],[990],{"type":49,"value":991},"neon-api",{"type":49,"value":993}," package.",{"type":43,"tag":52,"props":995,"children":996},{},[997,998],{"type":49,"value":197},{"type":43,"tag":112,"props":999,"children":1002},{"href":1000,"rel":1001},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fpython-sdk.md",[116],[1003],{"type":49,"value":1000},{"type":43,"tag":63,"props":1005,"children":1007},{"id":1006},"neon-auth",[1008],{"type":49,"value":1009},"Neon Auth",{"type":43,"tag":52,"props":1011,"children":1012},{},[1013],{"type":49,"value":1014},"Use this for managed user authentication setup, UI components, auth methods, and Neon Auth integration pitfalls in Next.js and React apps.",{"type":43,"tag":52,"props":1016,"children":1017},{},[1018,1019],{"type":49,"value":197},{"type":43,"tag":112,"props":1020,"children":1022},{"href":614,"rel":1021},[116],[1023],{"type":49,"value":614},{"type":43,"tag":52,"props":1025,"children":1026},{},[1027,1029,1034],{"type":49,"value":1028},"Neon Auth is also embedded in the Neon JS SDK. Depending on your use case, you may want to use the Neon JS SDK instead of Neon Auth alone. See ",{"type":43,"tag":112,"props":1030,"children":1032},{"href":587,"rel":1031},[116],[1033],{"type":49,"value":587},{"type":49,"value":1035}," for more details.",{"type":43,"tag":63,"props":1037,"children":1039},{"id":1038},"branching",[1040],{"type":49,"value":1041},"Branching",{"type":43,"tag":52,"props":1043,"children":1044},{},[1045],{"type":49,"value":1046},"Use this when the user is planning isolated environments, schema migration testing, preview deployments, or branch lifecycle automation.",{"type":43,"tag":52,"props":1048,"children":1049},{},[1050],{"type":49,"value":1051},"Key points:",{"type":43,"tag":227,"props":1053,"children":1054},{},[1055,1060,1065],{"type":43,"tag":91,"props":1056,"children":1057},{},[1058],{"type":49,"value":1059},"Branches are instant, copy-on-write clones (no full data copy).",{"type":43,"tag":91,"props":1061,"children":1062},{},[1063],{"type":49,"value":1064},"Each branch has its own compute endpoint.",{"type":43,"tag":91,"props":1066,"children":1067},{},[1068],{"type":49,"value":1069},"Use the neonctl CLI or MCP server to create, inspect, and compare branches.",{"type":43,"tag":52,"props":1071,"children":1072},{},[1073,1074],{"type":49,"value":197},{"type":43,"tag":112,"props":1075,"children":1077},{"href":114,"rel":1076},[116],[1078],{"type":49,"value":114},{"type":43,"tag":52,"props":1080,"children":1081},{},[1082,1084,1090],{"type":49,"value":1083},"For detailed branch creation workflows (normal vs schema-only branches, reset-from-parent, CLI\u002FMCP selection), use the ",{"type":43,"tag":101,"props":1085,"children":1087},{"className":1086},[],[1088],{"type":49,"value":1089},"neon-postgres-branches",{"type":49,"value":1091}," skill if available",{"type":43,"tag":52,"props":1093,"children":1094},{},[1095],{"type":49,"value":1096},"Or fetch the full branching skill from the following URL:",{"type":43,"tag":52,"props":1098,"children":1099},{},[1100],{"type":43,"tag":112,"props":1101,"children":1104},{"href":1102,"rel":1103},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon-postgres-branches\u002FSKILL.md",[116],[1105],{"type":49,"value":1102},{"type":43,"tag":52,"props":1107,"children":1108},{},[1109],{"type":49,"value":1110},"If this skill is not installed you can use the following command to install it:",{"type":43,"tag":158,"props":1112,"children":1114},{"className":295,"code":1113,"language":297,"meta":166,"style":166},"npx skills add neondatabase\u002Fagent-skills --skill neon-postgres-branches\n",[1115],{"type":43,"tag":101,"props":1116,"children":1117},{"__ignoreMap":166},[1118],{"type":43,"tag":303,"props":1119,"children":1120},{"class":305,"line":306},[1121,1125,1130,1135,1140,1145],{"type":43,"tag":303,"props":1122,"children":1123},{"style":310},[1124],{"type":49,"value":313},{"type":43,"tag":303,"props":1126,"children":1127},{"style":316},[1128],{"type":49,"value":1129}," skills",{"type":43,"tag":303,"props":1131,"children":1132},{"style":316},[1133],{"type":49,"value":1134}," add",{"type":43,"tag":303,"props":1136,"children":1137},{"style":316},[1138],{"type":49,"value":1139}," neondatabase\u002Fagent-skills",{"type":43,"tag":303,"props":1141,"children":1142},{"style":316},[1143],{"type":49,"value":1144}," --skill",{"type":43,"tag":303,"props":1146,"children":1147},{"style":316},[1148],{"type":49,"value":1149}," neon-postgres-branches\n",{"type":43,"tag":63,"props":1151,"children":1153},{"id":1152},"autoscaling",[1154],{"type":49,"value":1155},"Autoscaling",{"type":43,"tag":52,"props":1157,"children":1158},{},[1159],{"type":49,"value":1160},"Use this when the user needs compute to scale automatically with workload and wants guidance on CU sizing and runtime behavior.",{"type":43,"tag":52,"props":1162,"children":1163},{},[1164,1165],{"type":49,"value":197},{"type":43,"tag":112,"props":1166,"children":1169},{"href":1167,"rel":1168},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fautoscaling.md",[116],[1170],{"type":49,"value":1167},{"type":43,"tag":63,"props":1172,"children":1174},{"id":1173},"scale-to-zero",[1175],{"type":49,"value":1176},"Scale to Zero",{"type":43,"tag":52,"props":1178,"children":1179},{},[1180],{"type":49,"value":1181},"Use this when optimizing idle costs and discussing suspend\u002Fresume behavior, including cold-start trade-offs.",{"type":43,"tag":52,"props":1183,"children":1184},{},[1185],{"type":49,"value":1051},{"type":43,"tag":227,"props":1187,"children":1188},{},[1189,1194,1199],{"type":43,"tag":91,"props":1190,"children":1191},{},[1192],{"type":49,"value":1193},"Idle computes suspend automatically (default 5 minutes, configurable) (unless disabled - launch & scale plan only)",{"type":43,"tag":91,"props":1195,"children":1196},{},[1197],{"type":49,"value":1198},"First query after suspend typically has a cold-start penalty (around hundreds of ms)",{"type":43,"tag":91,"props":1200,"children":1201},{},[1202],{"type":49,"value":1203},"Storage remains active while compute is suspended.",{"type":43,"tag":52,"props":1205,"children":1206},{},[1207,1208],{"type":49,"value":197},{"type":43,"tag":112,"props":1209,"children":1212},{"href":1210,"rel":1211},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fscale-to-zero.md",[116],[1213],{"type":49,"value":1210},{"type":43,"tag":63,"props":1215,"children":1217},{"id":1216},"instant-restore",[1218],{"type":49,"value":1219},"Instant Restore",{"type":43,"tag":52,"props":1221,"children":1222},{},[1223],{"type":49,"value":1224},"Use this when the user needs point-in-time recovery or wants to restore data state without traditional backup restore workflows.",{"type":43,"tag":52,"props":1226,"children":1227},{},[1228],{"type":49,"value":1051},{"type":43,"tag":227,"props":1230,"children":1231},{},[1232,1237,1242],{"type":43,"tag":91,"props":1233,"children":1234},{},[1235],{"type":49,"value":1236},"History windows for instant restore depend on plan limits.",{"type":43,"tag":91,"props":1238,"children":1239},{},[1240],{"type":49,"value":1241},"Users can create branches from historical points-in-time.",{"type":43,"tag":91,"props":1243,"children":1244},{},[1245],{"type":49,"value":1246},"Time Travel queries can be used for historical inspection workflows.",{"type":43,"tag":52,"props":1248,"children":1249},{},[1250,1251],{"type":49,"value":197},{"type":43,"tag":112,"props":1252,"children":1255},{"href":1253,"rel":1254},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fbranch-restore.md",[116],[1256],{"type":49,"value":1253},{"type":43,"tag":63,"props":1258,"children":1260},{"id":1259},"read-replicas",[1261],{"type":49,"value":1262},"Read Replicas",{"type":43,"tag":52,"props":1264,"children":1265},{},[1266],{"type":49,"value":1267},"Use this for read-heavy workloads where the user needs dedicated read-only compute without duplicating storage.",{"type":43,"tag":52,"props":1269,"children":1270},{},[1271],{"type":49,"value":1051},{"type":43,"tag":227,"props":1273,"children":1274},{},[1275,1280,1285],{"type":43,"tag":91,"props":1276,"children":1277},{},[1278],{"type":49,"value":1279},"Replicas are read-only compute endpoints sharing the same storage.",{"type":43,"tag":91,"props":1281,"children":1282},{},[1283],{"type":49,"value":1284},"Creation is fast and scaling is independent from primary compute.",{"type":43,"tag":91,"props":1286,"children":1287},{},[1288],{"type":49,"value":1289},"Typical use cases: analytics, reporting, and read-heavy APIs.",{"type":43,"tag":52,"props":1291,"children":1292},{},[1293,1294],{"type":49,"value":197},{"type":43,"tag":112,"props":1295,"children":1298},{"href":1296,"rel":1297},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fread-replicas.md",[116],[1299],{"type":49,"value":1296},{"type":43,"tag":63,"props":1301,"children":1303},{"id":1302},"connection-pooling",[1304],{"type":49,"value":1305},"Connection Pooling",{"type":43,"tag":52,"props":1307,"children":1308},{},[1309],{"type":49,"value":1310},"Use this when the user is in serverless or high-concurrency environments and needs safe, scalable Postgres connection management.",{"type":43,"tag":52,"props":1312,"children":1313},{},[1314],{"type":49,"value":1051},{"type":43,"tag":227,"props":1316,"children":1317},{},[1318,1323,1336],{"type":43,"tag":91,"props":1319,"children":1320},{},[1321],{"type":49,"value":1322},"Neon pooling uses PgBouncer.",{"type":43,"tag":91,"props":1324,"children":1325},{},[1326,1328,1334],{"type":49,"value":1327},"Add ",{"type":43,"tag":101,"props":1329,"children":1331},{"className":1330},[],[1332],{"type":49,"value":1333},"-pooler",{"type":49,"value":1335}," to endpoint hostnames to use pooled connections.",{"type":43,"tag":91,"props":1337,"children":1338},{},[1339],{"type":49,"value":1340},"Pooling is especially important in serverless runtimes with bursty concurrency.",{"type":43,"tag":52,"props":1342,"children":1343},{},[1344,1345],{"type":49,"value":197},{"type":43,"tag":112,"props":1346,"children":1349},{"href":1347,"rel":1348},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fconnect\u002Fconnection-pooling.md",[116],[1350],{"type":49,"value":1347},{"type":43,"tag":63,"props":1352,"children":1354},{"id":1353},"ip-allow-lists",[1355],{"type":49,"value":1356},"IP Allow Lists",{"type":43,"tag":52,"props":1358,"children":1359},{},[1360],{"type":49,"value":1361},"Use this when the user needs to restrict database access by trusted networks, IPs, or CIDR ranges.",{"type":43,"tag":52,"props":1363,"children":1364},{},[1365,1366],{"type":49,"value":197},{"type":43,"tag":112,"props":1367,"children":1370},{"href":1368,"rel":1369},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fintroduction\u002Fip-allow.md",[116],[1371],{"type":49,"value":1368},{"type":43,"tag":63,"props":1373,"children":1375},{"id":1374},"logical-replication",[1376],{"type":49,"value":1377},"Logical Replication",{"type":43,"tag":52,"props":1379,"children":1380},{},[1381],{"type":49,"value":1382},"Use this when integrating CDC pipelines, external Postgres sync, or replication-based data movement.",{"type":43,"tag":52,"props":1384,"children":1385},{},[1386],{"type":49,"value":1051},{"type":43,"tag":227,"props":1388,"children":1389},{},[1390,1395],{"type":43,"tag":91,"props":1391,"children":1392},{},[1393],{"type":49,"value":1394},"Neon supports native logical replication workflows.",{"type":43,"tag":91,"props":1396,"children":1397},{},[1398],{"type":49,"value":1399},"Useful for replicating to\u002Ffrom external Postgres systems.",{"type":43,"tag":52,"props":1401,"children":1402},{},[1403,1404],{"type":49,"value":197},{"type":43,"tag":112,"props":1405,"children":1408},{"href":1406,"rel":1407},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fguides\u002Flogical-replication-guide.md",[116],[1409],{"type":49,"value":1406},{"type":43,"tag":1411,"props":1412,"children":1413},"style",{},[1414],{"type":49,"value":1415},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1417,"total":1450},[1418,1431,1438],{"slug":15,"name":15,"fn":1419,"description":1420,"org":1421,"tags":1422,"stars":26,"repoUrl":27,"updatedAt":1430},"build applications with Neon platform","Overview of the Neon platform for apps and agents, spanning Postgres, Auth, Data API, and the new services: Object Storage, Compute Functions, and AI Gateway. Use whenever \"Neon\" is mentioned for an overview of how to work with Neon and how to get started. Otherwise, the individual capabilities are the triggers: \"object storage\" or \"S3-compatible storage\", \"serverless functions\", \"background jobs\", or \"run code near my database\", \"AI gateway\", \"LLM proxy\", \"model routing\", or \"call an LLM\" → AI Gateway; \"database\", \"Postgres\", or \"authentication\" → Postgres and Auth.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1423,1424,1425,1426,1427],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":24,"slug":25,"type":16},{"name":1428,"slug":1429,"type":16},"Storage","storage","2026-07-18T05:46:44.419956",{"slug":4,"name":4,"fn":5,"description":6,"org":1432,"tags":1433,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1434,1435,1436,1437],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":24,"slug":25,"type":16},{"slug":1089,"name":1089,"fn":1439,"description":1440,"org":1441,"tags":1442,"stars":26,"repoUrl":27,"updatedAt":1449},"create and manage Neon database branches","Choose and create the right Neon branch type for testing and development. Use when users ask about Neon branching, migration testing with real data, isolated test environments, schema-only branch workflows for sensitive data, or branch creation via Neon CLI or Neon MCP. Triggers include \"Neon branch\", \"test migrations safely\", \"branch production data\", \"schema-only branch\", \"reset branch\" and \"sensitive data testing\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1443,1444,1447,1448],{"name":18,"slug":19,"type":16},{"name":1445,"slug":1446,"type":16},"Migration","migration",{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},"2026-07-18T05:46:44.889388",3,{"items":1452,"total":1450},[1453,1461,1468],{"slug":15,"name":15,"fn":1419,"description":1420,"org":1454,"tags":1455,"stars":26,"repoUrl":27,"updatedAt":1430},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1456,1457,1458,1459,1460],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":24,"slug":25,"type":16},{"name":1428,"slug":1429,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":1462,"tags":1463,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1464,1465,1466,1467],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":24,"slug":25,"type":16},{"slug":1089,"name":1089,"fn":1439,"description":1440,"org":1469,"tags":1470,"stars":26,"repoUrl":27,"updatedAt":1449},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1471,1472,1473,1474],{"name":18,"slug":19,"type":16},{"name":1445,"slug":1446,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16}]