Before coming into Optimizely, you'll want to have ready what the new feature will look like and have it developed in the code base. With that done, it’s time to create the feature flag in Optimizely. This will allow your team to safely deploy the new feature behind an Optimizely flag, which then lets you turn the feature on or off remotely, without a code deploy!
With feature flags, you can build conditional branches into your code to make logic available only to certain groups of users at a time. If the flag is
on, new code is executed, if the flag is
off, the code is skipped. Optimizely creates a datafile that contains the feature, target audience, and the toggle.
Our developers docs host quickstart guides for each of the available SDKs. These guides are designed to help you create, implement and launch your first feature flag in a matter of minutes. Yes, minutes! Since our SDKs are designed to maximize customizations, we’ll review here a number of ways in which you can configure Optimizely Rollouts to fit your development workflow.
In most cases, you will:
- Install the SDK
- Instantiate Optimizely (for some languages this happens when your app starts)
- Create a feature flag
- Roll out the feature
The quickstart guides cover both installation of the SDK and creating your first feature flag in the respective languages. For a more in depth view of creating your feature flag, please click Next to continue in this course.