Remote config

Last updated:

|Edit this page

On this page

Note: Remote config flags are only available in our JavaScript web, Node, Python, Ruby, and React libraries.

Boolean and multivariate flags are helpful for dynamic values that differ from user to user, but sometimes you need a simple way to pass configuration related to your application without having to make code changes or redeploy your app.

Remote config flags allow you to configure a simple flag that always returns the same payload wherever it is called:

const themedLogoUrl = posthog.getFeatureFlagPayload('company-holiday-logo-url')

You can think of remote config flags as multivariate flags with a single variant which will be served for all flag requests.

Note: Remote config flags are meant to always serve payloads and be called with the flag payload function in each SDK. If getFeatureFlag is called instead, the SDK will simply return true

Questions? Ask Max AI.

It's easier than reading through 561 docs articles.

Community questions

Was this page useful?

Next article

Early access feature management

Note: Early access management is only available in the JavaScript web SDK . Early access feature management enables your users to opt in (and out) of betas and other in-progress features. This is useful if you want to: Run a beta program without building a custom solution Provide access to features that are not yet ready for general release Allow users to control their own product experience How it works Early access features can be created and edited from the Early Access Management tab in…

Read next article