For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/feature_flags/concepts/distribution_channels.md. A documentation index is available at /llms.txt.

Distribution Channels

This product is not supported for your selected Datadog site. ().

Overview

Distribution channels control which SDKs receive your flag configuration. When you create or edit a flag, you can set distribution channels to Client, Server, or both.

Why use distribution channels

Use distribution channels to protect sensitive configuration and reduce payload size.

Protect sensitive configuration

Client-side SDKs fetch flag configuration over the network. Flag keys and variant values sent to client SDKs can be visible in API requests. Restrict server-only flags to the Server distribution channel to avoid exposing sensitive flag keys or variant values to client SDKs.

Reduce payload size

If you work with a large number of feature flags, limiting which flags each SDK type receives can reduce the size of the configuration payload. This can improve performance for client and server SDK initialization.

Configure distribution channels

When you create a feature flag, select which distribution channels should receive the flag:

  • Client: Client-side SDKs only (browser and mobile)
  • Server: Server-side SDKs only
  • Both: All SDK types

You can also update distribution channels on an existing flag from the Manage Implementation & Variants section of the flag details page.

Further reading