# Pontive > Pontive is one platform for a product's identity and access: sign-in and sessions, organizations, roles and fine-grained permissions, apps, APIs and AI agents, subscriptions and billing. These docs are at https://www.pontive.com/docs; every page is also Markdown. ## Instructions for coding agents Follow these when you write code that uses Pontive. 1. **Use the current SDKs** (latest on npm as of 2026-12-03). Install the package for the framework, not a copy of its code: - `@pontive/pontkit-nextjs@1.20.0`: Next.js apps: the React components, the auth proxy rewrites and server-side sessions (`/server`). - `@pontive/pontkit-react@1.20.0`: React single-page apps: `Provider`, `Signin`, `Signup`, `SignedIn`, `SignedOut`, `AccountMenu` and the other widgets. - `@pontive/pontkit-server@1.20.0`: Node and edge servers: sessions on Web Request/Response, verifying Pontive access tokens (`/resource-server`) and permission checks (`/authorization`). - `@pontive/pontkit-vue@1.20.0`: Vue apps: the loader plugin and the element types. - `@pontive/pontkit-loader@1.20.0`: Loads the web components; `@pontive/pontkit-loader/proxy` has the Vite dev-server auth proxy. - `@pontive/oidc-client@1.11.0`: The browser OIDC client the components run on, for apps that build their own UI. - Do not install or pin `@pontive/pontkit-core` (now 1.86.0): the loader fetches the web components from Pontive's CDN at the release the platform names. 2. **Never hard-code a secret.** A secret key (`pontive_sk_live_…`, `pontive_sk_test_…`), a client secret or a session secret belongs only in server-side environment variables, never in browser code, a `NEXT_PUBLIC_` or `VITE_` variable, or a committed file. Use placeholders such as `pontive_sk_test_...` in examples. Pontive refuses a secret key sent from a browser. The app id (`app_…`) and the auth domain are public and safe in client code. 3. **No Pontive account yet? Start without one.** https://www.pontive.com/auth.md shows how: `npx pontive@latest init`, or one API call, creates an unclaimed development instance and writes its credentials to `.env.local`; the developer claims it later with a link. Never print or commit the claim token in `.pontive/keyless.json`. 4. **Build against a development instance.** Every project has a non-production instance (auth domain `{project}-{instance}.auth.{region}.pontive.dev`); use it and its `pontive_sk_test_…` keys while building and testing. Never point work in progress at the production instance (`{project}.auth.{region}.pontive.app`). 5. **Configure the instance through the Pontive MCP server** (`https://mcp.pontive.com/mcp`) when it is connected, rather than hand-writing management API calls: it creates apps, registered APIs, roles, permissions, organizations and users. It never reveals secrets; the developer copies those from the dashboard. Setup: https://www.pontive.com/docs/guides/pontive-mcp-server.md 6. **Read the page before writing the code.** Add `.md` to any docs URL, or request it with `Accept: text/markdown`. All pages in one file: https://www.pontive.com/llms-full.txt. Do not invent options, routes or claims these docs do not show; a section marked *Draft* has not been verified against the code yet. 7. **Search the docs over MCP.** The docs MCP server, `https://www.pontive.com/docs/mcp` (streamable HTTP, no sign-in), has `search_docs`, `get_doc`, `list_docs` and `get_integration_guide` (the documented setup for nextjs, react, vue, express, fastapi or go), and the prompts "Add Pontive sign-in to this app" and "Protect this API with Pontive". The Pontive MCP server offers the same tools. Setup: https://www.pontive.com/docs/guides/docs-mcp-server.md 8. **Load Pontive's Agent Skills** for the task at hand: `npx skills add pontivehq/skills` installs them, the `pontive` plugin bundles them with both MCP servers (https://github.com/pontivehq/skills), and https://www.pontive.com/.well-known/agent-skills/index.json lists them. Guide: https://www.pontive.com/docs/agent-skills.md ## Start here - [Start without an account](https://www.pontive.com/auth.md): for coding agents, an unclaimed development instance in one command or one API call, and how the developer claims it. - [Overview](https://www.pontive.com/docs.md): workspaces, projects and instances; development and production; hosts and credentials. - [Quickstart: Next.js](https://www.pontive.com/docs/quickstart/nextjs.md) - [Quickstart: React SPA](https://www.pontive.com/docs/quickstart/react.md) - [Protect an API](https://www.pontive.com/docs/guides/protect-an-api.md) - [Agent Skills and plugins](https://www.pontive.com/docs/agent-skills.md): Pontive's skills for coding agents, and the plugin for Claude Code, Codex, Cursor and Copilot. - [Docs MCP server](https://www.pontive.com/docs/mcp): search and read these docs from an MCP client, no sign-in; setup at https://www.pontive.com/docs/guides/docs-mcp-server.md ## All pages - [Overview](https://www.pontive.com/docs.md): What Pontive is, how workspaces, projects and instances fit together, development and production instances, and the hosts and credentials an app uses. - [Quickstarts](https://www.pontive.com/docs/quickstart/llms-full.txt): Add Pontive sign-in to an app, from an empty project to a signed-in user. - [Quickstart: Next.js](https://www.pontive.com/docs/quickstart/nextjs.md): Add Pontive sign-in to a Next.js App Router app, with the auth endpoints on your own origin, the session readable on the server and the account menu in the header. - [Quickstart: React SPA](https://www.pontive.com/docs/quickstart/react.md): Add Pontive sign-in to a React single-page app built with Vite and React Router, with protected routes and the account menu. - [Unclaimed instances](https://www.pontive.com/docs/unclaimed-instances.md): Start building with no Pontive account. An unclaimed development instance works at once, is deleted after 7 days, and moves intact into your workspace when you claim it. - [Agent Skills and plugins](https://www.pontive.com/docs/agent-skills.md): Teach Claude Code, Cursor, Codex, GitHub Copilot and other coding agents to build on Pontive with Pontive's Agent Skills, and install them as a plugin with the Pontive MCP servers. - [Guides](https://www.pontive.com/docs/guides/llms-full.txt): Protect your APIs, model organizations and roles, and configure Pontive from an AI client. - [Protect an API](https://www.pontive.com/docs/guides/protect-an-api.md): Register your API with Pontive and accept only access tokens issued for it, with pontkit's resource server in TypeScript or with any JWT library and the instance's JWKS, or by token introspection. - [Organizations and roles](https://www.pontive.com/docs/guides/organizations-and-roles.md): How Pontive models your customers' organizations, members, roles and permissions, which organization a session acts in, and how your app and API read roles and permissions from the token or ask the authorization API. - [The Pontive MCP server](https://www.pontive.com/docs/guides/pontive-mcp-server.md): Connect Claude, ChatGPT, Codex, Claude Code, Cursor or VS Code to Pontive's hosted MCP server to configure an instance from an AI client, signing in with OAuth or using a secret key. - [The docs MCP server](https://www.pontive.com/docs/guides/docs-mcp-server.md): Let Claude Code, Cursor, VS Code or any MCP client search and read these docs, and get the documented setup for its framework, with no sign-in. - [Use Pontive with Supabase](https://www.pontive.com/docs/guides/supabase.md): Sign users in with Pontive and keep your data in Supabase. Supabase trusts Pontive's access tokens as a custom OIDC issuer, and Row Level Security policies scope every row to the organization in the token. Includes apps built in Lovable. - [SDK guides](https://www.pontive.com/docs/sdk/llms-full.txt): The pontkit SDK in depth: the auth proxy, server sessions, the framework bindings, NextAuth, MCP servers and permission-aware retrieval. - [The framework bindings](https://www.pontive.com/docs/sdk/bindings.md): The React, Next.js and Vue bindings for pontkit's web components: Provider, hooks, widgets and their events. - [Proxying the auth endpoints under your own origin](https://www.pontive.com/docs/sdk/auth-proxy.md): Serve the auth endpoints from your app's own origin so every auth cookie is first-party: recipes for Next.js, Vite and other hosts. - [Server-side sessions](https://www.pontive.com/docs/sdk/server-sessions.md): Read the signed-in session on your server (server components, route handlers, server actions), in browser-SDK or confidential mode. - [Using Pontive with NextAuth.js (Auth.js)](https://www.pontive.com/docs/sdk/nextauth.md): Sign people in through Pontive from an app already on NextAuth.js (Auth.js v5), with the generic OIDC provider. - [Protect an MCP server with Pontive (TypeScript)](https://www.pontive.com/docs/sdk/mcp-server.md): Protect an MCP server or any HTTP API with Pontive access tokens in TypeScript: verification, challenges, protected resource metadata and per-tool scopes. - [Secure an MCP server with Pontive and Envoy](https://www.pontive.com/docs/sdk/mcp-server-envoy.md): Check Pontive access tokens for an MCP server at an Envoy proxy, with jwt_authn and RBAC. - [Secure an MCP server with Pontive and agentgateway](https://www.pontive.com/docs/sdk/mcp-server-agentgateway.md): Check Pontive access tokens for an MCP server at agentgateway, which also serves its protected resource metadata. - [Permission-aware RAG with Pontive (TypeScript)](https://www.pontive.com/docs/sdk/permission-aware-rag.md): Drop every retrieved passage the caller may not read before it reaches a model, with Pontive's authorization client. - [API reference](https://www.pontive.com/docs/api-reference/llms-full.txt): Every operation of Pontive's public HTTP APIs, generated from their OpenAPI documents. - [API reference](https://www.pontive.com/docs/api-reference.md): Pontive's public HTTP APIs, generated from their OpenAPI documents, with the base URL and authentication of each. - Management API: Instance-scoped configuration and data: users, organizations, roles, apps, APIs, agents, webhooks, billing. https://api.{region}.pontive.com/v1 - [Access keys](https://www.pontive.com/docs/api-reference/management/access-keys.md) - [Account linking](https://www.pontive.com/docs/api-reference/management/account-linking.md) - [Agents](https://www.pontive.com/docs/api-reference/management/agents.md) - [Apps](https://www.pontive.com/docs/api-reference/management/apps.md) - [Audit logs](https://www.pontive.com/docs/api-reference/management/audit-logs.md) - [Authflows document](https://www.pontive.com/docs/api-reference/management/authflows-document.md) - [Authflows](https://www.pontive.com/docs/api-reference/management/authflows.md) - [Authorization](https://www.pontive.com/docs/api-reference/management/authorization.md) - [Billing capability](https://www.pontive.com/docs/api-reference/management/billing-capability.md) - [Billing catalog promotion](https://www.pontive.com/docs/api-reference/management/billing-catalog-promotion.md) - [Billing catalog rules](https://www.pontive.com/docs/api-reference/management/billing-catalog-rules.md) - [Billing checkout sessions](https://www.pontive.com/docs/api-reference/management/billing-checkout-sessions.md) - [Billing contracts](https://www.pontive.com/docs/api-reference/management/billing-contracts.md) - [Billing credit notes](https://www.pontive.com/docs/api-reference/management/billing-credit-notes.md) - [Billing currencies](https://www.pontive.com/docs/api-reference/management/billing-currencies.md) - [Billing customers](https://www.pontive.com/docs/api-reference/management/billing-customers.md) - [Billing dunning](https://www.pontive.com/docs/api-reference/management/billing-dunning.md) - [Billing entitlements](https://www.pontive.com/docs/api-reference/management/billing-entitlements.md) - [Billing event types](https://www.pontive.com/docs/api-reference/management/billing-event-types.md) - [Billing events](https://www.pontive.com/docs/api-reference/management/billing-events.md) - [Billing exchange rates](https://www.pontive.com/docs/api-reference/management/billing-exchange-rates.md) - [Billing features](https://www.pontive.com/docs/api-reference/management/billing-features.md) - [Billing for the end customer](https://www.pontive.com/docs/api-reference/management/billing-for-the-end-customer.md) - [Billing grants](https://www.pontive.com/docs/api-reference/management/billing-grants.md) - [Billing invoices](https://www.pontive.com/docs/api-reference/management/billing-invoices.md) - [Billing ledger](https://www.pontive.com/docs/api-reference/management/billing-ledger.md) - [Billing meters](https://www.pontive.com/docs/api-reference/management/billing-meters.md) - [Billing packages](https://www.pontive.com/docs/api-reference/management/billing-packages.md) - [Billing payment connections](https://www.pontive.com/docs/api-reference/management/billing-payment-connections.md) - [Billing payment methods](https://www.pontive.com/docs/api-reference/management/billing-payment-methods.md) - [Billing payments](https://www.pontive.com/docs/api-reference/management/billing-payments.md) - [Billing pricing units](https://www.pontive.com/docs/api-reference/management/billing-pricing-units.md) - [Billing products](https://www.pontive.com/docs/api-reference/management/billing-products.md) - [Billing rate cards](https://www.pontive.com/docs/api-reference/management/billing-rate-cards.md) - [Billing refunds and disputes](https://www.pontive.com/docs/api-reference/management/billing-refunds-and-disputes.md) - [Billing settings](https://www.pontive.com/docs/api-reference/management/billing-settings.md) - [Billing subject states](https://www.pontive.com/docs/api-reference/management/billing-subject-states.md) - [Billing tax](https://www.pontive.com/docs/api-reference/management/billing-tax.md) - [Billing time machines](https://www.pontive.com/docs/api-reference/management/billing-time-machines.md) - [Billing usage](https://www.pontive.com/docs/api-reference/management/billing-usage.md) - [Blueprints](https://www.pontive.com/docs/api-reference/management/blueprints.md) - [Branding document](https://www.pontive.com/docs/api-reference/management/branding-document.md) - [Capabilities](https://www.pontive.com/docs/api-reference/management/capabilities.md) - [Delegations](https://www.pontive.com/docs/api-reference/management/delegations.md) - [Groups](https://www.pontive.com/docs/api-reference/management/groups.md) - [Identity policy](https://www.pontive.com/docs/api-reference/management/identity-policy.md) - [Localization](https://www.pontive.com/docs/api-reference/management/localization.md) - [Me](https://www.pontive.com/docs/api-reference/management/me.md) - [Migration sources](https://www.pontive.com/docs/api-reference/management/migration-sources.md) - [OAuth providers](https://www.pontive.com/docs/api-reference/management/oauth-providers.md) - [Organizations](https://www.pontive.com/docs/api-reference/management/organizations.md) - [Password policy](https://www.pontive.com/docs/api-reference/management/password-policy.md) - [Permissions](https://www.pontive.com/docs/api-reference/management/permissions.md) - [Personal access tokens](https://www.pontive.com/docs/api-reference/management/personal-access-tokens.md) - [Reference data](https://www.pontive.com/docs/api-reference/management/reference-data.md) - [Registered APIs](https://www.pontive.com/docs/api-reference/management/registered-apis.md) - [Resource types](https://www.pontive.com/docs/api-reference/management/resource-types.md) - [Resources](https://www.pontive.com/docs/api-reference/management/resources.md) - [Roles](https://www.pontive.com/docs/api-reference/management/roles.md) - [Root](https://www.pontive.com/docs/api-reference/management/root.md) - [Service accounts](https://www.pontive.com/docs/api-reference/management/service-accounts.md) - [Shared credentials](https://www.pontive.com/docs/api-reference/management/shared-credentials.md) - [Third-party clients](https://www.pontive.com/docs/api-reference/management/third-party-clients.md) - [Trusted issuers](https://www.pontive.com/docs/api-reference/management/trusted-issuers.md) - [User imports](https://www.pontive.com/docs/api-reference/management/user-imports.md) - [Users](https://www.pontive.com/docs/api-reference/management/users.md) - [Webhooks](https://www.pontive.com/docs/api-reference/management/webhooks.md) - [Widgets](https://www.pontive.com/docs/api-reference/management/widgets.md) - Authorization API: AuthZEN permission checks and entitlement checks on your request path. https://authz.{region}.pontive.com - [AuthZEN](https://www.pontive.com/docs/api-reference/authz/authzen.md) - [Billing entitlements](https://www.pontive.com/docs/api-reference/authz/billing-entitlements.md) - [Billing for the end customer](https://www.pontive.com/docs/api-reference/authz/billing-for-the-end-customer.md) - Usage ingest API: Metered usage events for billing. https://ingest.{region}.pontive.com - [Billing usage](https://www.pontive.com/docs/api-reference/ingest/billing-usage.md) - Platform API: Your Pontive account itself: workspaces, projects, instances, domains, members and secret keys. https://api.pontive.com/v1 - [Access](https://www.pontive.com/docs/api-reference/platform/access.md) - [Billing](https://www.pontive.com/docs/api-reference/platform/billing.md) - [Domains](https://www.pontive.com/docs/api-reference/platform/domains.md) - [Instances](https://www.pontive.com/docs/api-reference/platform/instances.md) - [Invitations](https://www.pontive.com/docs/api-reference/platform/invitations.md) - [Members](https://www.pontive.com/docs/api-reference/platform/members.md) - [Plans](https://www.pontive.com/docs/api-reference/platform/plans.md) - [Projects](https://www.pontive.com/docs/api-reference/platform/projects.md) - [Secret Keys](https://www.pontive.com/docs/api-reference/platform/secret-keys.md) - [Unclaimed instances](https://www.pontive.com/docs/api-reference/platform/unclaimed-instances.md) - [Workspaces](https://www.pontive.com/docs/api-reference/platform/workspaces.md)