Environments
Understanding and managing environments in Novu
Novu uses environments to separate your development and production workflows. When you create an account, you’ll get two default environments: Development
and Production
.
Development Environment
Use the development environment to test new notification workflows, validate changes before deploying to production, and experiment with different configurations.
Production Environment
The production environment is your live environment where notifications are sent to real users.
Custom Environments
Create custom environments to match your development workflow:
- Go to the Environments page in your dashboard
- Create environments like
Staging
orQA
- Assign unique colors to easily distinguish between environments
- Sync changes between environments just like with development and production
The sync process works the same way as between development and production environments.
What’s Unique to Each Environment?
Each environment maintains its own separate:
- Subscriber list
- Notification workflows
- Message history
- Activity feed
- Integration settings
- Notification feeds
- Brand assets and settings
Environment Credentials
Each environment has two unique identifiers:
-
Application Identifier
- Public ID for client-side apps
- Unique per environment
- Safe to expose in frontend code
-
API Secret Key
- Used for backend API authentication
- Keep this secure and never expose publicly
- Different for each environment
Best Practice: Configure these credentials in your application based on the active environment, similar to how you manage other service credentials.
Promoting Changes to Production
You can move changes from development to production in two ways:
- Using the Dashboard’s sync interface
- Using the Sync API in your CI/CD pipeline
Was this page helpful?