API Keys
API keys connect your app to the burn0 dashboard. Each key is linked to a project and your user account.Creating a key
- Go to burn0.dev/dashboard/keys
- Click “New key”
- Enter a name (e.g., “dev laptop”, “staging”, “production”)
- Optionally set a project name
- Copy the key immediately — it’s only shown once
Key format
b0_sk_ followed by 32 hex characters.
Using the key
Add it to your project’s.env file:
Multiple keys
You can create multiple keys for different environments:
Each key’s events appear separately in the dashboard, grouped by project name.
Revoking a key
Click “Revoke” next to any key in the dashboard. The key is deactivated immediately — any SDK using that key will get 401 errors. Revoked keys cannot be reactivated.Security
- Keys are shown in full only at creation time
- The dashboard only shows the first 10 characters
- Add
.envto.gitignoreto prevent accidental commits burn0 initandburn0 connectadd.envto.gitignoreautomatically