Migrate to A vs B

Coming from another feature flag or A/B testing tool? These guides get you moved over.

A feature flag is a switch in your code. It turns something on or off without a new deploy. Each guide below covers one platform. It shows the same code two ways: how you wrote it there, and how you write it here. Every guide ends with a step-by-step checklist for cutover day.

Your event names and your targeting rules usually carry over with no changes. Flag keys do too when they use only lowercase letters, digits and underscores. A key with a hyphen or a capital letter takes its underscore form: new-checkout becomes new_checkout, so change the key in your code when you change the SDK call. A targeting rule is a condition that decides who sees what. What changes is the SDK: the package you install, and how you call it in your code.

Pick your current platform below.

Was this helpful?