domain

Domain connections, without the closed box

Connect customer domains through a type-safe SDK and an embeddable setup flow.

Domain0 gives your application one integration for DNS provider detection, authorization, exact change review, DNS updates, and authoritative propagation checks. The SDK validates every request, response, and browser event with Zod.

One safe boundary

Your long-lived d0_… API key stays on your server. Your server creates a connection and issues a short-lived token bound to that connection and the exact browser origin. The browser uses only that limited token to run the embedded flow.

Your server ── API key ──> Domain0 Platform API
     │                          │
     └── connection + short-lived browser token

Your browser ─ connection token ─┘

What ships in the SDK

  • A TypeScript-first package that also runs in plain JavaScript.
  • A server-only hosted-platform client authenticated with x-api-key.
  • A connection-scoped HTTP client for browser flows.
  • An accessible, framework-neutral connection dialog.
  • Single-domain, multi-domain, and secure shared-flow entry points.
  • Exported Zod schemas and inferred types for all public contracts.
  • Strict webhook verification helpers and typed lifecycle events.

Open source, provider-honest

Domain0 exposes reviewed provider capabilities. Automatic setup is reported only when that deployment has current conformance evidence; otherwise the same flow falls back to guided manual setup.

On this page