This section explains how to add and use multiple environments (e.g. dev, staging and prod) from the same account.
It's common practice for engineering teams to have multiple environments, such as development, staging and production. The idea behind having multiple environments is to be able to test changes in isolation and catch issues before they hit production. So for example, a developer may make some changes locally, test them, and push them for testing in CI/CD. Following that, the change will be moved to a shared
development environment where it would be tested by the wider team. Changes that pass this level of testing will move to
staging, where they are deployed to an environment that's as similar as possible to the
production environment, and after all testing pass there they would be deployed to
production and rolled out to users.
Not all teams go through all of the steps above (and some go through more), but the idea remains the same: you want to isolate your
production environment, where real user data lies, from your non-production environments that may contain bugs and regressions.
Each environment is completely isolated, and has completely separate data, settings and API keys.
You can create as many environments as you want, to do it just go to the environment management page on the dashboard.
New Environment, choose a name and mark the environment as either
Production. At the moment this tag is only used for visual purposes, though in the near future it will also have functional implications.
This is how it looks like after adding multiple environments:
You can then switch between the active environment using the switcher on the top left corner and just start using that environment like you used your account before.