Skip to content

Add a Cursor Origin guide - #5572

Draft
andrelandgraf wants to merge 1 commit into
mainfrom
docs/origin-neon
Draft

Add a Cursor Origin guide#5572
andrelandgraf wants to merge 1 commit into
mainfrom
docs/origin-neon

Conversation

@andrelandgraf

Copy link
Copy Markdown
Contributor

Cursor Origin at cursor.com/codebase hosts the repositories Cursor agents open pull requests against. Docs already cover the GitHub integration at /docs/guides/neon-github-integration. Origin apps cannot reach repositories that Origin mirrors in from GitHub, so that guide cannot cover Origin-hosted repos. main has no page for that case.

The page

/docs/guides/cursor-origin. It appears in the sidebar under Integrations (3rd party) > Develop, next to GitHub integration.

- title: Cursor Origin
  slug: guides/cursor-origin

Scope, from the page:

origin-neon is an open-source Cursor Origin app that creates a database branch on Neon for each Origin pull request and deletes it when the pull request closes. Stacked pull requests branch from their parent pull request's branch rather than from production. You deploy the app yourself as a Neon Function and register your own Origin app. Agents and CI read the branch credentials with neon env pull.

The page points at origin-neon for neon deploy and for registering an Origin app at cursor.com/codebase/settings/apps. GitHub-mirrored repos stay on the GitHub integration guide.

Verification

  • prettier --check on the two changed files
  • markdownlint on content/docs/guides/cursor-origin.md
  • npm run check:content-data
  • YAML parse of content/docs/navigation.yaml confirming the guides/cursor-origin slug is registered

All passed.

Known gaps

  • The GitHub integration guide walks through a Neon Console install. origin-neon is deployed by the reader, so this page points at the repo for clone, neon deploy and Origin app registration.
  • The page documents the labs API key path (NEON_API_KEY). Neon OAuth is issued only to commercial partners and is omitted.

Origin hosts the pull requests agents open, and nothing in the docs told a reader how to keep those off production data. The GitHub integration page does not apply, since Origin apps cannot reach repositories mirrored in from GitHub.
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
neon-next Ready Ready Preview Aug 18, 2026 9:07am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant