Overview
Each environment in your Nango account is completely isolated with its own:- Integration configurations
- Functions
- Connections
- Environment-specific settings
Each Nango account comes with dev and prod environments by default. Additional environments are available depending on your pricing plan.
Production environments
Any environment can be designated as a production environment. This affects how team members interact with it based on their role. To mark an environment as production:- Open the environment settings (gear icon in the top navigation)
- Toggle the Production environment switch
Only Full Access team members can toggle the production flag. Once an environment is marked as production, Support members get read-only access to it, and Contributor members lose access entirely.
prod environment created with your account is already marked as production.
Engineering collaboration
Use a shared non-production environment (usuallydev) for day-to-day engineering work. The team shares integrations and the baseline function set. For local webhook testing, each engineer creates their own connections with a webhook URL override (see below).
Local webhooks on a shared environment
Keep the environment webhook URL pointed at your shared app (or staging backend). To receive webhooks from Nango locally, create connections with a per-connectionwebhook_url override pointing at your local webhook endpoint (for example via ngrok).
One convenient pattern is to read the override from an optional env var, so the same connect-session code works locally and when the var is unset. For example, set NANGO_CONNECTION_WEBHOOK_URL in your local .env to that URL and leave it unset elsewhere:
Local function deploys on a shared environment
A fullnango deploy reconciles every function in the environment. On a shared collaborative environment, that can overwrite teammatesβ deploys. Deploy only what you changed:
One environment per engineer
You can give each engineer their own environment for full isolation. You then need to recreate integrations, connections, and settings in each environment yourself; that also means more API keys to manage and config that tends to drift over time. A shareddev environment avoids that overhead for most teams.
Best practices
Mirror your application environments We recommend creating Nango environments that match your applicationβs deployment stages. For example:- Development / local β dev environment
- Staging β staging environment
- Production β prod environment
- Demo β demo environment
Related guides
- API keys - scope keys per environment.
- CI/CD - deploy functions safely across environments.
- Webhooks from Nango - environment and per-connection webhook URLs.
- Self-host Nango - plan environments for self-hosted deployments.