Create your first feature
Last updated
Last updated
A feature is an entity that Bucket uses to roll out features, analyze adoption and satisfaction, and manage permissions. A feature is used to create and manage feature flags, targeting rules, engagement metrics, automatically collect feedback, and turn feature permissions on/off.
Navigate to Features
and click the New feature
button
Give your feature a name
If you haven't already, set up a Bucket SDK for your language and framework. Find the supported languages here.
A feature key
is automatically generated when you name the feature. You'll use this key to refer to the feature in your code.
You can change the feature key
while creating the feature, but you cannot change it after it has been created.
The feature key
allows you to determine if a feature is enabled for specific customers and to track customers' usage of the feature.
If you're using React and have created a feature called Huddle
, it will look like the following:
The track
function will generate a huddle
event. This is automatically sent to Bucket whenever a user uses the features.
By default, Bucket will look for events with the feature key
to track usage.
You can change this to another event
. To send a different event, you will expose a more generic track
function:
It's also possible to use company
attributes to indicate feature usage instead of events. See the usage configuration documentation to learn how to customize usage tracking.
See the supported languages/frameworks documentation to learn how to quickly get started with a Bucket SDK or API
Dive into Targeting to roll out features gradually or to certain segments or environments
Customize your usage tracking configuration to integrate with existing tracking solutions
Learn about analysis to discover how the STARS framework and automated feedback surveys let you evaluate feature adoption and satisfaction
Manage features from the Bucket UI or with an API