Skip to main content
When self-hosting, you’ll need to configure environment variables for the API, frontend, and worker processes. Nozle Cloud handles all of this automatically.

Core Configuration

Key variables include:
VariableDescription
DATABASE_URLPostgreSQL connection string
REDIS_URLRedis connection string
API_URLSelf-referencing API URL
SMTP_ADDRESSSMTP server for invoice emails
SMTP_PORTSMTP port (typically 587)
SMTP_FROM_EMAILFrom address for transactional emails

Nozle API Keys

Regardless of deployment model, you’ll need Nozle API keys to use the SDKs:
Key TypePrefixUse
Publishablepk_Client-side (React SDK)
Secretsk_Server-side (Node/Python SDKs)
Get your keys from the Nozle dashboard at app.nozle.app.