You can define feature variables to remotely update your feature flags’ content in your chosen environment. You must create feature variables to create feature variations. There is no limit on the number of feature variables you can create.Documentation Index
Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating feature variables

- Navigate to your feature flag or create a new one.
- In the left sidebar, click Set Up > Variables > Add Variable.
- Select your variable’s Type.
- If you select Enum, enter a list of allowed values separated by commas. This type creates a predefined list of options that you can select from when you define feature variations, rather than typing values manually.
- Enter a Variable Key.
- Set the Default Value.
- For Enum variables, select the default value from the list you defined in step 3.
- Click Save.
To retrieve a feature variable from your source code, you must call the
getVariation() method. Please note that if you use feature variations, Kameleoon will automatically bucket the user in a variation and return the value of the variable that has been defined in the variation (you do not need to call the getVariation() method).