Each Environment in AppFlags maps to one of your deployment environments (e.g. Development, Staging, or Production). You can create any set of Environments to map to your software lifecycle.
Feature Flags exist across all of your Environments but can be managed independently in each Environment. For example, you might have a Feature Flag enabled in Staging and disabled in Production.
Each Environment has its own SDK Keys. When you initialize an AppFlags SDK, ensure you use the SDK Key for the appropriate Environment.
For more information, see SDK Keys.
A new AppFlags project has the following two Environments:
You can create any set of Environments to map to your software lifecycle.
We suggest creating an Environment for
You can also have separate Environments for different developers, different testing environments, etc.
Creating a New Environment
To create a new Environment:
- Click the "Add Environment" button on the
- Enter a human-readable Name for the Environment.
- Click "Create"
The newly created Environment will have defaulted Targeting Rules that you can modify.
Deleting an Environment
An Environment can be deleted in the
Settings tab on the Environment page.
You will be prompted to confirm deletion.