Getting started
Getting started
The shortest path from an API key to a working domain connection flow.
You need a Domain0 application, a server API key, and a page where your user can complete DNS setup.
Install the package
Add domain0 to a TypeScript or JavaScript application.
Build the flow
Create a connection and open the browser dialog.
Understand the boundary
See how keys, tokens, states, and DNS verification fit together.
Before you begin
- Create an application in the Domain0 dashboard.
- Create an API key for that application.
- Copy the key when it is shown. Domain0 does not show the raw value again.
- Add the key only to your server environment.
DOMAIN0_API_KEY=d0_replace_meNever prefix this variable with NEXT_PUBLIC_, VITE_, or any other mechanism
that bundles environment values into browser code.