Discover and register
Start from one text document, request capabilities, and exchange the identity assertion for short-lived access tokens.
GET https://neon.com/auth.md
POST https://claimable.neon.tech/v1/agent/identity
Content-Type: application/json
{
"type": "anonymous",
"capabilities": ["postgres", "data_api", "auth"]
}
Use existing commands
Create a claimable project once. Branch, query, and configure it with the same CLI commands used by account-backed projects. If neon claim is not a command, use the auth.md card.
npm i -g neon@latest
neon claim create \
--service data-api \
--service auth \
--env-pull
neon branches list
neon claim accept --no-open
Declare services
If neon.ts is present, neon claim create requests its declared services. Services that need a claimed project are recorded as denied until then.
import { defineConfig } from '@neon/config/v1';
export default defineConfig({
auth: true,
dataApi: true,
});