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

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.

On this page