Add your first feature flag
Getting started with Bucket by adding your first feature flag
What's a feature?
A feature is an entity that Bucket uses to roll out features, manage access, track adoption and get feedback. Each feature has a feature key
.
Getting started
Click
New feature
in the sidebar.Give your feature a name, and you'll get a
feature key
. You can't change the feature key after creation. Thefeature key
is like aflag key
that can also be used for adoption and feedback.If you haven't already, set up a Bucket SDK for your language and framework. Find the supported languages here.

Code example
If you're using React and have created a feature called Huddle
, it will look like the following:
You can now use isEnabled
to gate access to the feature.
Next steps
Learn how to manage who has access and modify the access rules in the UI,
Learn how to set up remote feature config,
Learn how to track adoption of the feature,
Learn how to get qualitative feedback on the feature.
Last updated
Was this helpful?