Feature Flags

Create a Feature Flag

Follow these steps to create a feature flag in Monetate.Follow these steps to create a feature flag in Monetate.

  1. Log into the Monetate platform.
  2. Click COMPONENTS in the top navigation bar, and then select Feature Flags.

    Callout of the 'Feature Flags' option in the COMPONENTS menu of the Monetate platform
    
  3. Click CREATE FEATURE FLAG.

    Callout of the 'CREATE FEATURE FLAG' button on the Feature Flag list page in the Monetate platform
    
  4. Type a name and description for the feature flag into the respective fields, then use the slider to set a traffic percentage, and then click SAVE.

    Animated demonstration of a user inputting a name and description for a new feature flag, then setting the traffic percentage, and then clicking the SAVE button on the Create Feature Flag modal
    

You can now link the feature flag you created to the code developed for the new feature. See Setting Up Feature Flags on a Commerce Site in Getting Started with Feature Flags for more information.

Editing a Feature Flag

Follow these steps to edit a feature flag.

  1. Log into the Monetate platform.
  2. Click COMPONENTS in the top navigation bar, and then select Feature Flags.
  3. Hover your mouse pointer within the row for the feature flag that you want to edit, click the additional options menu (...) that appears at the end of the row, and then select Edit Feature Flag.

    Callout of the additional options menu for a feature flag and its Edit Feature Flag option, on the Feature Flag list in the Monetate platformpage
    
  4. Revise the feature flag as necessary in the Edit Feature Flag modal, and then click SAVE.

    Animated demonstration of a user  revising the traffic percentage in the Edit Feature Flag modal, and then clicking the SAVE button
    

Deleting a Feature Flag

Follow these steps to delete a feature flag.

Before deleting a feature flag, ensure that the necessary changes have been made to the relevant code so that the feature is not negatively impacted.

  1. Log into the Monetate platform.
  2. Click COMPONENTS in the top navigation bar, and then select Feature Flags.

    Callout of the Feature Flags option in the COMPONENTS menu in the Monetate platform
    
  3. Hover your mouse pointer within the row for the feature flag that you want to delete, click the additional options menu (...) that appears at the end of the row, and then select Delete Feature Flag.

    Callout of the additional options menu for a feature flag and its Delete Feature Flag option, on the Feature Flag list page in the Monetate platform
    
  4. In the Delete Feature Flag modal, click the checkbox to acknowledge that you understand you're permanently deleting the feature flag, and then click DELETE.

    The Delete Feature Flag modal, with a callout of the statement that states, 'I understand that deleting this feature flag will be permanent,' and a callout of the DELETE button