Search⌘ K

Configure Feature Toggle

Explore how to configure and manage feature toggles using Firebase Remote Config and Svelte. Learn to control feature visibility by user segments, deploy safely to production, and maintain consistent user experiences. This lesson guides you through setting toggle conditions, testing, and organizing flags for effective feature rollout management.

Configuring feature toggles

The Firebase web console provides a feature-rich interface to create, configure, and manage config values, including our feature toggles. Head over to the Firebase web console and open your project.

  1. In the navigation, find the “Engage” section and click on “Remote Config”.
  1. The user interface prompts you to type a Parameter key, type “feature_vip_welcome” (without quotes). This value has to match with the Name property we configured earlier in the FEATURE_TOGGLES object at services/web/src/feature-toggles/index.js.

  2. Type “off” as the Default value. This hides the VIP welcome feature by default. If you set this to “on”, it would be shown by default. In our case, we want “off” by default and “on” for a percentage of the web application ...