Feature flags
Pass visitor data into your docs through a feature flag provider.
GitBook provides helper functions and integrations for popular feature flag service providers like LaunchDarkly and Bucket.
LaunchDarkly
Install the LaunchDarkly integration
To get started, you’ll first need to install the LaunchDarkly integration into your GitBook site.
Set up your project and access keys
Add your project key and your service access token from your LaunchDarkly settings.
Once connected, any feature flag value available in LaunchDarkly will be exposed as part of the visitor schema under the unsigned.launchdarkly.flags
object.
Bucket
Install the Bucket Integration
To get started, you’ll first need to install the Bucket integration into your GitBook site.
Set up your secret key
Add your secret key from your Bucket settings.
Once connected, any feature flag value available in Bucket will be exposed as part of the visitor schema under the unsigned.bucket.flags
object.
Last updated
Was this helpful?