Skip to main content
Environments help you segment your integration configuration and customer data across different stages of your development lifecycle.

Overview

Each environment in your Nango account is completely isolated with its own:
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:
  1. Open the environment settings (gear icon in the top navigation)
  2. 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.
By default, the prod environment created with your account is already marked as production.

Engineering collaboration

Use a shared non-production environment (usually dev) 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-connection webhook_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:
When the var is set, new connections from that session route webhooks to your machine without changing the environment webhook URLs.

Local function deploys on a shared environment

A full nango deploy reconciles every function in the environment. On a shared collaborative environment, that can overwrite teammates’ deploys. Deploy only what you changed:
Reserve full deploys for environments where the repo is the sole source of truth (for example staging or prod). See the CI/CD guide.

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 shared dev 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
Deploy to specific environments When you deploy Functions, you always target a specific environment. This ensures changes are tested before reaching production.