domain
Getting started

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.

Before you begin

  1. Create an application in the Domain0 dashboard.
  2. Create an API key for that application.
  3. Copy the key when it is shown. Domain0 does not show the raw value again.
  4. Add the key only to your server environment.
DOMAIN0_API_KEY=d0_replace_me

Never 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.

On this page