Add Domain0 to your product
Create a connection from your code and open the customer-facing setup flow.
Your server tells Domain0 which domain and DNS records your product needs. Your frontend opens Domain0 Connect for the customer who owns that domain.
Install
Add the TypeScript and JavaScript SDK.
Quickstart
Create a DNS intent and open the customer dialog.
React
Launch Connect from a reusable React component.
Vanilla JavaScript
Integrate without a frontend framework.
Customer flow
See what your code does and what your customer sees.
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.
DNS records come from your product
Your application supplies the required records when it creates a connection. The embedded customer flow does not contain a generic DNS record editor.