Dynamic Config

A dynamic config is a tool that replaces hard-coded values in your application with configuration parameters defined on the server. This allows you to control the behavior of your application dynamically in near real-time.

For example, a dynamic config called localization could be used to retrieve localized strings for users in different countries. Users in Spanish-speaking countries would see Spanish strings, while users in French and Korean-speaking countries would see French and Korean strings respectively.

Dynamic Config API functions

The Dynamic Config API provides several functions to interact with dynamic configs:

  • Create a new dynamic config: This function allows you to create a new dynamic config in the Statsig console.

  • Read data from existing dynamic configs: This function allows you to retrieve data from existing dynamic configs.

  • Update properties of a dynamic config: This function allows you to modify the properties of an existing dynamic config.

  • Delete a dynamic config: This function allows you to remove an existing dynamic config.

Dynamic Config Use Cases

Dynamic configs can be used for a variety of purposes, including:

  • Configuring a new feature for a handful of customers

  • Defining custom metric types

  • Keeping a store of legacy data fields on customer domains that are infrequently accessed

  • Saving the non-secret parts of connection configurations for internal usage

Join the #1 Community for Product Experimentation

Connect with like-minded product leaders, data scientists, and engineers to share the latest in product experimentation.

Try Statsig Today

Get started for free. Add your whole team!

What builders love about us

OpenAI OpenAI
Brex Brex
Notion Notion
SoundCloud SoundCloud
Ancestry Ancestry
At OpenAI, we want to iterate as fast as possible. Statsig enables us to grow, scale, and learn efficiently. Integrating experimentation with product analytics and feature flagging has been crucial for quickly understanding and addressing our users' top priorities.
Dave Cummings
Engineering Manager, ChatGPT
Brex's mission is to help businesses move fast. Statsig is now helping our engineers move fast. It has been a game changer to automate the manual lift typical to running experiments and has helped product teams ship the right features to their users quickly.
Karandeep Anand
At Notion, we're continuously learning what our users value and want every team to run experiments to learn more. It’s also critical to maintain speed as a habit. Statsig's experimentation platform enables both this speed and learning for us.
Mengying Li
Data Science Manager
We evaluated Optimizely, LaunchDarkly, Split, and Eppo, but ultimately selected Statsig due to its comprehensive end-to-end integration. We wanted a complete solution rather than a partial one, including everything from the stats engine to data ingestion.
Don Browning
SVP, Data & Platform Engineering
We only had so many analysts. Statsig provided the necessary tools to remove the bottleneck. I know that we are able to impact our key business metrics in a positive way with Statsig. We are definitely heading in the right direction with Statsig.
Partha Sarathi
Director of Engineering
We use cookies to ensure you get the best experience on our website.
Privacy Policy