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!
Optimizely creates a data file that will go into the application through a code snippet. This snippet contains the audience and the feature, then we wrap it all up in a toggle. If the feature is on, we fetch the value of the audience and we render the feature to the prescribed audience.
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.