[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-neon-claimable-postgres":3,"mdc-kdnq2q-key":32,"related-repo-neon-claimable-postgres":3116,"related-org-neon-claimable-postgres":3228},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"claimable-postgres","provision temporary Postgres databases","Provision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card. Supports REST API, CLI, and SDK. Use when users ask for a quick Postgres environment, a throwaway DATABASE_URL for prototyping\u002Ftests, or \"just give me a DB now\". Triggers include: \"quick postgres\", \"temporary postgres\", \"no signup database\", \"no credit card database\", \"instant DATABASE_URL\", \"npx neon-new\", \"neon.new\", \"neon.new API\", \"claimable postgres API\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"neon","Neon","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fneon.png","neondatabase",[13,15,18],{"name":9,"slug":8,"type":14},"tag",{"name":16,"slug":17,"type":14},"Database","database",{"name":19,"slug":20,"type":14},"PostgreSQL","postgresql",81,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fagent-skills","2026-07-27T06:07:56.160588",null,12,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":29},[],"Agent Skills for Neon Severless Postgres","https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fclaimable-postgres","---\nname: claimable-postgres\ndescription: >-\n  Provision instant temporary Postgres databases via Claimable Postgres by Neon\n  (neon.new) with no login, signup, or credit card. Supports REST API, CLI, and\n  SDK. Use when users ask for a quick Postgres environment, a throwaway\n  DATABASE_URL for prototyping\u002Ftests, or \"just give me a DB now\". Triggers\n  include: \"quick postgres\", \"temporary postgres\", \"no signup database\",\n  \"no credit card database\", \"instant DATABASE_URL\", \"npx neon-new\", \"neon.new\",\n  \"neon.new API\", \"claimable postgres API\".\nmetadata:\n  parent: neon\n---\n\n**FIRST**: Use the parent `neon` skill for a Neon platform overview, getting started with Neon, Neon development best practices, and more.\n\nIf the `neon` skill is not installed, fetch it from https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon\u002FSKILL.md or install it with:\n\n```bash\nnpx skills add neondatabase\u002Fagent-skills --skill neon\n```\n\n# Claimable Postgres\n\nInstant Postgres databases for local development, demos, prototyping, and test environments. No account required. Databases expire after 72 hours unless claimed to a Neon account.\n\n## Quick Start\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"ref\": \"agent-skills\"}'\n```\n\nParse `connection_string` and `claim_url` from the JSON response. Write `connection_string` to the project's `.env` as `DATABASE_URL`.\n\nFor other methods (CLI, SDK, Vite plugin), see [Which Method?](#which-method) below.\n\n## Which Method?\n\n- **REST API**: Returns structured JSON. No runtime dependency beyond `curl`. Preferred when the agent needs predictable output and error handling.\n- **CLI** (`npx neon-new@latest --yes`): Provisions and writes `.env` in one command. Convenient when Node.js is available and the user wants a simple setup.\n- **SDK** (`neon-new\u002Fsdk`): Scripts or programmatic provisioning in Node.js.\n- **Vite plugin** (`vite-plugin-neon-new`): Auto-provisions on `vite dev` if `DATABASE_URL` is missing. Use when the user has a Vite project.\n- **Browser**: User cannot run CLI or API. Direct to https:\u002F\u002Fneon.new.\n\n## Auto-provisioning\n\nIf the agent needs a database to fulfill a task (e.g. \"build me a todo app with a real database\") and the user has not provided a connection string, provision one via the API and inform the user. Include the claim URL so they can keep it.\n\n## Agent Workflow\n\n### API path\n\n1. **Confirm intent:** If the request is ambiguous, confirm the user wants a temporary, no-signup database. Skip this if they explicitly asked for a quick or temporary database.\n2. **Provision:** POST to `https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase` with `{\"ref\": \"agent-skills\"}`.\n3. **Parse response:** Extract `connection_string`, `claim_url`, and `expires_at` from the JSON response.\n4. **Write .env:** Write `DATABASE_URL=\u003Cconnection_string>` to the project's `.env` (or the user's preferred file and key). Do not overwrite an existing key without confirmation.\n5. **Seed (if needed):** If the user has a seed SQL file, run it against the new database:\n   ```bash\n   psql \"$DATABASE_URL\" -f seed.sql\n   ```\n6. **Report:** Cover every item in the [Output Checklist](#output-checklist).\n7. **Optional:** Offer a quick connection test (e.g. `SELECT 1`).\n\n### CLI path\n\n1. **Check .env:** Check the target `.env` for an existing `DATABASE_URL` (or chosen key). If present, do not run. Offer remove, `--env`, or `--key` and get confirmation (see [Pre-run Check](#pre-run-check)).\n2. **Confirm intent:** If the request is ambiguous, confirm the user wants a temporary, no-signup database. Skip this if they explicitly asked for a quick or temporary database.\n3. **Gather options:** Use defaults unless context suggests otherwise (e.g., user mentions a custom env file, seed SQL, or logical replication).\n4. **Run:** Execute with `@latest --yes` plus the confirmed options. Always use `@latest` to avoid stale cached versions. `--yes` skips interactive prompts that would stall the agent.\n   ```bash\n   npx neon-new@latest --yes --ref agent-skills --env .env.local --seed .\u002Fschema.sql\n   ```\n5. **Verify:** Confirm the connection string was written to the intended file.\n6. **Report:** Cover every item in the [Output Checklist](#output-checklist).\n7. **Optional:** Offer a quick connection test (e.g. `SELECT 1`).\n\n### Output Checklist\n\nAlways report:\n\n- Where the connection string was written (e.g. `.env`)\n- Which variable key was used (`DATABASE_URL` or custom key)\n- The claim URL (from `.env` or API response)\n- That unclaimed databases are temporary (72 hours): the database works now, and claiming within 72 hours keeps it permanently\n\n## Safety and UX Notes\n\n- Do not overwrite existing env vars. Check first, then use `--env` or `--key` (CLI) or skip writing (API) to avoid conflicts.\n- Ask before running destructive seed SQL (`DROP`, `TRUNCATE`, mass `DELETE`).\n- For production workloads, recommend standard Neon provisioning instead of temporary claimable databases.\n- If users need long-term persistence, instruct them to open the claim URL right away.\n- After writing credentials to an .env file, check that it's covered by .gitignore. If not, warn the user. Do not modify `.gitignore` without confirmation.\n\n## REST API\n\n**Base URL:** `https:\u002F\u002Fneon.new\u002Fapi\u002Fv1`\n\n### Create a database\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"ref\": \"agent-skills\"}'\n```\n\n| Parameter                    | Required | Description                                                                                                           |\n| ---------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------- |\n| `ref`                        | Yes      | Tracking tag that identifies who provisioned the database. Use `\"agent-skills\"` when provisioning through this skill. |\n| `enable_logical_replication` | No       | Enable logical replication (default: false, cannot be disabled once enabled)                                          |\n\nThe `connection_string` returned by the API is a pooled connection URL. For a direct (non-pooled) connection (e.g. Prisma migrations), remove `-pooler` from the hostname. The CLI writes both pooled and direct URLs automatically.\n\n**Response:**\n\n```json\n{\n  \"id\": \"019beb39-37fb-709d-87ac-7ad6198b89f7\",\n  \"status\": \"UNCLAIMED\",\n  \"neon_project_id\": \"gentle-scene-06438508\",\n  \"connection_string\": \"postgresql:\u002F\u002F...\",\n  \"claim_url\": \"https:\u002F\u002Fneon.new\u002Fclaim\u002F019beb39-...\",\n  \"expires_at\": \"2026-01-26T14:19:14.580Z\",\n  \"created_at\": \"2026-01-23T14:19:14.580Z\",\n  \"updated_at\": \"2026-01-23T14:19:14.580Z\"\n}\n```\n\n### Check status\n\n```bash\ncurl -s \"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\u002F{id}\"\n```\n\nReturns the same response shape. Status transitions: `UNCLAIMED` -> `CLAIMING` -> `CLAIMED`. After the database is claimed, `connection_string` returns `null`.\n\n### Error responses\n\n| Condition              | HTTP | Message                          |\n| ---------------------- | ---- | -------------------------------- |\n| Missing or empty `ref` | 400  | `Missing referrer`               |\n| Invalid database ID    | 400  | `Database not found`             |\n| Invalid JSON body      | 500  | `Failed to create the database.` |\n\n## CLI\n\n```bash\nnpx neon-new@latest --yes\n```\n\nProvisions a database and writes the connection string to `.env` in one step. Always use `@latest` and `--yes` (skips interactive prompts that would stall the agent).\n\n### Pre-run Check\n\nCheck if `DATABASE_URL` (or the chosen key) already exists in the target `.env`. The CLI exits without provisioning if it finds the key.\n\nIf the key exists, offer the user three options:\n\n1. Remove or comment out the existing line, then rerun.\n2. Use `--env` to write to a different file (e.g. `--env .env.local`).\n3. Use `--key` to write under a different variable name.\n\nGet confirmation before proceeding.\n\n### Options\n\n| Option                  | Alias | Description                                                           | Default        |\n| ----------------------- | ----- | --------------------------------------------------------------------- | -------------- |\n| `--yes`                 | `-y`  | Skip prompts, use defaults                                            | `false`        |\n| `--env`                 | `-e`  | .env file path                                                        | `.\u002F.env`       |\n| `--key`                 | `-k`  | Connection string env var key                                         | `DATABASE_URL` |\n| `--prefix`              | `-p`  | Prefix for generated public env vars                                  | `PUBLIC_`      |\n| `--seed`                | `-s`  | Path to seed SQL file                                                 | none           |\n| `--logical-replication` | `-L`  | Enable logical replication                                            | `false`        |\n| `--ref`                 | `-r`  | Referrer id (use `agent-skills` when provisioning through this skill) | none           |\n\nAlternative package managers: `yarn dlx neon-new@latest`, `pnpm dlx neon-new@latest`, `bunx neon-new@latest`, `deno run -A neon-new@latest`.\n\n### Output\n\nThe CLI writes to the target `.env`:\n\n```\nDATABASE_URL=postgresql:\u002F\u002F...              # pooled (use for application queries)\nDATABASE_URL_DIRECT=postgresql:\u002F\u002F...       # direct (use for migrations, e.g. Prisma)\nPUBLIC_POSTGRES_CLAIM_URL=https:\u002F\u002Fneon.new\u002Fclaim\u002F...\n```\n\n## SDK\n\nUse for scripts and programmatic provisioning flows.\n\n```typescript\nimport { instantPostgres } from \"neon-new\";\n\nconst { databaseUrl, databaseUrlDirect, claimUrl, claimExpiresAt } =\n  await instantPostgres({\n    referrer: \"agent-skills\",\n    seed: { type: \"sql-script\", path: \".\u002Finit.sql\" },\n  });\n```\n\nReturns `databaseUrl` (pooled), `databaseUrlDirect` (direct, for migrations), `claimUrl`, and `claimExpiresAt` (Date object). The `referrer` parameter is required.\n\n## Vite Plugin\n\nFor Vite projects, `vite-plugin-neon-new` auto-provisions a database on `vite dev` if `DATABASE_URL` is missing. Install with `npm install -D vite-plugin-neon-new`. See the [Claimable Postgres docs](https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fclaimable-postgres#vite-plugin) for configuration.\n\n## Claiming\n\nClaiming is optional. The database works immediately without it. To optionally claim, the user opens the claim URL in a browser, where they sign in or create a Neon account to claim the database.\n\n- **API\u002FSDK:** Give the user the `claim_url` from the create response.\n- **CLI:** `npx neon-new@latest claim` reads the claim URL from `.env` and opens the browser automatically.\n\nUsers cannot claim into Vercel-linked orgs; they must choose another Neon org.\n\n## Neon Infrastructure as Code (`neon.ts`)\n\nClaimable databases are deliberately throwaway and provisioned through `neon.new` (above), so they aren't managed by `neon.ts`. Once a user **claims** a database into a Neon account it becomes a normal Neon project — at which point `neon.ts`, Neon's infrastructure-as-code file, is how you manage it going forward (see the `neon` skill for the full reference): declare the services its branches should have, program per-branch compute, and get type-safe env vars.\n\n```bash\nnpm i @neon\u002Fconfig\n```\n\n```typescript\n\u002F\u002F neon.ts\nimport { defineConfig } from \"@neon\u002Fconfig\u002Fv1\";\n\nexport default defineConfig({\n  auth: true, \u002F\u002F Neon Auth, once you outgrow a bare connection string\n  dataApi: true, \u002F\u002F Data API\n  branch: (branch) => (branch.exists ? {} : { ttl: \"7d\" }), \u002F\u002F ephemeral non-default branches\n});\n```\n\n```bash\nneon config apply   # provision the declared services (neon deploy is an alias)\n```\n\nIf a project needs branching, multiple services, or durable infrastructure tracked in version control, recommend claiming first and then adopting `neon.ts` — rather than re-provisioning throwaway claimable databases.\n\n## Defaults and Limits\n\n| Parameter | Value     |\n| --------- | --------- |\n| Provider  | AWS       |\n| Region    | us-east-2 |\n| Postgres  | 17        |\n\nRegion cannot be changed for claimable databases. Unclaimed databases have stricter quotas. Claiming resets limits to free plan defaults.\n\n|            | Unclaimed | Claimed (Free plan) |\n| ---------- | --------- | ------------------- |\n| Storage    | 100 MB    | 512 MB              |\n| Transfer   | 1 GB      | ~5 GB               |\n| Branches   | No        | Yes                 |\n| Expiration | 72 hours  | None                |\n",{"data":33,"body":35},{"name":4,"description":6,"metadata":34},{"parent":8},{"type":36,"children":37},"root",[38,60,82,131,137,142,149,251,295,308,313,426,432,437,443,450,626,632,825,830,835,879,885,957,962,978,984,1067,1152,1172,1180,1505,1511,1542,1583,1589,1686,1691,1714,1739,1744,1763,1768,1806,1811,1817,2087,2120,2126,2137,2147,2152,2157,2413,2457,2463,2505,2511,2516,2560,2565,2578,2619,2644,2903,2932,2944,2950,3010,3015,3110],{"type":39,"tag":40,"props":41,"children":42},"element","p",{},[43,50,52,58],{"type":39,"tag":44,"props":45,"children":46},"strong",{},[47],{"type":48,"value":49},"text","FIRST",{"type":48,"value":51},": Use the parent ",{"type":39,"tag":53,"props":54,"children":56},"code",{"className":55},[],[57],{"type":48,"value":8},{"type":48,"value":59}," skill for a Neon platform overview, getting started with Neon, Neon development best practices, and more.",{"type":39,"tag":40,"props":61,"children":62},{},[63,65,70,72,80],{"type":48,"value":64},"If the ",{"type":39,"tag":53,"props":66,"children":68},{"className":67},[],[69],{"type":48,"value":8},{"type":48,"value":71}," skill is not installed, fetch it from ",{"type":39,"tag":73,"props":74,"children":78},"a",{"href":75,"rel":76},"https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon\u002FSKILL.md",[77],"nofollow",[79],{"type":48,"value":75},{"type":48,"value":81}," or install it with:",{"type":39,"tag":83,"props":84,"children":89},"pre",{"className":85,"code":86,"language":87,"meta":88,"style":88},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add neondatabase\u002Fagent-skills --skill neon\n","bash","",[90],{"type":39,"tag":53,"props":91,"children":92},{"__ignoreMap":88},[93],{"type":39,"tag":94,"props":95,"children":98},"span",{"class":96,"line":97},"line",1,[99,105,111,116,121,126],{"type":39,"tag":94,"props":100,"children":102},{"style":101},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[103],{"type":48,"value":104},"npx",{"type":39,"tag":94,"props":106,"children":108},{"style":107},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[109],{"type":48,"value":110}," skills",{"type":39,"tag":94,"props":112,"children":113},{"style":107},[114],{"type":48,"value":115}," add",{"type":39,"tag":94,"props":117,"children":118},{"style":107},[119],{"type":48,"value":120}," neondatabase\u002Fagent-skills",{"type":39,"tag":94,"props":122,"children":123},{"style":107},[124],{"type":48,"value":125}," --skill",{"type":39,"tag":94,"props":127,"children":128},{"style":107},[129],{"type":48,"value":130}," neon\n",{"type":39,"tag":132,"props":133,"children":134},"h1",{"id":4},[135],{"type":48,"value":136},"Claimable Postgres",{"type":39,"tag":40,"props":138,"children":139},{},[140],{"type":48,"value":141},"Instant Postgres databases for local development, demos, prototyping, and test environments. No account required. Databases expire after 72 hours unless claimed to a Neon account.",{"type":39,"tag":143,"props":144,"children":146},"h2",{"id":145},"quick-start",[147],{"type":48,"value":148},"Quick Start",{"type":39,"tag":83,"props":150,"children":152},{"className":85,"code":151,"language":87,"meta":88,"style":88},"curl -s -X POST \"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"ref\": \"agent-skills\"}'\n",[153],{"type":39,"tag":53,"props":154,"children":155},{"__ignoreMap":88},[156,201,227],{"type":39,"tag":94,"props":157,"children":158},{"class":96,"line":97},[159,164,169,174,179,185,190,195],{"type":39,"tag":94,"props":160,"children":161},{"style":101},[162],{"type":48,"value":163},"curl",{"type":39,"tag":94,"props":165,"children":166},{"style":107},[167],{"type":48,"value":168}," -s",{"type":39,"tag":94,"props":170,"children":171},{"style":107},[172],{"type":48,"value":173}," -X",{"type":39,"tag":94,"props":175,"children":176},{"style":107},[177],{"type":48,"value":178}," POST",{"type":39,"tag":94,"props":180,"children":182},{"style":181},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[183],{"type":48,"value":184}," \"",{"type":39,"tag":94,"props":186,"children":187},{"style":107},[188],{"type":48,"value":189},"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase",{"type":39,"tag":94,"props":191,"children":192},{"style":181},[193],{"type":48,"value":194},"\"",{"type":39,"tag":94,"props":196,"children":198},{"style":197},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[199],{"type":48,"value":200}," \\\n",{"type":39,"tag":94,"props":202,"children":204},{"class":96,"line":203},2,[205,210,214,219,223],{"type":39,"tag":94,"props":206,"children":207},{"style":107},[208],{"type":48,"value":209},"  -H",{"type":39,"tag":94,"props":211,"children":212},{"style":181},[213],{"type":48,"value":184},{"type":39,"tag":94,"props":215,"children":216},{"style":107},[217],{"type":48,"value":218},"Content-Type: application\u002Fjson",{"type":39,"tag":94,"props":220,"children":221},{"style":181},[222],{"type":48,"value":194},{"type":39,"tag":94,"props":224,"children":225},{"style":197},[226],{"type":48,"value":200},{"type":39,"tag":94,"props":228,"children":230},{"class":96,"line":229},3,[231,236,241,246],{"type":39,"tag":94,"props":232,"children":233},{"style":107},[234],{"type":48,"value":235},"  -d",{"type":39,"tag":94,"props":237,"children":238},{"style":181},[239],{"type":48,"value":240}," '",{"type":39,"tag":94,"props":242,"children":243},{"style":107},[244],{"type":48,"value":245},"{\"ref\": \"agent-skills\"}",{"type":39,"tag":94,"props":247,"children":248},{"style":181},[249],{"type":48,"value":250},"'\n",{"type":39,"tag":40,"props":252,"children":253},{},[254,256,262,264,270,272,277,279,285,287,293],{"type":48,"value":255},"Parse ",{"type":39,"tag":53,"props":257,"children":259},{"className":258},[],[260],{"type":48,"value":261},"connection_string",{"type":48,"value":263}," and ",{"type":39,"tag":53,"props":265,"children":267},{"className":266},[],[268],{"type":48,"value":269},"claim_url",{"type":48,"value":271}," from the JSON response. Write ",{"type":39,"tag":53,"props":273,"children":275},{"className":274},[],[276],{"type":48,"value":261},{"type":48,"value":278}," to the project's ",{"type":39,"tag":53,"props":280,"children":282},{"className":281},[],[283],{"type":48,"value":284},".env",{"type":48,"value":286}," as ",{"type":39,"tag":53,"props":288,"children":290},{"className":289},[],[291],{"type":48,"value":292},"DATABASE_URL",{"type":48,"value":294},".",{"type":39,"tag":40,"props":296,"children":297},{},[298,300,306],{"type":48,"value":299},"For other methods (CLI, SDK, Vite plugin), see ",{"type":39,"tag":73,"props":301,"children":303},{"href":302},"#which-method",[304],{"type":48,"value":305},"Which Method?",{"type":48,"value":307}," below.",{"type":39,"tag":143,"props":309,"children":311},{"id":310},"which-method",[312],{"type":48,"value":305},{"type":39,"tag":314,"props":315,"children":316},"ul",{},[317,335,360,377,409],{"type":39,"tag":318,"props":319,"children":320},"li",{},[321,326,328,333],{"type":39,"tag":44,"props":322,"children":323},{},[324],{"type":48,"value":325},"REST API",{"type":48,"value":327},": Returns structured JSON. No runtime dependency beyond ",{"type":39,"tag":53,"props":329,"children":331},{"className":330},[],[332],{"type":48,"value":163},{"type":48,"value":334},". Preferred when the agent needs predictable output and error handling.",{"type":39,"tag":318,"props":336,"children":337},{},[338,343,345,351,353,358],{"type":39,"tag":44,"props":339,"children":340},{},[341],{"type":48,"value":342},"CLI",{"type":48,"value":344}," (",{"type":39,"tag":53,"props":346,"children":348},{"className":347},[],[349],{"type":48,"value":350},"npx neon-new@latest --yes",{"type":48,"value":352},"): Provisions and writes ",{"type":39,"tag":53,"props":354,"children":356},{"className":355},[],[357],{"type":48,"value":284},{"type":48,"value":359}," in one command. Convenient when Node.js is available and the user wants a simple setup.",{"type":39,"tag":318,"props":361,"children":362},{},[363,368,369,375],{"type":39,"tag":44,"props":364,"children":365},{},[366],{"type":48,"value":367},"SDK",{"type":48,"value":344},{"type":39,"tag":53,"props":370,"children":372},{"className":371},[],[373],{"type":48,"value":374},"neon-new\u002Fsdk",{"type":48,"value":376},"): Scripts or programmatic provisioning in Node.js.",{"type":39,"tag":318,"props":378,"children":379},{},[380,385,386,392,394,400,402,407],{"type":39,"tag":44,"props":381,"children":382},{},[383],{"type":48,"value":384},"Vite plugin",{"type":48,"value":344},{"type":39,"tag":53,"props":387,"children":389},{"className":388},[],[390],{"type":48,"value":391},"vite-plugin-neon-new",{"type":48,"value":393},"): Auto-provisions on ",{"type":39,"tag":53,"props":395,"children":397},{"className":396},[],[398],{"type":48,"value":399},"vite dev",{"type":48,"value":401}," if ",{"type":39,"tag":53,"props":403,"children":405},{"className":404},[],[406],{"type":48,"value":292},{"type":48,"value":408}," is missing. Use when the user has a Vite project.",{"type":39,"tag":318,"props":410,"children":411},{},[412,417,419,425],{"type":39,"tag":44,"props":413,"children":414},{},[415],{"type":48,"value":416},"Browser",{"type":48,"value":418},": User cannot run CLI or API. Direct to ",{"type":39,"tag":73,"props":420,"children":423},{"href":421,"rel":422},"https:\u002F\u002Fneon.new",[77],[424],{"type":48,"value":421},{"type":48,"value":294},{"type":39,"tag":143,"props":427,"children":429},{"id":428},"auto-provisioning",[430],{"type":48,"value":431},"Auto-provisioning",{"type":39,"tag":40,"props":433,"children":434},{},[435],{"type":48,"value":436},"If the agent needs a database to fulfill a task (e.g. \"build me a todo app with a real database\") and the user has not provided a connection string, provision one via the API and inform the user. Include the claim URL so they can keep it.",{"type":39,"tag":143,"props":438,"children":440},{"id":439},"agent-workflow",[441],{"type":48,"value":442},"Agent Workflow",{"type":39,"tag":444,"props":445,"children":447},"h3",{"id":446},"api-path",[448],{"type":48,"value":449},"API path",{"type":39,"tag":451,"props":452,"children":453},"ol",{},[454,464,487,519,543,591,608],{"type":39,"tag":318,"props":455,"children":456},{},[457,462],{"type":39,"tag":44,"props":458,"children":459},{},[460],{"type":48,"value":461},"Confirm intent:",{"type":48,"value":463}," If the request is ambiguous, confirm the user wants a temporary, no-signup database. Skip this if they explicitly asked for a quick or temporary database.",{"type":39,"tag":318,"props":465,"children":466},{},[467,472,474,479,481,486],{"type":39,"tag":44,"props":468,"children":469},{},[470],{"type":48,"value":471},"Provision:",{"type":48,"value":473}," POST to ",{"type":39,"tag":53,"props":475,"children":477},{"className":476},[],[478],{"type":48,"value":189},{"type":48,"value":480}," with ",{"type":39,"tag":53,"props":482,"children":484},{"className":483},[],[485],{"type":48,"value":245},{"type":48,"value":294},{"type":39,"tag":318,"props":488,"children":489},{},[490,495,497,502,504,509,511,517],{"type":39,"tag":44,"props":491,"children":492},{},[493],{"type":48,"value":494},"Parse response:",{"type":48,"value":496}," Extract ",{"type":39,"tag":53,"props":498,"children":500},{"className":499},[],[501],{"type":48,"value":261},{"type":48,"value":503},", ",{"type":39,"tag":53,"props":505,"children":507},{"className":506},[],[508],{"type":48,"value":269},{"type":48,"value":510},", and ",{"type":39,"tag":53,"props":512,"children":514},{"className":513},[],[515],{"type":48,"value":516},"expires_at",{"type":48,"value":518}," from the JSON response.",{"type":39,"tag":318,"props":520,"children":521},{},[522,527,529,535,536,541],{"type":39,"tag":44,"props":523,"children":524},{},[525],{"type":48,"value":526},"Write .env:",{"type":48,"value":528}," Write ",{"type":39,"tag":53,"props":530,"children":532},{"className":531},[],[533],{"type":48,"value":534},"DATABASE_URL=\u003Cconnection_string>",{"type":48,"value":278},{"type":39,"tag":53,"props":537,"children":539},{"className":538},[],[540],{"type":48,"value":284},{"type":48,"value":542}," (or the user's preferred file and key). Do not overwrite an existing key without confirmation.",{"type":39,"tag":318,"props":544,"children":545},{},[546,551,553],{"type":39,"tag":44,"props":547,"children":548},{},[549],{"type":48,"value":550},"Seed (if needed):",{"type":48,"value":552}," If the user has a seed SQL file, run it against the new database:\n",{"type":39,"tag":83,"props":554,"children":556},{"className":85,"code":555,"language":87,"meta":88,"style":88},"psql \"$DATABASE_URL\" -f seed.sql\n",[557],{"type":39,"tag":53,"props":558,"children":559},{"__ignoreMap":88},[560],{"type":39,"tag":94,"props":561,"children":562},{"class":96,"line":97},[563,568,572,577,581,586],{"type":39,"tag":94,"props":564,"children":565},{"style":101},[566],{"type":48,"value":567},"psql",{"type":39,"tag":94,"props":569,"children":570},{"style":181},[571],{"type":48,"value":184},{"type":39,"tag":94,"props":573,"children":574},{"style":197},[575],{"type":48,"value":576},"$DATABASE_URL",{"type":39,"tag":94,"props":578,"children":579},{"style":181},[580],{"type":48,"value":194},{"type":39,"tag":94,"props":582,"children":583},{"style":107},[584],{"type":48,"value":585}," -f",{"type":39,"tag":94,"props":587,"children":588},{"style":107},[589],{"type":48,"value":590}," seed.sql\n",{"type":39,"tag":318,"props":592,"children":593},{},[594,599,601,607],{"type":39,"tag":44,"props":595,"children":596},{},[597],{"type":48,"value":598},"Report:",{"type":48,"value":600}," Cover every item in the ",{"type":39,"tag":73,"props":602,"children":604},{"href":603},"#output-checklist",[605],{"type":48,"value":606},"Output Checklist",{"type":48,"value":294},{"type":39,"tag":318,"props":609,"children":610},{},[611,616,618,624],{"type":39,"tag":44,"props":612,"children":613},{},[614],{"type":48,"value":615},"Optional:",{"type":48,"value":617}," Offer a quick connection test (e.g. ",{"type":39,"tag":53,"props":619,"children":621},{"className":620},[],[622],{"type":48,"value":623},"SELECT 1",{"type":48,"value":625},").",{"type":39,"tag":444,"props":627,"children":629},{"id":628},"cli-path",[630],{"type":48,"value":631},"CLI path",{"type":39,"tag":451,"props":633,"children":634},{},[635,682,690,700,788,798,811],{"type":39,"tag":318,"props":636,"children":637},{},[638,643,645,650,652,657,659,665,667,673,675,681],{"type":39,"tag":44,"props":639,"children":640},{},[641],{"type":48,"value":642},"Check .env:",{"type":48,"value":644}," Check the target ",{"type":39,"tag":53,"props":646,"children":648},{"className":647},[],[649],{"type":48,"value":284},{"type":48,"value":651}," for an existing ",{"type":39,"tag":53,"props":653,"children":655},{"className":654},[],[656],{"type":48,"value":292},{"type":48,"value":658}," (or chosen key). If present, do not run. Offer remove, ",{"type":39,"tag":53,"props":660,"children":662},{"className":661},[],[663],{"type":48,"value":664},"--env",{"type":48,"value":666},", or ",{"type":39,"tag":53,"props":668,"children":670},{"className":669},[],[671],{"type":48,"value":672},"--key",{"type":48,"value":674}," and get confirmation (see ",{"type":39,"tag":73,"props":676,"children":678},{"href":677},"#pre-run-check",[679],{"type":48,"value":680},"Pre-run Check",{"type":48,"value":625},{"type":39,"tag":318,"props":683,"children":684},{},[685,689],{"type":39,"tag":44,"props":686,"children":687},{},[688],{"type":48,"value":461},{"type":48,"value":463},{"type":39,"tag":318,"props":691,"children":692},{},[693,698],{"type":39,"tag":44,"props":694,"children":695},{},[696],{"type":48,"value":697},"Gather options:",{"type":48,"value":699}," Use defaults unless context suggests otherwise (e.g., user mentions a custom env file, seed SQL, or logical replication).",{"type":39,"tag":318,"props":701,"children":702},{},[703,708,710,716,718,724,726,732,734],{"type":39,"tag":44,"props":704,"children":705},{},[706],{"type":48,"value":707},"Run:",{"type":48,"value":709}," Execute with ",{"type":39,"tag":53,"props":711,"children":713},{"className":712},[],[714],{"type":48,"value":715},"@latest --yes",{"type":48,"value":717}," plus the confirmed options. Always use ",{"type":39,"tag":53,"props":719,"children":721},{"className":720},[],[722],{"type":48,"value":723},"@latest",{"type":48,"value":725}," to avoid stale cached versions. ",{"type":39,"tag":53,"props":727,"children":729},{"className":728},[],[730],{"type":48,"value":731},"--yes",{"type":48,"value":733}," skips interactive prompts that would stall the agent.\n",{"type":39,"tag":83,"props":735,"children":737},{"className":85,"code":736,"language":87,"meta":88,"style":88},"npx neon-new@latest --yes --ref agent-skills --env .env.local --seed .\u002Fschema.sql\n",[738],{"type":39,"tag":53,"props":739,"children":740},{"__ignoreMap":88},[741],{"type":39,"tag":94,"props":742,"children":743},{"class":96,"line":97},[744,748,753,758,763,768,773,778,783],{"type":39,"tag":94,"props":745,"children":746},{"style":101},[747],{"type":48,"value":104},{"type":39,"tag":94,"props":749,"children":750},{"style":107},[751],{"type":48,"value":752}," neon-new@latest",{"type":39,"tag":94,"props":754,"children":755},{"style":107},[756],{"type":48,"value":757}," --yes",{"type":39,"tag":94,"props":759,"children":760},{"style":107},[761],{"type":48,"value":762}," --ref",{"type":39,"tag":94,"props":764,"children":765},{"style":107},[766],{"type":48,"value":767}," agent-skills",{"type":39,"tag":94,"props":769,"children":770},{"style":107},[771],{"type":48,"value":772}," --env",{"type":39,"tag":94,"props":774,"children":775},{"style":107},[776],{"type":48,"value":777}," .env.local",{"type":39,"tag":94,"props":779,"children":780},{"style":107},[781],{"type":48,"value":782}," --seed",{"type":39,"tag":94,"props":784,"children":785},{"style":107},[786],{"type":48,"value":787}," .\u002Fschema.sql\n",{"type":39,"tag":318,"props":789,"children":790},{},[791,796],{"type":39,"tag":44,"props":792,"children":793},{},[794],{"type":48,"value":795},"Verify:",{"type":48,"value":797}," Confirm the connection string was written to the intended file.",{"type":39,"tag":318,"props":799,"children":800},{},[801,805,806,810],{"type":39,"tag":44,"props":802,"children":803},{},[804],{"type":48,"value":598},{"type":48,"value":600},{"type":39,"tag":73,"props":807,"children":808},{"href":603},[809],{"type":48,"value":606},{"type":48,"value":294},{"type":39,"tag":318,"props":812,"children":813},{},[814,818,819,824],{"type":39,"tag":44,"props":815,"children":816},{},[817],{"type":48,"value":615},{"type":48,"value":617},{"type":39,"tag":53,"props":820,"children":822},{"className":821},[],[823],{"type":48,"value":623},{"type":48,"value":625},{"type":39,"tag":444,"props":826,"children":828},{"id":827},"output-checklist",[829],{"type":48,"value":606},{"type":39,"tag":40,"props":831,"children":832},{},[833],{"type":48,"value":834},"Always report:",{"type":39,"tag":314,"props":836,"children":837},{},[838,850,862,874],{"type":39,"tag":318,"props":839,"children":840},{},[841,843,848],{"type":48,"value":842},"Where the connection string was written (e.g. ",{"type":39,"tag":53,"props":844,"children":846},{"className":845},[],[847],{"type":48,"value":284},{"type":48,"value":849},")",{"type":39,"tag":318,"props":851,"children":852},{},[853,855,860],{"type":48,"value":854},"Which variable key was used (",{"type":39,"tag":53,"props":856,"children":858},{"className":857},[],[859],{"type":48,"value":292},{"type":48,"value":861}," or custom key)",{"type":39,"tag":318,"props":863,"children":864},{},[865,867,872],{"type":48,"value":866},"The claim URL (from ",{"type":39,"tag":53,"props":868,"children":870},{"className":869},[],[871],{"type":48,"value":284},{"type":48,"value":873}," or API response)",{"type":39,"tag":318,"props":875,"children":876},{},[877],{"type":48,"value":878},"That unclaimed databases are temporary (72 hours): the database works now, and claiming within 72 hours keeps it permanently",{"type":39,"tag":143,"props":880,"children":882},{"id":881},"safety-and-ux-notes",[883],{"type":48,"value":884},"Safety and UX Notes",{"type":39,"tag":314,"props":886,"children":887},{},[888,907,934,939,944],{"type":39,"tag":318,"props":889,"children":890},{},[891,893,898,900,905],{"type":48,"value":892},"Do not overwrite existing env vars. Check first, then use ",{"type":39,"tag":53,"props":894,"children":896},{"className":895},[],[897],{"type":48,"value":664},{"type":48,"value":899}," or ",{"type":39,"tag":53,"props":901,"children":903},{"className":902},[],[904],{"type":48,"value":672},{"type":48,"value":906}," (CLI) or skip writing (API) to avoid conflicts.",{"type":39,"tag":318,"props":908,"children":909},{},[910,912,918,919,925,927,933],{"type":48,"value":911},"Ask before running destructive seed SQL (",{"type":39,"tag":53,"props":913,"children":915},{"className":914},[],[916],{"type":48,"value":917},"DROP",{"type":48,"value":503},{"type":39,"tag":53,"props":920,"children":922},{"className":921},[],[923],{"type":48,"value":924},"TRUNCATE",{"type":48,"value":926},", mass ",{"type":39,"tag":53,"props":928,"children":930},{"className":929},[],[931],{"type":48,"value":932},"DELETE",{"type":48,"value":625},{"type":39,"tag":318,"props":935,"children":936},{},[937],{"type":48,"value":938},"For production workloads, recommend standard Neon provisioning instead of temporary claimable databases.",{"type":39,"tag":318,"props":940,"children":941},{},[942],{"type":48,"value":943},"If users need long-term persistence, instruct them to open the claim URL right away.",{"type":39,"tag":318,"props":945,"children":946},{},[947,949,955],{"type":48,"value":948},"After writing credentials to an .env file, check that it's covered by .gitignore. If not, warn the user. Do not modify ",{"type":39,"tag":53,"props":950,"children":952},{"className":951},[],[953],{"type":48,"value":954},".gitignore",{"type":48,"value":956}," without confirmation.",{"type":39,"tag":143,"props":958,"children":960},{"id":959},"rest-api",[961],{"type":48,"value":325},{"type":39,"tag":40,"props":963,"children":964},{},[965,970,972],{"type":39,"tag":44,"props":966,"children":967},{},[968],{"type":48,"value":969},"Base URL:",{"type":48,"value":971}," ",{"type":39,"tag":53,"props":973,"children":975},{"className":974},[],[976],{"type":48,"value":977},"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1",{"type":39,"tag":444,"props":979,"children":981},{"id":980},"create-a-database",[982],{"type":48,"value":983},"Create a database",{"type":39,"tag":83,"props":985,"children":986},{"className":85,"code":151,"language":87,"meta":88,"style":88},[987],{"type":39,"tag":53,"props":988,"children":989},{"__ignoreMap":88},[990,1025,1048],{"type":39,"tag":94,"props":991,"children":992},{"class":96,"line":97},[993,997,1001,1005,1009,1013,1017,1021],{"type":39,"tag":94,"props":994,"children":995},{"style":101},[996],{"type":48,"value":163},{"type":39,"tag":94,"props":998,"children":999},{"style":107},[1000],{"type":48,"value":168},{"type":39,"tag":94,"props":1002,"children":1003},{"style":107},[1004],{"type":48,"value":173},{"type":39,"tag":94,"props":1006,"children":1007},{"style":107},[1008],{"type":48,"value":178},{"type":39,"tag":94,"props":1010,"children":1011},{"style":181},[1012],{"type":48,"value":184},{"type":39,"tag":94,"props":1014,"children":1015},{"style":107},[1016],{"type":48,"value":189},{"type":39,"tag":94,"props":1018,"children":1019},{"style":181},[1020],{"type":48,"value":194},{"type":39,"tag":94,"props":1022,"children":1023},{"style":197},[1024],{"type":48,"value":200},{"type":39,"tag":94,"props":1026,"children":1027},{"class":96,"line":203},[1028,1032,1036,1040,1044],{"type":39,"tag":94,"props":1029,"children":1030},{"style":107},[1031],{"type":48,"value":209},{"type":39,"tag":94,"props":1033,"children":1034},{"style":181},[1035],{"type":48,"value":184},{"type":39,"tag":94,"props":1037,"children":1038},{"style":107},[1039],{"type":48,"value":218},{"type":39,"tag":94,"props":1041,"children":1042},{"style":181},[1043],{"type":48,"value":194},{"type":39,"tag":94,"props":1045,"children":1046},{"style":197},[1047],{"type":48,"value":200},{"type":39,"tag":94,"props":1049,"children":1050},{"class":96,"line":229},[1051,1055,1059,1063],{"type":39,"tag":94,"props":1052,"children":1053},{"style":107},[1054],{"type":48,"value":235},{"type":39,"tag":94,"props":1056,"children":1057},{"style":181},[1058],{"type":48,"value":240},{"type":39,"tag":94,"props":1060,"children":1061},{"style":107},[1062],{"type":48,"value":245},{"type":39,"tag":94,"props":1064,"children":1065},{"style":181},[1066],{"type":48,"value":250},{"type":39,"tag":1068,"props":1069,"children":1070},"table",{},[1071,1095],{"type":39,"tag":1072,"props":1073,"children":1074},"thead",{},[1075],{"type":39,"tag":1076,"props":1077,"children":1078},"tr",{},[1079,1085,1090],{"type":39,"tag":1080,"props":1081,"children":1082},"th",{},[1083],{"type":48,"value":1084},"Parameter",{"type":39,"tag":1080,"props":1086,"children":1087},{},[1088],{"type":48,"value":1089},"Required",{"type":39,"tag":1080,"props":1091,"children":1092},{},[1093],{"type":48,"value":1094},"Description",{"type":39,"tag":1096,"props":1097,"children":1098},"tbody",{},[1099,1130],{"type":39,"tag":1076,"props":1100,"children":1101},{},[1102,1112,1117],{"type":39,"tag":1103,"props":1104,"children":1105},"td",{},[1106],{"type":39,"tag":53,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":48,"value":1111},"ref",{"type":39,"tag":1103,"props":1113,"children":1114},{},[1115],{"type":48,"value":1116},"Yes",{"type":39,"tag":1103,"props":1118,"children":1119},{},[1120,1122,1128],{"type":48,"value":1121},"Tracking tag that identifies who provisioned the database. Use ",{"type":39,"tag":53,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":48,"value":1127},"\"agent-skills\"",{"type":48,"value":1129}," when provisioning through this skill.",{"type":39,"tag":1076,"props":1131,"children":1132},{},[1133,1142,1147],{"type":39,"tag":1103,"props":1134,"children":1135},{},[1136],{"type":39,"tag":53,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":48,"value":1141},"enable_logical_replication",{"type":39,"tag":1103,"props":1143,"children":1144},{},[1145],{"type":48,"value":1146},"No",{"type":39,"tag":1103,"props":1148,"children":1149},{},[1150],{"type":48,"value":1151},"Enable logical replication (default: false, cannot be disabled once enabled)",{"type":39,"tag":40,"props":1153,"children":1154},{},[1155,1157,1162,1164,1170],{"type":48,"value":1156},"The ",{"type":39,"tag":53,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":48,"value":261},{"type":48,"value":1163}," returned by the API is a pooled connection URL. For a direct (non-pooled) connection (e.g. Prisma migrations), remove ",{"type":39,"tag":53,"props":1165,"children":1167},{"className":1166},[],[1168],{"type":48,"value":1169},"-pooler",{"type":48,"value":1171}," from the hostname. The CLI writes both pooled and direct URLs automatically.",{"type":39,"tag":40,"props":1173,"children":1174},{},[1175],{"type":39,"tag":44,"props":1176,"children":1177},{},[1178],{"type":48,"value":1179},"Response:",{"type":39,"tag":83,"props":1181,"children":1185},{"className":1182,"code":1183,"language":1184,"meta":88,"style":88},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"id\": \"019beb39-37fb-709d-87ac-7ad6198b89f7\",\n  \"status\": \"UNCLAIMED\",\n  \"neon_project_id\": \"gentle-scene-06438508\",\n  \"connection_string\": \"postgresql:\u002F\u002F...\",\n  \"claim_url\": \"https:\u002F\u002Fneon.new\u002Fclaim\u002F019beb39-...\",\n  \"expires_at\": \"2026-01-26T14:19:14.580Z\",\n  \"created_at\": \"2026-01-23T14:19:14.580Z\",\n  \"updated_at\": \"2026-01-23T14:19:14.580Z\"\n}\n","json",[1186],{"type":39,"tag":53,"props":1187,"children":1188},{"__ignoreMap":88},[1189,1197,1238,1275,1313,1350,1387,1424,1462,1496],{"type":39,"tag":94,"props":1190,"children":1191},{"class":96,"line":97},[1192],{"type":39,"tag":94,"props":1193,"children":1194},{"style":181},[1195],{"type":48,"value":1196},"{\n",{"type":39,"tag":94,"props":1198,"children":1199},{"class":96,"line":203},[1200,1205,1211,1215,1220,1224,1229,1233],{"type":39,"tag":94,"props":1201,"children":1202},{"style":181},[1203],{"type":48,"value":1204},"  \"",{"type":39,"tag":94,"props":1206,"children":1208},{"style":1207},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1209],{"type":48,"value":1210},"id",{"type":39,"tag":94,"props":1212,"children":1213},{"style":181},[1214],{"type":48,"value":194},{"type":39,"tag":94,"props":1216,"children":1217},{"style":181},[1218],{"type":48,"value":1219},":",{"type":39,"tag":94,"props":1221,"children":1222},{"style":181},[1223],{"type":48,"value":184},{"type":39,"tag":94,"props":1225,"children":1226},{"style":107},[1227],{"type":48,"value":1228},"019beb39-37fb-709d-87ac-7ad6198b89f7",{"type":39,"tag":94,"props":1230,"children":1231},{"style":181},[1232],{"type":48,"value":194},{"type":39,"tag":94,"props":1234,"children":1235},{"style":181},[1236],{"type":48,"value":1237},",\n",{"type":39,"tag":94,"props":1239,"children":1240},{"class":96,"line":229},[1241,1245,1250,1254,1258,1262,1267,1271],{"type":39,"tag":94,"props":1242,"children":1243},{"style":181},[1244],{"type":48,"value":1204},{"type":39,"tag":94,"props":1246,"children":1247},{"style":1207},[1248],{"type":48,"value":1249},"status",{"type":39,"tag":94,"props":1251,"children":1252},{"style":181},[1253],{"type":48,"value":194},{"type":39,"tag":94,"props":1255,"children":1256},{"style":181},[1257],{"type":48,"value":1219},{"type":39,"tag":94,"props":1259,"children":1260},{"style":181},[1261],{"type":48,"value":184},{"type":39,"tag":94,"props":1263,"children":1264},{"style":107},[1265],{"type":48,"value":1266},"UNCLAIMED",{"type":39,"tag":94,"props":1268,"children":1269},{"style":181},[1270],{"type":48,"value":194},{"type":39,"tag":94,"props":1272,"children":1273},{"style":181},[1274],{"type":48,"value":1237},{"type":39,"tag":94,"props":1276,"children":1278},{"class":96,"line":1277},4,[1279,1283,1288,1292,1296,1300,1305,1309],{"type":39,"tag":94,"props":1280,"children":1281},{"style":181},[1282],{"type":48,"value":1204},{"type":39,"tag":94,"props":1284,"children":1285},{"style":1207},[1286],{"type":48,"value":1287},"neon_project_id",{"type":39,"tag":94,"props":1289,"children":1290},{"style":181},[1291],{"type":48,"value":194},{"type":39,"tag":94,"props":1293,"children":1294},{"style":181},[1295],{"type":48,"value":1219},{"type":39,"tag":94,"props":1297,"children":1298},{"style":181},[1299],{"type":48,"value":184},{"type":39,"tag":94,"props":1301,"children":1302},{"style":107},[1303],{"type":48,"value":1304},"gentle-scene-06438508",{"type":39,"tag":94,"props":1306,"children":1307},{"style":181},[1308],{"type":48,"value":194},{"type":39,"tag":94,"props":1310,"children":1311},{"style":181},[1312],{"type":48,"value":1237},{"type":39,"tag":94,"props":1314,"children":1316},{"class":96,"line":1315},5,[1317,1321,1325,1329,1333,1337,1342,1346],{"type":39,"tag":94,"props":1318,"children":1319},{"style":181},[1320],{"type":48,"value":1204},{"type":39,"tag":94,"props":1322,"children":1323},{"style":1207},[1324],{"type":48,"value":261},{"type":39,"tag":94,"props":1326,"children":1327},{"style":181},[1328],{"type":48,"value":194},{"type":39,"tag":94,"props":1330,"children":1331},{"style":181},[1332],{"type":48,"value":1219},{"type":39,"tag":94,"props":1334,"children":1335},{"style":181},[1336],{"type":48,"value":184},{"type":39,"tag":94,"props":1338,"children":1339},{"style":107},[1340],{"type":48,"value":1341},"postgresql:\u002F\u002F...",{"type":39,"tag":94,"props":1343,"children":1344},{"style":181},[1345],{"type":48,"value":194},{"type":39,"tag":94,"props":1347,"children":1348},{"style":181},[1349],{"type":48,"value":1237},{"type":39,"tag":94,"props":1351,"children":1353},{"class":96,"line":1352},6,[1354,1358,1362,1366,1370,1374,1379,1383],{"type":39,"tag":94,"props":1355,"children":1356},{"style":181},[1357],{"type":48,"value":1204},{"type":39,"tag":94,"props":1359,"children":1360},{"style":1207},[1361],{"type":48,"value":269},{"type":39,"tag":94,"props":1363,"children":1364},{"style":181},[1365],{"type":48,"value":194},{"type":39,"tag":94,"props":1367,"children":1368},{"style":181},[1369],{"type":48,"value":1219},{"type":39,"tag":94,"props":1371,"children":1372},{"style":181},[1373],{"type":48,"value":184},{"type":39,"tag":94,"props":1375,"children":1376},{"style":107},[1377],{"type":48,"value":1378},"https:\u002F\u002Fneon.new\u002Fclaim\u002F019beb39-...",{"type":39,"tag":94,"props":1380,"children":1381},{"style":181},[1382],{"type":48,"value":194},{"type":39,"tag":94,"props":1384,"children":1385},{"style":181},[1386],{"type":48,"value":1237},{"type":39,"tag":94,"props":1388,"children":1390},{"class":96,"line":1389},7,[1391,1395,1399,1403,1407,1411,1416,1420],{"type":39,"tag":94,"props":1392,"children":1393},{"style":181},[1394],{"type":48,"value":1204},{"type":39,"tag":94,"props":1396,"children":1397},{"style":1207},[1398],{"type":48,"value":516},{"type":39,"tag":94,"props":1400,"children":1401},{"style":181},[1402],{"type":48,"value":194},{"type":39,"tag":94,"props":1404,"children":1405},{"style":181},[1406],{"type":48,"value":1219},{"type":39,"tag":94,"props":1408,"children":1409},{"style":181},[1410],{"type":48,"value":184},{"type":39,"tag":94,"props":1412,"children":1413},{"style":107},[1414],{"type":48,"value":1415},"2026-01-26T14:19:14.580Z",{"type":39,"tag":94,"props":1417,"children":1418},{"style":181},[1419],{"type":48,"value":194},{"type":39,"tag":94,"props":1421,"children":1422},{"style":181},[1423],{"type":48,"value":1237},{"type":39,"tag":94,"props":1425,"children":1427},{"class":96,"line":1426},8,[1428,1432,1437,1441,1445,1449,1454,1458],{"type":39,"tag":94,"props":1429,"children":1430},{"style":181},[1431],{"type":48,"value":1204},{"type":39,"tag":94,"props":1433,"children":1434},{"style":1207},[1435],{"type":48,"value":1436},"created_at",{"type":39,"tag":94,"props":1438,"children":1439},{"style":181},[1440],{"type":48,"value":194},{"type":39,"tag":94,"props":1442,"children":1443},{"style":181},[1444],{"type":48,"value":1219},{"type":39,"tag":94,"props":1446,"children":1447},{"style":181},[1448],{"type":48,"value":184},{"type":39,"tag":94,"props":1450,"children":1451},{"style":107},[1452],{"type":48,"value":1453},"2026-01-23T14:19:14.580Z",{"type":39,"tag":94,"props":1455,"children":1456},{"style":181},[1457],{"type":48,"value":194},{"type":39,"tag":94,"props":1459,"children":1460},{"style":181},[1461],{"type":48,"value":1237},{"type":39,"tag":94,"props":1463,"children":1465},{"class":96,"line":1464},9,[1466,1470,1475,1479,1483,1487,1491],{"type":39,"tag":94,"props":1467,"children":1468},{"style":181},[1469],{"type":48,"value":1204},{"type":39,"tag":94,"props":1471,"children":1472},{"style":1207},[1473],{"type":48,"value":1474},"updated_at",{"type":39,"tag":94,"props":1476,"children":1477},{"style":181},[1478],{"type":48,"value":194},{"type":39,"tag":94,"props":1480,"children":1481},{"style":181},[1482],{"type":48,"value":1219},{"type":39,"tag":94,"props":1484,"children":1485},{"style":181},[1486],{"type":48,"value":184},{"type":39,"tag":94,"props":1488,"children":1489},{"style":107},[1490],{"type":48,"value":1453},{"type":39,"tag":94,"props":1492,"children":1493},{"style":181},[1494],{"type":48,"value":1495},"\"\n",{"type":39,"tag":94,"props":1497,"children":1499},{"class":96,"line":1498},10,[1500],{"type":39,"tag":94,"props":1501,"children":1502},{"style":181},[1503],{"type":48,"value":1504},"}\n",{"type":39,"tag":444,"props":1506,"children":1508},{"id":1507},"check-status",[1509],{"type":48,"value":1510},"Check status",{"type":39,"tag":83,"props":1512,"children":1514},{"className":85,"code":1513,"language":87,"meta":88,"style":88},"curl -s \"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\u002F{id}\"\n",[1515],{"type":39,"tag":53,"props":1516,"children":1517},{"__ignoreMap":88},[1518],{"type":39,"tag":94,"props":1519,"children":1520},{"class":96,"line":97},[1521,1525,1529,1533,1538],{"type":39,"tag":94,"props":1522,"children":1523},{"style":101},[1524],{"type":48,"value":163},{"type":39,"tag":94,"props":1526,"children":1527},{"style":107},[1528],{"type":48,"value":168},{"type":39,"tag":94,"props":1530,"children":1531},{"style":181},[1532],{"type":48,"value":184},{"type":39,"tag":94,"props":1534,"children":1535},{"style":107},[1536],{"type":48,"value":1537},"https:\u002F\u002Fneon.new\u002Fapi\u002Fv1\u002Fdatabase\u002F{id}",{"type":39,"tag":94,"props":1539,"children":1540},{"style":181},[1541],{"type":48,"value":1495},{"type":39,"tag":40,"props":1543,"children":1544},{},[1545,1547,1552,1554,1560,1561,1567,1569,1574,1576,1582],{"type":48,"value":1546},"Returns the same response shape. Status transitions: ",{"type":39,"tag":53,"props":1548,"children":1550},{"className":1549},[],[1551],{"type":48,"value":1266},{"type":48,"value":1553}," -> ",{"type":39,"tag":53,"props":1555,"children":1557},{"className":1556},[],[1558],{"type":48,"value":1559},"CLAIMING",{"type":48,"value":1553},{"type":39,"tag":53,"props":1562,"children":1564},{"className":1563},[],[1565],{"type":48,"value":1566},"CLAIMED",{"type":48,"value":1568},". After the database is claimed, ",{"type":39,"tag":53,"props":1570,"children":1572},{"className":1571},[],[1573],{"type":48,"value":261},{"type":48,"value":1575}," returns ",{"type":39,"tag":53,"props":1577,"children":1579},{"className":1578},[],[1580],{"type":48,"value":1581},"null",{"type":48,"value":294},{"type":39,"tag":444,"props":1584,"children":1586},{"id":1585},"error-responses",[1587],{"type":48,"value":1588},"Error responses",{"type":39,"tag":1068,"props":1590,"children":1591},{},[1592,1613],{"type":39,"tag":1072,"props":1593,"children":1594},{},[1595],{"type":39,"tag":1076,"props":1596,"children":1597},{},[1598,1603,1608],{"type":39,"tag":1080,"props":1599,"children":1600},{},[1601],{"type":48,"value":1602},"Condition",{"type":39,"tag":1080,"props":1604,"children":1605},{},[1606],{"type":48,"value":1607},"HTTP",{"type":39,"tag":1080,"props":1609,"children":1610},{},[1611],{"type":48,"value":1612},"Message",{"type":39,"tag":1096,"props":1614,"children":1615},{},[1616,1643,1664],{"type":39,"tag":1076,"props":1617,"children":1618},{},[1619,1629,1634],{"type":39,"tag":1103,"props":1620,"children":1621},{},[1622,1624],{"type":48,"value":1623},"Missing or empty ",{"type":39,"tag":53,"props":1625,"children":1627},{"className":1626},[],[1628],{"type":48,"value":1111},{"type":39,"tag":1103,"props":1630,"children":1631},{},[1632],{"type":48,"value":1633},"400",{"type":39,"tag":1103,"props":1635,"children":1636},{},[1637],{"type":39,"tag":53,"props":1638,"children":1640},{"className":1639},[],[1641],{"type":48,"value":1642},"Missing referrer",{"type":39,"tag":1076,"props":1644,"children":1645},{},[1646,1651,1655],{"type":39,"tag":1103,"props":1647,"children":1648},{},[1649],{"type":48,"value":1650},"Invalid database ID",{"type":39,"tag":1103,"props":1652,"children":1653},{},[1654],{"type":48,"value":1633},{"type":39,"tag":1103,"props":1656,"children":1657},{},[1658],{"type":39,"tag":53,"props":1659,"children":1661},{"className":1660},[],[1662],{"type":48,"value":1663},"Database not found",{"type":39,"tag":1076,"props":1665,"children":1666},{},[1667,1672,1677],{"type":39,"tag":1103,"props":1668,"children":1669},{},[1670],{"type":48,"value":1671},"Invalid JSON body",{"type":39,"tag":1103,"props":1673,"children":1674},{},[1675],{"type":48,"value":1676},"500",{"type":39,"tag":1103,"props":1678,"children":1679},{},[1680],{"type":39,"tag":53,"props":1681,"children":1683},{"className":1682},[],[1684],{"type":48,"value":1685},"Failed to create the database.",{"type":39,"tag":143,"props":1687,"children":1689},{"id":1688},"cli",[1690],{"type":48,"value":342},{"type":39,"tag":83,"props":1692,"children":1694},{"className":85,"code":1693,"language":87,"meta":88,"style":88},"npx neon-new@latest --yes\n",[1695],{"type":39,"tag":53,"props":1696,"children":1697},{"__ignoreMap":88},[1698],{"type":39,"tag":94,"props":1699,"children":1700},{"class":96,"line":97},[1701,1705,1709],{"type":39,"tag":94,"props":1702,"children":1703},{"style":101},[1704],{"type":48,"value":104},{"type":39,"tag":94,"props":1706,"children":1707},{"style":107},[1708],{"type":48,"value":752},{"type":39,"tag":94,"props":1710,"children":1711},{"style":107},[1712],{"type":48,"value":1713}," --yes\n",{"type":39,"tag":40,"props":1715,"children":1716},{},[1717,1719,1724,1726,1731,1732,1737],{"type":48,"value":1718},"Provisions a database and writes the connection string to ",{"type":39,"tag":53,"props":1720,"children":1722},{"className":1721},[],[1723],{"type":48,"value":284},{"type":48,"value":1725}," in one step. Always use ",{"type":39,"tag":53,"props":1727,"children":1729},{"className":1728},[],[1730],{"type":48,"value":723},{"type":48,"value":263},{"type":39,"tag":53,"props":1733,"children":1735},{"className":1734},[],[1736],{"type":48,"value":731},{"type":48,"value":1738}," (skips interactive prompts that would stall the agent).",{"type":39,"tag":444,"props":1740,"children":1742},{"id":1741},"pre-run-check",[1743],{"type":48,"value":680},{"type":39,"tag":40,"props":1745,"children":1746},{},[1747,1749,1754,1756,1761],{"type":48,"value":1748},"Check if ",{"type":39,"tag":53,"props":1750,"children":1752},{"className":1751},[],[1753],{"type":48,"value":292},{"type":48,"value":1755}," (or the chosen key) already exists in the target ",{"type":39,"tag":53,"props":1757,"children":1759},{"className":1758},[],[1760],{"type":48,"value":284},{"type":48,"value":1762},". The CLI exits without provisioning if it finds the key.",{"type":39,"tag":40,"props":1764,"children":1765},{},[1766],{"type":48,"value":1767},"If the key exists, offer the user three options:",{"type":39,"tag":451,"props":1769,"children":1770},{},[1771,1776,1795],{"type":39,"tag":318,"props":1772,"children":1773},{},[1774],{"type":48,"value":1775},"Remove or comment out the existing line, then rerun.",{"type":39,"tag":318,"props":1777,"children":1778},{},[1779,1781,1786,1788,1794],{"type":48,"value":1780},"Use ",{"type":39,"tag":53,"props":1782,"children":1784},{"className":1783},[],[1785],{"type":48,"value":664},{"type":48,"value":1787}," to write to a different file (e.g. ",{"type":39,"tag":53,"props":1789,"children":1791},{"className":1790},[],[1792],{"type":48,"value":1793},"--env .env.local",{"type":48,"value":625},{"type":39,"tag":318,"props":1796,"children":1797},{},[1798,1799,1804],{"type":48,"value":1780},{"type":39,"tag":53,"props":1800,"children":1802},{"className":1801},[],[1803],{"type":48,"value":672},{"type":48,"value":1805}," to write under a different variable name.",{"type":39,"tag":40,"props":1807,"children":1808},{},[1809],{"type":48,"value":1810},"Get confirmation before proceeding.",{"type":39,"tag":444,"props":1812,"children":1814},{"id":1813},"options",[1815],{"type":48,"value":1816},"Options",{"type":39,"tag":1068,"props":1818,"children":1819},{},[1820,1845],{"type":39,"tag":1072,"props":1821,"children":1822},{},[1823],{"type":39,"tag":1076,"props":1824,"children":1825},{},[1826,1831,1836,1840],{"type":39,"tag":1080,"props":1827,"children":1828},{},[1829],{"type":48,"value":1830},"Option",{"type":39,"tag":1080,"props":1832,"children":1833},{},[1834],{"type":48,"value":1835},"Alias",{"type":39,"tag":1080,"props":1837,"children":1838},{},[1839],{"type":48,"value":1094},{"type":39,"tag":1080,"props":1841,"children":1842},{},[1843],{"type":48,"value":1844},"Default",{"type":39,"tag":1096,"props":1846,"children":1847},{},[1848,1882,1916,1949,1984,2015,2049],{"type":39,"tag":1076,"props":1849,"children":1850},{},[1851,1859,1868,1873],{"type":39,"tag":1103,"props":1852,"children":1853},{},[1854],{"type":39,"tag":53,"props":1855,"children":1857},{"className":1856},[],[1858],{"type":48,"value":731},{"type":39,"tag":1103,"props":1860,"children":1861},{},[1862],{"type":39,"tag":53,"props":1863,"children":1865},{"className":1864},[],[1866],{"type":48,"value":1867},"-y",{"type":39,"tag":1103,"props":1869,"children":1870},{},[1871],{"type":48,"value":1872},"Skip prompts, use defaults",{"type":39,"tag":1103,"props":1874,"children":1875},{},[1876],{"type":39,"tag":53,"props":1877,"children":1879},{"className":1878},[],[1880],{"type":48,"value":1881},"false",{"type":39,"tag":1076,"props":1883,"children":1884},{},[1885,1893,1902,1907],{"type":39,"tag":1103,"props":1886,"children":1887},{},[1888],{"type":39,"tag":53,"props":1889,"children":1891},{"className":1890},[],[1892],{"type":48,"value":664},{"type":39,"tag":1103,"props":1894,"children":1895},{},[1896],{"type":39,"tag":53,"props":1897,"children":1899},{"className":1898},[],[1900],{"type":48,"value":1901},"-e",{"type":39,"tag":1103,"props":1903,"children":1904},{},[1905],{"type":48,"value":1906},".env file path",{"type":39,"tag":1103,"props":1908,"children":1909},{},[1910],{"type":39,"tag":53,"props":1911,"children":1913},{"className":1912},[],[1914],{"type":48,"value":1915},".\u002F.env",{"type":39,"tag":1076,"props":1917,"children":1918},{},[1919,1927,1936,1941],{"type":39,"tag":1103,"props":1920,"children":1921},{},[1922],{"type":39,"tag":53,"props":1923,"children":1925},{"className":1924},[],[1926],{"type":48,"value":672},{"type":39,"tag":1103,"props":1928,"children":1929},{},[1930],{"type":39,"tag":53,"props":1931,"children":1933},{"className":1932},[],[1934],{"type":48,"value":1935},"-k",{"type":39,"tag":1103,"props":1937,"children":1938},{},[1939],{"type":48,"value":1940},"Connection string env var key",{"type":39,"tag":1103,"props":1942,"children":1943},{},[1944],{"type":39,"tag":53,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":48,"value":292},{"type":39,"tag":1076,"props":1950,"children":1951},{},[1952,1961,1970,1975],{"type":39,"tag":1103,"props":1953,"children":1954},{},[1955],{"type":39,"tag":53,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":48,"value":1960},"--prefix",{"type":39,"tag":1103,"props":1962,"children":1963},{},[1964],{"type":39,"tag":53,"props":1965,"children":1967},{"className":1966},[],[1968],{"type":48,"value":1969},"-p",{"type":39,"tag":1103,"props":1971,"children":1972},{},[1973],{"type":48,"value":1974},"Prefix for generated public env vars",{"type":39,"tag":1103,"props":1976,"children":1977},{},[1978],{"type":39,"tag":53,"props":1979,"children":1981},{"className":1980},[],[1982],{"type":48,"value":1983},"PUBLIC_",{"type":39,"tag":1076,"props":1985,"children":1986},{},[1987,1996,2005,2010],{"type":39,"tag":1103,"props":1988,"children":1989},{},[1990],{"type":39,"tag":53,"props":1991,"children":1993},{"className":1992},[],[1994],{"type":48,"value":1995},"--seed",{"type":39,"tag":1103,"props":1997,"children":1998},{},[1999],{"type":39,"tag":53,"props":2000,"children":2002},{"className":2001},[],[2003],{"type":48,"value":2004},"-s",{"type":39,"tag":1103,"props":2006,"children":2007},{},[2008],{"type":48,"value":2009},"Path to seed SQL file",{"type":39,"tag":1103,"props":2011,"children":2012},{},[2013],{"type":48,"value":2014},"none",{"type":39,"tag":1076,"props":2016,"children":2017},{},[2018,2027,2036,2041],{"type":39,"tag":1103,"props":2019,"children":2020},{},[2021],{"type":39,"tag":53,"props":2022,"children":2024},{"className":2023},[],[2025],{"type":48,"value":2026},"--logical-replication",{"type":39,"tag":1103,"props":2028,"children":2029},{},[2030],{"type":39,"tag":53,"props":2031,"children":2033},{"className":2032},[],[2034],{"type":48,"value":2035},"-L",{"type":39,"tag":1103,"props":2037,"children":2038},{},[2039],{"type":48,"value":2040},"Enable logical replication",{"type":39,"tag":1103,"props":2042,"children":2043},{},[2044],{"type":39,"tag":53,"props":2045,"children":2047},{"className":2046},[],[2048],{"type":48,"value":1881},{"type":39,"tag":1076,"props":2050,"children":2051},{},[2052,2061,2070,2083],{"type":39,"tag":1103,"props":2053,"children":2054},{},[2055],{"type":39,"tag":53,"props":2056,"children":2058},{"className":2057},[],[2059],{"type":48,"value":2060},"--ref",{"type":39,"tag":1103,"props":2062,"children":2063},{},[2064],{"type":39,"tag":53,"props":2065,"children":2067},{"className":2066},[],[2068],{"type":48,"value":2069},"-r",{"type":39,"tag":1103,"props":2071,"children":2072},{},[2073,2075,2081],{"type":48,"value":2074},"Referrer id (use ",{"type":39,"tag":53,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":48,"value":2080},"agent-skills",{"type":48,"value":2082}," when provisioning through this skill)",{"type":39,"tag":1103,"props":2084,"children":2085},{},[2086],{"type":48,"value":2014},{"type":39,"tag":40,"props":2088,"children":2089},{},[2090,2092,2098,2099,2105,2106,2112,2113,2119],{"type":48,"value":2091},"Alternative package managers: ",{"type":39,"tag":53,"props":2093,"children":2095},{"className":2094},[],[2096],{"type":48,"value":2097},"yarn dlx neon-new@latest",{"type":48,"value":503},{"type":39,"tag":53,"props":2100,"children":2102},{"className":2101},[],[2103],{"type":48,"value":2104},"pnpm dlx neon-new@latest",{"type":48,"value":503},{"type":39,"tag":53,"props":2107,"children":2109},{"className":2108},[],[2110],{"type":48,"value":2111},"bunx neon-new@latest",{"type":48,"value":503},{"type":39,"tag":53,"props":2114,"children":2116},{"className":2115},[],[2117],{"type":48,"value":2118},"deno run -A neon-new@latest",{"type":48,"value":294},{"type":39,"tag":444,"props":2121,"children":2123},{"id":2122},"output",[2124],{"type":48,"value":2125},"Output",{"type":39,"tag":40,"props":2127,"children":2128},{},[2129,2131,2136],{"type":48,"value":2130},"The CLI writes to the target ",{"type":39,"tag":53,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":48,"value":284},{"type":48,"value":1219},{"type":39,"tag":83,"props":2138,"children":2142},{"className":2139,"code":2141,"language":48},[2140],"language-text","DATABASE_URL=postgresql:\u002F\u002F...              # pooled (use for application queries)\nDATABASE_URL_DIRECT=postgresql:\u002F\u002F...       # direct (use for migrations, e.g. Prisma)\nPUBLIC_POSTGRES_CLAIM_URL=https:\u002F\u002Fneon.new\u002Fclaim\u002F...\n",[2143],{"type":39,"tag":53,"props":2144,"children":2145},{"__ignoreMap":88},[2146],{"type":48,"value":2141},{"type":39,"tag":143,"props":2148,"children":2150},{"id":2149},"sdk",[2151],{"type":48,"value":367},{"type":39,"tag":40,"props":2153,"children":2154},{},[2155],{"type":48,"value":2156},"Use for scripts and programmatic provisioning flows.",{"type":39,"tag":83,"props":2158,"children":2162},{"className":2159,"code":2160,"language":2161,"meta":88,"style":88},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { instantPostgres } from \"neon-new\";\n\nconst { databaseUrl, databaseUrlDirect, claimUrl, claimExpiresAt } =\n  await instantPostgres({\n    referrer: \"agent-skills\",\n    seed: { type: \"sql-script\", path: \".\u002Finit.sql\" },\n  });\n","typescript",[2163],{"type":39,"tag":53,"props":2164,"children":2165},{"__ignoreMap":88},[2166,2213,2222,2277,2299,2328,2397],{"type":39,"tag":94,"props":2167,"children":2168},{"class":96,"line":97},[2169,2175,2180,2185,2190,2195,2199,2204,2208],{"type":39,"tag":94,"props":2170,"children":2172},{"style":2171},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2173],{"type":48,"value":2174},"import",{"type":39,"tag":94,"props":2176,"children":2177},{"style":181},[2178],{"type":48,"value":2179}," {",{"type":39,"tag":94,"props":2181,"children":2182},{"style":197},[2183],{"type":48,"value":2184}," instantPostgres",{"type":39,"tag":94,"props":2186,"children":2187},{"style":181},[2188],{"type":48,"value":2189}," }",{"type":39,"tag":94,"props":2191,"children":2192},{"style":2171},[2193],{"type":48,"value":2194}," from",{"type":39,"tag":94,"props":2196,"children":2197},{"style":181},[2198],{"type":48,"value":184},{"type":39,"tag":94,"props":2200,"children":2201},{"style":107},[2202],{"type":48,"value":2203},"neon-new",{"type":39,"tag":94,"props":2205,"children":2206},{"style":181},[2207],{"type":48,"value":194},{"type":39,"tag":94,"props":2209,"children":2210},{"style":181},[2211],{"type":48,"value":2212},";\n",{"type":39,"tag":94,"props":2214,"children":2215},{"class":96,"line":203},[2216],{"type":39,"tag":94,"props":2217,"children":2219},{"emptyLinePlaceholder":2218},true,[2220],{"type":48,"value":2221},"\n",{"type":39,"tag":94,"props":2223,"children":2224},{"class":96,"line":229},[2225,2230,2234,2239,2244,2249,2253,2258,2262,2267,2272],{"type":39,"tag":94,"props":2226,"children":2227},{"style":1207},[2228],{"type":48,"value":2229},"const",{"type":39,"tag":94,"props":2231,"children":2232},{"style":181},[2233],{"type":48,"value":2179},{"type":39,"tag":94,"props":2235,"children":2236},{"style":197},[2237],{"type":48,"value":2238}," databaseUrl",{"type":39,"tag":94,"props":2240,"children":2241},{"style":181},[2242],{"type":48,"value":2243},",",{"type":39,"tag":94,"props":2245,"children":2246},{"style":197},[2247],{"type":48,"value":2248}," databaseUrlDirect",{"type":39,"tag":94,"props":2250,"children":2251},{"style":181},[2252],{"type":48,"value":2243},{"type":39,"tag":94,"props":2254,"children":2255},{"style":197},[2256],{"type":48,"value":2257}," claimUrl",{"type":39,"tag":94,"props":2259,"children":2260},{"style":181},[2261],{"type":48,"value":2243},{"type":39,"tag":94,"props":2263,"children":2264},{"style":197},[2265],{"type":48,"value":2266}," claimExpiresAt ",{"type":39,"tag":94,"props":2268,"children":2269},{"style":181},[2270],{"type":48,"value":2271},"}",{"type":39,"tag":94,"props":2273,"children":2274},{"style":181},[2275],{"type":48,"value":2276}," =\n",{"type":39,"tag":94,"props":2278,"children":2279},{"class":96,"line":1277},[2280,2285,2290,2295],{"type":39,"tag":94,"props":2281,"children":2282},{"style":2171},[2283],{"type":48,"value":2284},"  await",{"type":39,"tag":94,"props":2286,"children":2288},{"style":2287},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2289],{"type":48,"value":2184},{"type":39,"tag":94,"props":2291,"children":2292},{"style":197},[2293],{"type":48,"value":2294},"(",{"type":39,"tag":94,"props":2296,"children":2297},{"style":181},[2298],{"type":48,"value":1196},{"type":39,"tag":94,"props":2300,"children":2301},{"class":96,"line":1315},[2302,2308,2312,2316,2320,2324],{"type":39,"tag":94,"props":2303,"children":2305},{"style":2304},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[2306],{"type":48,"value":2307},"    referrer",{"type":39,"tag":94,"props":2309,"children":2310},{"style":181},[2311],{"type":48,"value":1219},{"type":39,"tag":94,"props":2313,"children":2314},{"style":181},[2315],{"type":48,"value":184},{"type":39,"tag":94,"props":2317,"children":2318},{"style":107},[2319],{"type":48,"value":2080},{"type":39,"tag":94,"props":2321,"children":2322},{"style":181},[2323],{"type":48,"value":194},{"type":39,"tag":94,"props":2325,"children":2326},{"style":181},[2327],{"type":48,"value":1237},{"type":39,"tag":94,"props":2329,"children":2330},{"class":96,"line":1352},[2331,2336,2340,2344,2349,2353,2357,2362,2366,2370,2375,2379,2383,2388,2392],{"type":39,"tag":94,"props":2332,"children":2333},{"style":2304},[2334],{"type":48,"value":2335},"    seed",{"type":39,"tag":94,"props":2337,"children":2338},{"style":181},[2339],{"type":48,"value":1219},{"type":39,"tag":94,"props":2341,"children":2342},{"style":181},[2343],{"type":48,"value":2179},{"type":39,"tag":94,"props":2345,"children":2346},{"style":2304},[2347],{"type":48,"value":2348}," type",{"type":39,"tag":94,"props":2350,"children":2351},{"style":181},[2352],{"type":48,"value":1219},{"type":39,"tag":94,"props":2354,"children":2355},{"style":181},[2356],{"type":48,"value":184},{"type":39,"tag":94,"props":2358,"children":2359},{"style":107},[2360],{"type":48,"value":2361},"sql-script",{"type":39,"tag":94,"props":2363,"children":2364},{"style":181},[2365],{"type":48,"value":194},{"type":39,"tag":94,"props":2367,"children":2368},{"style":181},[2369],{"type":48,"value":2243},{"type":39,"tag":94,"props":2371,"children":2372},{"style":2304},[2373],{"type":48,"value":2374}," path",{"type":39,"tag":94,"props":2376,"children":2377},{"style":181},[2378],{"type":48,"value":1219},{"type":39,"tag":94,"props":2380,"children":2381},{"style":181},[2382],{"type":48,"value":184},{"type":39,"tag":94,"props":2384,"children":2385},{"style":107},[2386],{"type":48,"value":2387},".\u002Finit.sql",{"type":39,"tag":94,"props":2389,"children":2390},{"style":181},[2391],{"type":48,"value":194},{"type":39,"tag":94,"props":2393,"children":2394},{"style":181},[2395],{"type":48,"value":2396}," },\n",{"type":39,"tag":94,"props":2398,"children":2399},{"class":96,"line":1389},[2400,2405,2409],{"type":39,"tag":94,"props":2401,"children":2402},{"style":181},[2403],{"type":48,"value":2404},"  }",{"type":39,"tag":94,"props":2406,"children":2407},{"style":197},[2408],{"type":48,"value":849},{"type":39,"tag":94,"props":2410,"children":2411},{"style":181},[2412],{"type":48,"value":2212},{"type":39,"tag":40,"props":2414,"children":2415},{},[2416,2418,2424,2426,2432,2434,2440,2441,2447,2449,2455],{"type":48,"value":2417},"Returns ",{"type":39,"tag":53,"props":2419,"children":2421},{"className":2420},[],[2422],{"type":48,"value":2423},"databaseUrl",{"type":48,"value":2425}," (pooled), ",{"type":39,"tag":53,"props":2427,"children":2429},{"className":2428},[],[2430],{"type":48,"value":2431},"databaseUrlDirect",{"type":48,"value":2433}," (direct, for migrations), ",{"type":39,"tag":53,"props":2435,"children":2437},{"className":2436},[],[2438],{"type":48,"value":2439},"claimUrl",{"type":48,"value":510},{"type":39,"tag":53,"props":2442,"children":2444},{"className":2443},[],[2445],{"type":48,"value":2446},"claimExpiresAt",{"type":48,"value":2448}," (Date object). The ",{"type":39,"tag":53,"props":2450,"children":2452},{"className":2451},[],[2453],{"type":48,"value":2454},"referrer",{"type":48,"value":2456}," parameter is required.",{"type":39,"tag":143,"props":2458,"children":2460},{"id":2459},"vite-plugin",[2461],{"type":48,"value":2462},"Vite Plugin",{"type":39,"tag":40,"props":2464,"children":2465},{},[2466,2468,2473,2475,2480,2481,2486,2488,2494,2496,2503],{"type":48,"value":2467},"For Vite projects, ",{"type":39,"tag":53,"props":2469,"children":2471},{"className":2470},[],[2472],{"type":48,"value":391},{"type":48,"value":2474}," auto-provisions a database on ",{"type":39,"tag":53,"props":2476,"children":2478},{"className":2477},[],[2479],{"type":48,"value":399},{"type":48,"value":401},{"type":39,"tag":53,"props":2482,"children":2484},{"className":2483},[],[2485],{"type":48,"value":292},{"type":48,"value":2487}," is missing. Install with ",{"type":39,"tag":53,"props":2489,"children":2491},{"className":2490},[],[2492],{"type":48,"value":2493},"npm install -D vite-plugin-neon-new",{"type":48,"value":2495},". See the ",{"type":39,"tag":73,"props":2497,"children":2500},{"href":2498,"rel":2499},"https:\u002F\u002Fneon.com\u002Fdocs\u002Freference\u002Fclaimable-postgres#vite-plugin",[77],[2501],{"type":48,"value":2502},"Claimable Postgres docs",{"type":48,"value":2504}," for configuration.",{"type":39,"tag":143,"props":2506,"children":2508},{"id":2507},"claiming",[2509],{"type":48,"value":2510},"Claiming",{"type":39,"tag":40,"props":2512,"children":2513},{},[2514],{"type":48,"value":2515},"Claiming is optional. The database works immediately without it. To optionally claim, the user opens the claim URL in a browser, where they sign in or create a Neon account to claim the database.",{"type":39,"tag":314,"props":2517,"children":2518},{},[2519,2536],{"type":39,"tag":318,"props":2520,"children":2521},{},[2522,2527,2529,2534],{"type":39,"tag":44,"props":2523,"children":2524},{},[2525],{"type":48,"value":2526},"API\u002FSDK:",{"type":48,"value":2528}," Give the user the ",{"type":39,"tag":53,"props":2530,"children":2532},{"className":2531},[],[2533],{"type":48,"value":269},{"type":48,"value":2535}," from the create response.",{"type":39,"tag":318,"props":2537,"children":2538},{},[2539,2544,2545,2551,2553,2558],{"type":39,"tag":44,"props":2540,"children":2541},{},[2542],{"type":48,"value":2543},"CLI:",{"type":48,"value":971},{"type":39,"tag":53,"props":2546,"children":2548},{"className":2547},[],[2549],{"type":48,"value":2550},"npx neon-new@latest claim",{"type":48,"value":2552}," reads the claim URL from ",{"type":39,"tag":53,"props":2554,"children":2556},{"className":2555},[],[2557],{"type":48,"value":284},{"type":48,"value":2559}," and opens the browser automatically.",{"type":39,"tag":40,"props":2561,"children":2562},{},[2563],{"type":48,"value":2564},"Users cannot claim into Vercel-linked orgs; they must choose another Neon org.",{"type":39,"tag":143,"props":2566,"children":2568},{"id":2567},"neon-infrastructure-as-code-neonts",[2569,2571,2577],{"type":48,"value":2570},"Neon Infrastructure as Code (",{"type":39,"tag":53,"props":2572,"children":2574},{"className":2573},[],[2575],{"type":48,"value":2576},"neon.ts",{"type":48,"value":849},{"type":39,"tag":40,"props":2579,"children":2580},{},[2581,2583,2589,2591,2596,2598,2603,2605,2610,2612,2617],{"type":48,"value":2582},"Claimable databases are deliberately throwaway and provisioned through ",{"type":39,"tag":53,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":48,"value":2588},"neon.new",{"type":48,"value":2590}," (above), so they aren't managed by ",{"type":39,"tag":53,"props":2592,"children":2594},{"className":2593},[],[2595],{"type":48,"value":2576},{"type":48,"value":2597},". Once a user ",{"type":39,"tag":44,"props":2599,"children":2600},{},[2601],{"type":48,"value":2602},"claims",{"type":48,"value":2604}," a database into a Neon account it becomes a normal Neon project — at which point ",{"type":39,"tag":53,"props":2606,"children":2608},{"className":2607},[],[2609],{"type":48,"value":2576},{"type":48,"value":2611},", Neon's infrastructure-as-code file, is how you manage it going forward (see the ",{"type":39,"tag":53,"props":2613,"children":2615},{"className":2614},[],[2616],{"type":48,"value":8},{"type":48,"value":2618}," skill for the full reference): declare the services its branches should have, program per-branch compute, and get type-safe env vars.",{"type":39,"tag":83,"props":2620,"children":2622},{"className":85,"code":2621,"language":87,"meta":88,"style":88},"npm i @neon\u002Fconfig\n",[2623],{"type":39,"tag":53,"props":2624,"children":2625},{"__ignoreMap":88},[2626],{"type":39,"tag":94,"props":2627,"children":2628},{"class":96,"line":97},[2629,2634,2639],{"type":39,"tag":94,"props":2630,"children":2631},{"style":101},[2632],{"type":48,"value":2633},"npm",{"type":39,"tag":94,"props":2635,"children":2636},{"style":107},[2637],{"type":48,"value":2638}," i",{"type":39,"tag":94,"props":2640,"children":2641},{"style":107},[2642],{"type":48,"value":2643}," @neon\u002Fconfig\n",{"type":39,"tag":83,"props":2645,"children":2647},{"className":2159,"code":2646,"language":2161,"meta":88,"style":88},"\u002F\u002F neon.ts\nimport { defineConfig } from \"@neon\u002Fconfig\u002Fv1\";\n\nexport default defineConfig({\n  auth: true, \u002F\u002F Neon Auth, once you outgrow a bare connection string\n  dataApi: true, \u002F\u002F Data API\n  branch: (branch) => (branch.exists ? {} : { ttl: \"7d\" }), \u002F\u002F ephemeral non-default branches\n});\n",[2648],{"type":39,"tag":53,"props":2649,"children":2650},{"__ignoreMap":88},[2651,2660,2701,2708,2733,2760,2785,2888],{"type":39,"tag":94,"props":2652,"children":2653},{"class":96,"line":97},[2654],{"type":39,"tag":94,"props":2655,"children":2657},{"style":2656},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[2658],{"type":48,"value":2659},"\u002F\u002F neon.ts\n",{"type":39,"tag":94,"props":2661,"children":2662},{"class":96,"line":203},[2663,2667,2671,2676,2680,2684,2688,2693,2697],{"type":39,"tag":94,"props":2664,"children":2665},{"style":2171},[2666],{"type":48,"value":2174},{"type":39,"tag":94,"props":2668,"children":2669},{"style":181},[2670],{"type":48,"value":2179},{"type":39,"tag":94,"props":2672,"children":2673},{"style":197},[2674],{"type":48,"value":2675}," defineConfig",{"type":39,"tag":94,"props":2677,"children":2678},{"style":181},[2679],{"type":48,"value":2189},{"type":39,"tag":94,"props":2681,"children":2682},{"style":2171},[2683],{"type":48,"value":2194},{"type":39,"tag":94,"props":2685,"children":2686},{"style":181},[2687],{"type":48,"value":184},{"type":39,"tag":94,"props":2689,"children":2690},{"style":107},[2691],{"type":48,"value":2692},"@neon\u002Fconfig\u002Fv1",{"type":39,"tag":94,"props":2694,"children":2695},{"style":181},[2696],{"type":48,"value":194},{"type":39,"tag":94,"props":2698,"children":2699},{"style":181},[2700],{"type":48,"value":2212},{"type":39,"tag":94,"props":2702,"children":2703},{"class":96,"line":229},[2704],{"type":39,"tag":94,"props":2705,"children":2706},{"emptyLinePlaceholder":2218},[2707],{"type":48,"value":2221},{"type":39,"tag":94,"props":2709,"children":2710},{"class":96,"line":1277},[2711,2716,2721,2725,2729],{"type":39,"tag":94,"props":2712,"children":2713},{"style":2171},[2714],{"type":48,"value":2715},"export",{"type":39,"tag":94,"props":2717,"children":2718},{"style":2171},[2719],{"type":48,"value":2720}," default",{"type":39,"tag":94,"props":2722,"children":2723},{"style":2287},[2724],{"type":48,"value":2675},{"type":39,"tag":94,"props":2726,"children":2727},{"style":197},[2728],{"type":48,"value":2294},{"type":39,"tag":94,"props":2730,"children":2731},{"style":181},[2732],{"type":48,"value":1196},{"type":39,"tag":94,"props":2734,"children":2735},{"class":96,"line":1315},[2736,2741,2745,2751,2755],{"type":39,"tag":94,"props":2737,"children":2738},{"style":2304},[2739],{"type":48,"value":2740},"  auth",{"type":39,"tag":94,"props":2742,"children":2743},{"style":181},[2744],{"type":48,"value":1219},{"type":39,"tag":94,"props":2746,"children":2748},{"style":2747},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2749],{"type":48,"value":2750}," true",{"type":39,"tag":94,"props":2752,"children":2753},{"style":181},[2754],{"type":48,"value":2243},{"type":39,"tag":94,"props":2756,"children":2757},{"style":2656},[2758],{"type":48,"value":2759}," \u002F\u002F Neon Auth, once you outgrow a bare connection string\n",{"type":39,"tag":94,"props":2761,"children":2762},{"class":96,"line":1352},[2763,2768,2772,2776,2780],{"type":39,"tag":94,"props":2764,"children":2765},{"style":2304},[2766],{"type":48,"value":2767},"  dataApi",{"type":39,"tag":94,"props":2769,"children":2770},{"style":181},[2771],{"type":48,"value":1219},{"type":39,"tag":94,"props":2773,"children":2774},{"style":2747},[2775],{"type":48,"value":2750},{"type":39,"tag":94,"props":2777,"children":2778},{"style":181},[2779],{"type":48,"value":2243},{"type":39,"tag":94,"props":2781,"children":2782},{"style":2656},[2783],{"type":48,"value":2784}," \u002F\u002F Data API\n",{"type":39,"tag":94,"props":2786,"children":2787},{"class":96,"line":1389},[2788,2793,2797,2801,2807,2811,2816,2821,2825,2830,2835,2840,2845,2849,2854,2858,2862,2867,2871,2875,2879,2883],{"type":39,"tag":94,"props":2789,"children":2790},{"style":2287},[2791],{"type":48,"value":2792},"  branch",{"type":39,"tag":94,"props":2794,"children":2795},{"style":181},[2796],{"type":48,"value":1219},{"type":39,"tag":94,"props":2798,"children":2799},{"style":181},[2800],{"type":48,"value":344},{"type":39,"tag":94,"props":2802,"children":2804},{"style":2803},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2805],{"type":48,"value":2806},"branch",{"type":39,"tag":94,"props":2808,"children":2809},{"style":181},[2810],{"type":48,"value":849},{"type":39,"tag":94,"props":2812,"children":2813},{"style":1207},[2814],{"type":48,"value":2815}," =>",{"type":39,"tag":94,"props":2817,"children":2818},{"style":197},[2819],{"type":48,"value":2820}," (branch",{"type":39,"tag":94,"props":2822,"children":2823},{"style":181},[2824],{"type":48,"value":294},{"type":39,"tag":94,"props":2826,"children":2827},{"style":197},[2828],{"type":48,"value":2829},"exists ",{"type":39,"tag":94,"props":2831,"children":2832},{"style":181},[2833],{"type":48,"value":2834},"?",{"type":39,"tag":94,"props":2836,"children":2837},{"style":181},[2838],{"type":48,"value":2839}," {}",{"type":39,"tag":94,"props":2841,"children":2842},{"style":181},[2843],{"type":48,"value":2844}," :",{"type":39,"tag":94,"props":2846,"children":2847},{"style":181},[2848],{"type":48,"value":2179},{"type":39,"tag":94,"props":2850,"children":2851},{"style":2304},[2852],{"type":48,"value":2853}," ttl",{"type":39,"tag":94,"props":2855,"children":2856},{"style":181},[2857],{"type":48,"value":1219},{"type":39,"tag":94,"props":2859,"children":2860},{"style":181},[2861],{"type":48,"value":184},{"type":39,"tag":94,"props":2863,"children":2864},{"style":107},[2865],{"type":48,"value":2866},"7d",{"type":39,"tag":94,"props":2868,"children":2869},{"style":181},[2870],{"type":48,"value":194},{"type":39,"tag":94,"props":2872,"children":2873},{"style":181},[2874],{"type":48,"value":2189},{"type":39,"tag":94,"props":2876,"children":2877},{"style":197},[2878],{"type":48,"value":849},{"type":39,"tag":94,"props":2880,"children":2881},{"style":181},[2882],{"type":48,"value":2243},{"type":39,"tag":94,"props":2884,"children":2885},{"style":2656},[2886],{"type":48,"value":2887}," \u002F\u002F ephemeral non-default branches\n",{"type":39,"tag":94,"props":2889,"children":2890},{"class":96,"line":1426},[2891,2895,2899],{"type":39,"tag":94,"props":2892,"children":2893},{"style":181},[2894],{"type":48,"value":2271},{"type":39,"tag":94,"props":2896,"children":2897},{"style":197},[2898],{"type":48,"value":849},{"type":39,"tag":94,"props":2900,"children":2901},{"style":181},[2902],{"type":48,"value":2212},{"type":39,"tag":83,"props":2904,"children":2906},{"className":85,"code":2905,"language":87,"meta":88,"style":88},"neon config apply   # provision the declared services (neon deploy is an alias)\n",[2907],{"type":39,"tag":53,"props":2908,"children":2909},{"__ignoreMap":88},[2910],{"type":39,"tag":94,"props":2911,"children":2912},{"class":96,"line":97},[2913,2917,2922,2927],{"type":39,"tag":94,"props":2914,"children":2915},{"style":101},[2916],{"type":48,"value":8},{"type":39,"tag":94,"props":2918,"children":2919},{"style":107},[2920],{"type":48,"value":2921}," config",{"type":39,"tag":94,"props":2923,"children":2924},{"style":107},[2925],{"type":48,"value":2926}," apply",{"type":39,"tag":94,"props":2928,"children":2929},{"style":2656},[2930],{"type":48,"value":2931},"   # provision the declared services (neon deploy is an alias)\n",{"type":39,"tag":40,"props":2933,"children":2934},{},[2935,2937,2942],{"type":48,"value":2936},"If a project needs branching, multiple services, or durable infrastructure tracked in version control, recommend claiming first and then adopting ",{"type":39,"tag":53,"props":2938,"children":2940},{"className":2939},[],[2941],{"type":48,"value":2576},{"type":48,"value":2943}," — rather than re-provisioning throwaway claimable databases.",{"type":39,"tag":143,"props":2945,"children":2947},{"id":2946},"defaults-and-limits",[2948],{"type":48,"value":2949},"Defaults and Limits",{"type":39,"tag":1068,"props":2951,"children":2952},{},[2953,2968],{"type":39,"tag":1072,"props":2954,"children":2955},{},[2956],{"type":39,"tag":1076,"props":2957,"children":2958},{},[2959,2963],{"type":39,"tag":1080,"props":2960,"children":2961},{},[2962],{"type":48,"value":1084},{"type":39,"tag":1080,"props":2964,"children":2965},{},[2966],{"type":48,"value":2967},"Value",{"type":39,"tag":1096,"props":2969,"children":2970},{},[2971,2984,2997],{"type":39,"tag":1076,"props":2972,"children":2973},{},[2974,2979],{"type":39,"tag":1103,"props":2975,"children":2976},{},[2977],{"type":48,"value":2978},"Provider",{"type":39,"tag":1103,"props":2980,"children":2981},{},[2982],{"type":48,"value":2983},"AWS",{"type":39,"tag":1076,"props":2985,"children":2986},{},[2987,2992],{"type":39,"tag":1103,"props":2988,"children":2989},{},[2990],{"type":48,"value":2991},"Region",{"type":39,"tag":1103,"props":2993,"children":2994},{},[2995],{"type":48,"value":2996},"us-east-2",{"type":39,"tag":1076,"props":2998,"children":2999},{},[3000,3005],{"type":39,"tag":1103,"props":3001,"children":3002},{},[3003],{"type":48,"value":3004},"Postgres",{"type":39,"tag":1103,"props":3006,"children":3007},{},[3008],{"type":48,"value":3009},"17",{"type":39,"tag":40,"props":3011,"children":3012},{},[3013],{"type":48,"value":3014},"Region cannot be changed for claimable databases. Unclaimed databases have stricter quotas. Claiming resets limits to free plan defaults.",{"type":39,"tag":1068,"props":3016,"children":3017},{},[3018,3037],{"type":39,"tag":1072,"props":3019,"children":3020},{},[3021],{"type":39,"tag":1076,"props":3022,"children":3023},{},[3024,3027,3032],{"type":39,"tag":1080,"props":3025,"children":3026},{},[],{"type":39,"tag":1080,"props":3028,"children":3029},{},[3030],{"type":48,"value":3031},"Unclaimed",{"type":39,"tag":1080,"props":3033,"children":3034},{},[3035],{"type":48,"value":3036},"Claimed (Free plan)",{"type":39,"tag":1096,"props":3038,"children":3039},{},[3040,3058,3076,3092],{"type":39,"tag":1076,"props":3041,"children":3042},{},[3043,3048,3053],{"type":39,"tag":1103,"props":3044,"children":3045},{},[3046],{"type":48,"value":3047},"Storage",{"type":39,"tag":1103,"props":3049,"children":3050},{},[3051],{"type":48,"value":3052},"100 MB",{"type":39,"tag":1103,"props":3054,"children":3055},{},[3056],{"type":48,"value":3057},"512 MB",{"type":39,"tag":1076,"props":3059,"children":3060},{},[3061,3066,3071],{"type":39,"tag":1103,"props":3062,"children":3063},{},[3064],{"type":48,"value":3065},"Transfer",{"type":39,"tag":1103,"props":3067,"children":3068},{},[3069],{"type":48,"value":3070},"1 GB",{"type":39,"tag":1103,"props":3072,"children":3073},{},[3074],{"type":48,"value":3075},"~5 GB",{"type":39,"tag":1076,"props":3077,"children":3078},{},[3079,3084,3088],{"type":39,"tag":1103,"props":3080,"children":3081},{},[3082],{"type":48,"value":3083},"Branches",{"type":39,"tag":1103,"props":3085,"children":3086},{},[3087],{"type":48,"value":1146},{"type":39,"tag":1103,"props":3089,"children":3090},{},[3091],{"type":48,"value":1116},{"type":39,"tag":1076,"props":3093,"children":3094},{},[3095,3100,3105],{"type":39,"tag":1103,"props":3096,"children":3097},{},[3098],{"type":48,"value":3099},"Expiration",{"type":39,"tag":1103,"props":3101,"children":3102},{},[3103],{"type":48,"value":3104},"72 hours",{"type":39,"tag":1103,"props":3106,"children":3107},{},[3108],{"type":48,"value":3109},"None",{"type":39,"tag":3111,"props":3112,"children":3113},"style",{},[3114],{"type":48,"value":3115},"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":3117,"total":1389},[3118,3124,3144,3162,3181,3194,3213],{"slug":4,"name":4,"fn":5,"description":6,"org":3119,"tags":3120,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3121,3122,3123],{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"slug":8,"name":8,"fn":3125,"description":3126,"org":3127,"tags":3128,"stars":21,"repoUrl":22,"updatedAt":3143},"build applications on the Neon platform","Overview of the Neon platform for apps and agents, spanning Postgres, Auth, the Data API, Object Storage, Compute Functions, and the AI Gateway. Start here to route to the right Neon skill, set up the CLI or MCP server, and follow the branch-first workflow. Use when \"Neon\" is mentioned, or when any of its individual capabilities are the trigger: \"object storage\" or \"S3\", \"buckets\", \"serverless functions\", \"AI gateway\", \"call an LLM\", \"postgres\", \"database\", or \"backend\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3129,3132,3135,3136,3137,3138,3141],{"name":3130,"slug":3131,"type":14},"AI Infrastructure","ai-infrastructure",{"name":3133,"slug":3134,"type":14},"Authentication","authentication",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":3139,"slug":3140,"type":14},"Serverless","serverless",{"name":3047,"slug":3142,"type":14},"storage","2026-07-27T06:08:01.383115",{"slug":3145,"name":3145,"fn":3146,"description":3147,"org":3148,"tags":3149,"stars":21,"repoUrl":22,"updatedAt":3161},"neon-ai-gateway","call LLMs via Neon AI Gateway","One API and one credential for frontier and open-source LLMs, built into your Neon branch and powered by Databricks. Use when a user wants to call an LLM, add AI\u002Fchat\u002Fan agent to their app, route between model providers (OpenAI, Anthropic, Google\u002FGemini, Meta, Alibaba, DeepSeek), or avoid juggling separate provider API keys and accounts — especially when they already use Neon and want AI requests to branch with their project. Works with the OpenAI SDK, Anthropic SDK, google-genai, the Vercel AI SDK, and Mastra by changing only the base URL. Triggers include \"call an LLM\", \"add AI to my app\", \"chat completion\", \"model routing\", \"LLM proxy\u002Fgateway\", \"one API for all models\", \"use Claude\u002FGPT\u002FGemini\", \"AI SDK\", \"Mastra agent\", \"Neon AI Gateway\", and \"log\u002Frate-limit AI calls\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3150,3151,3154,3157,3160],{"name":3130,"slug":3131,"type":14},{"name":3152,"slug":3153,"type":14},"API Development","api-development",{"name":3155,"slug":3156,"type":14},"Databricks","databricks",{"name":3158,"slug":3159,"type":14},"LLM","llm",{"name":9,"slug":8,"type":14},"2026-07-27T06:08:00.288175",{"slug":3163,"name":3163,"fn":3164,"description":3165,"org":3166,"tags":3167,"stars":21,"repoUrl":22,"updatedAt":3180},"neon-functions","deploy serverless functions on Neon","Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with DATABASE_URL injected automatically and compute that runs next to your data. Use when a user wants to host an API, an AI agent with long streaming responses, a WebSocket or server-sent-events (SSE) server, a webhook handler, a Discord bot, an MCP server, or any request\u002Fresponse workload that risks timing out on short, lambda-style serverless functions — and wants it to branch with their database. Triggers include \"serverless function\", \"deploy an API\", \"long-running function\", \"streaming agent\", \"SSE server\", \"WebSocket server\", \"webhook handler\", \"MCP server\", \"run code next to my database\", \"function that won't time out\", \"Neon Functions\", and \"Neon Compute\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3168,3169,3172,3175,3176,3179],{"name":3152,"slug":3153,"type":14},{"name":3170,"slug":3171,"type":14},"Backend","backend",{"name":3173,"slug":3174,"type":14},"Edge Functions","edge-functions",{"name":9,"slug":8,"type":14},{"name":3177,"slug":3178,"type":14},"Node.js","node-js",{"name":3139,"slug":3140,"type":14},"2026-07-27T06:07:59.147675",{"slug":3182,"name":3182,"fn":3183,"description":3184,"org":3185,"tags":3186,"stars":21,"repoUrl":22,"updatedAt":3193},"neon-object-storage","manage Neon object storage","S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch. Use when a user wants object storage, a bucket, blob\u002Ffile storage, or somewhere to put uploads, images, documents, avatars, or user-generated files for their app or agent — especially when they already use (or are setting up) Neon Postgres and don't want to add a separate storage provider like AWS S3, Cloudflare R2, or Supabase Storage. Triggers include \"object storage\", \"bucket\", \"blob storage\", \"file storage\", \"store uploads\u002Fimages\u002Ffiles\", \"S3-compatible storage\", \"presigned URL\", \"where do I put files\", \"Neon Object Storage\", \"Neon Storage\", and \"storage that branches with my database\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3187,3188,3191,3192],{"name":16,"slug":17,"type":14},{"name":3189,"slug":3190,"type":14},"File Storage","file-storage",{"name":9,"slug":8,"type":14},{"name":3047,"slug":3142,"type":14},"2026-07-27T06:07:57.150892",{"slug":3195,"name":3195,"fn":3196,"description":3197,"org":3198,"tags":3199,"stars":21,"repoUrl":22,"updatedAt":3212},"neon-postgres-branches","manage Neon PostgreSQL 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, resetting a branch from its parent, branch expiration and CI\u002FCD branch lifecycles, or branch creation via Neon CLI or Neon MCP. Triggers include \"Neon branch\", \"test migrations safely\", \"branch production data\", \"schema-only branch\", \"reset branch\", \"branch per PR\" and \"sensitive data testing\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3200,3201,3204,3207,3208,3209],{"name":16,"slug":17,"type":14},{"name":3202,"slug":3203,"type":14},"DevOps","devops",{"name":3205,"slug":3206,"type":14},"Migration","migration",{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":3210,"slug":3211,"type":14},"Testing","testing","2026-07-27T06:07:55.162249",{"slug":3214,"name":3214,"fn":3215,"description":3216,"org":3217,"tags":3218,"stars":21,"repoUrl":22,"updatedAt":3227},"neon-postgres-egress-optimizer","diagnose and fix Postgres egress costs","Diagnose and fix excessive Postgres egress (network data transfer) in a codebase. Use when a user mentions high database bills, unexpected data transfer costs, network transfer charges, egress spikes, \"why is my Neon bill so high\", \"database costs jumped\", SELECT * optimization, query overfetching, reduce Neon costs, optimize database usage, or wants to reduce data sent from their database to their application. Also use when reviewing query patterns for cost efficiency, even if the user doesn't explicitly mention egress or data transfer.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3219,3222,3223,3226],{"name":3220,"slug":3221,"type":14},"Cost Optimization","cost-optimization",{"name":9,"slug":8,"type":14},{"name":3224,"slug":3225,"type":14},"Performance","performance",{"name":19,"slug":20,"type":14},"2026-07-27T06:07:58.159412",{"items":3229,"total":3362},[3230,3243,3257,3269,3285,3297,3309,3322,3328,3338,3346,3355],{"slug":3231,"name":3231,"fn":3232,"description":3233,"org":3234,"tags":3235,"stars":3240,"repoUrl":3241,"updatedAt":3242},"neon-postgres","build apps with Neon serverless Postgres","Guides and best practices for working with Neon Serverless Postgres. Covers setup, connection methods and drivers, pooled vs direct connections, branching, autoscaling, scale-to-zero, instant restore, read replicas, connection pooling, IP allow lists, and logical replication. Use when users ask about \"Neon setup\", \"connect to Neon\", \"Neon project\", \"DATABASE_URL\", \"serverless Postgres\", \"Neon CLI\", \"neon\", \"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},[3236,3237,3238,3239],{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":3139,"slug":3140,"type":14},321,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fwebsite","2026-07-27T06:08:14.168734",{"slug":3244,"name":3244,"fn":3245,"description":3246,"org":3247,"tags":3248,"stars":3254,"repoUrl":3255,"updatedAt":3256},"add-neon-docs","add Neon docs to project AI docs","Use this skill when the user asks to add documentation, add docs, add references, or install documentation about Neon. Adds Neon best practices reference links to project AI documentation (CLAUDE.md, AGENTS.md, or Cursor rules). Does not install packages or modify code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3249,3250,3253],{"name":16,"slug":17,"type":14},{"name":3251,"slug":3252,"type":14},"Documentation","documentation",{"name":9,"slug":8,"type":14},86,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fai-rules","2026-04-06T18:38:53.722898",{"slug":3258,"name":3258,"fn":3259,"description":3260,"org":3261,"tags":3262,"stars":3254,"repoUrl":3255,"updatedAt":3268},"neon-auth","set up Neon Auth for apps","Sets up Neon Auth for your application. Configures authentication, creates auth routes, and generates UI components. Use when adding authentication to Next.js, React SPA, or Node.js projects.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3263,3266,3267],{"name":3264,"slug":3265,"type":14},"Auth","auth",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},"2026-04-06T18:38:52.386193",{"slug":3270,"name":3270,"fn":3271,"description":3272,"org":3273,"tags":3274,"stars":3254,"repoUrl":3255,"updatedAt":3284},"neon-drizzle","set up Drizzle ORM with Neon","Creates a fully functional Drizzle ORM setup with a provisioned Neon database. Installs dependencies, provisions database credentials, configures connections, generates schemas, and runs migrations. Results in working code that can immediately connect to and query the database. Use when creating new projects with Drizzle, adding ORM to existing applications, or modifying database schemas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3275,3276,3279,3280,3283],{"name":16,"slug":17,"type":14},{"name":3277,"slug":3278,"type":14},"Drizzle","drizzle",{"name":9,"slug":8,"type":14},{"name":3281,"slug":3282,"type":14},"ORM","orm",{"name":19,"slug":20,"type":14},"2026-04-06T18:38:56.217495",{"slug":3286,"name":3286,"fn":3287,"description":3288,"org":3289,"tags":3290,"stars":3254,"repoUrl":3255,"updatedAt":3296},"neon-js","set up the Neon JS SDK for auth and queries","Sets up the full Neon JS SDK with unified auth and PostgREST-style database queries. Configures auth client, data client, and type generation. Use when building apps that need both authentication and database access in one SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3291,3292,3293,3294],{"name":3264,"slug":3265,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":3295,"slug":2161,"type":14},"TypeScript","2026-04-06T18:38:51.116041",{"slug":3298,"name":3298,"fn":3299,"description":3300,"org":3301,"tags":3302,"stars":3254,"repoUrl":3255,"updatedAt":3308},"neon-serverless","configure Neon serverless driver","Configures Neon Serverless Driver for Next.js, Vercel Edge Functions, AWS Lambda, and other serverless environments. Installs @neondatabase\u002Fserverless, sets up environment variables, and creates working API route examples with TypeScript types. Use when users need to connect their application to Neon, fetch or query data from a Neon database, integrate Neon with Next.js or serverless frameworks, or set up database access in edge\u002Fserverless environments where traditional PostgreSQL clients don't work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3303,3304,3305,3306,3307],{"name":16,"slug":17,"type":14},{"name":3173,"slug":3174,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":3139,"slug":3140,"type":14},"2026-04-06T18:38:54.97085",{"slug":3310,"name":3310,"fn":3311,"description":3312,"org":3313,"tags":3314,"stars":3254,"repoUrl":3255,"updatedAt":3321},"neon-toolkit","create ephemeral Neon databases for testing","Creates and manages ephemeral Neon databases for testing, CI\u002FCD pipelines, and isolated development environments. Use when building temporary databases for automated tests or rapid prototyping.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3315,3318,3319,3320],{"name":3316,"slug":3317,"type":14},"CI\u002FCD","cicd",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":3210,"slug":3211,"type":14},"2026-04-06T18:38:57.490782",{"slug":4,"name":4,"fn":5,"description":6,"org":3323,"tags":3324,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3325,3326,3327],{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"slug":8,"name":8,"fn":3125,"description":3126,"org":3329,"tags":3330,"stars":21,"repoUrl":22,"updatedAt":3143},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3331,3332,3333,3334,3335,3336,3337],{"name":3130,"slug":3131,"type":14},{"name":3133,"slug":3134,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":3139,"slug":3140,"type":14},{"name":3047,"slug":3142,"type":14},{"slug":3145,"name":3145,"fn":3146,"description":3147,"org":3339,"tags":3340,"stars":21,"repoUrl":22,"updatedAt":3161},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3341,3342,3343,3344,3345],{"name":3130,"slug":3131,"type":14},{"name":3152,"slug":3153,"type":14},{"name":3155,"slug":3156,"type":14},{"name":3158,"slug":3159,"type":14},{"name":9,"slug":8,"type":14},{"slug":3163,"name":3163,"fn":3164,"description":3165,"org":3347,"tags":3348,"stars":21,"repoUrl":22,"updatedAt":3180},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3349,3350,3351,3352,3353,3354],{"name":3152,"slug":3153,"type":14},{"name":3170,"slug":3171,"type":14},{"name":3173,"slug":3174,"type":14},{"name":9,"slug":8,"type":14},{"name":3177,"slug":3178,"type":14},{"name":3139,"slug":3140,"type":14},{"slug":3182,"name":3182,"fn":3183,"description":3184,"org":3356,"tags":3357,"stars":21,"repoUrl":22,"updatedAt":3193},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3358,3359,3360,3361],{"name":16,"slug":17,"type":14},{"name":3189,"slug":3190,"type":14},{"name":9,"slug":8,"type":14},{"name":3047,"slug":3142,"type":14},19]