Flags within Flagsmith can be defined either as a boolean value, or as a String of text. This allows you to use Flagsmith in the multiple ways.
- Showing and hiding features in your application. E.g. A sharing button within an application.
- Configuring values used within your application remotely. E.g. The number of power-ups a user might have in a game.
- Configuring environment variables. E.g. Setting the database URL for your API.
Features are created on a per project basis but edited per environment and can then be overridden on a per user or segment basis.
You can create a new feature flag by going to the Flags page and hitting the Create Feature button.
Flags default to On (true) or Off (false)
Remote Config Values
You can also store and override String and numerical (int and float) values. Simply create a Remote Config item.
You can toggle feature boolean values or override Remote Config values on a per-Environment basis.