Learning about feature flags and users
The first thing we must do when creating and implementing a feature flag is create one within LaunchDarkly. From there, we can implement that flag within the application. You will find the functionality to create a new flag in the Feature flags section of the site. Before you create a new flag, it is worth confirming that you are within the Test environment of Default Project, as outlined in the previous section. You can create your first flag here: https://app.launchdarkly.com/default/production/features/new.
When creating a new flag, there are several options and controls available. However, we only need to concern ourselves with the Name and Key fields for now. I will be covering all the other options and features of a flag throughout the rest of this book, especially in Chapter 9, Feature Flag Management in Depth.
The Name attribute can be anything you like – it's worth making it meaningful so that it's easy to identify...