Getting started
Getting started with Bucket
Let's get started with Bucket. We'll do the following:
Create your first feature
Set up a Bucket SDK for your language and framework or use our HTTP API
Set access rules to roll out features gradually to certain segments and/or environments
Let's go.
0. Prerequisites
First off, you need to sign up for Bucket.
Pro tip: Install Bucket CLI to add feature flags from the command line. Run the following command:
1. Create your first feature
Now let's create your first feature.
Navigate to your project's root directory, then running the new
command to initialize the CLI, create a feature, and generate the types all at once:
You can use the Bucket Dashboard, too:
Click
New feature
in the sidebar.Give your feature a name, and we'll suggest a
feature key
(Fig. 1).

Now, let's set up a Bucket SDK for your language and framework.
2. Install the Bucket SDK
Find the supported languages below:
Code example for React
If you've installed the React SDK and have created a feature called My New Feature
, getting started will look like the following:
You can now use isEnabled
to gate access to the feature.
See the respective SDK documentation for example for other SDKs.
3. Set access rules
Head back over to your dashboard, select your feature and the Access
tab (Fig. 2).

From here, you can define segments, companies, and users that will access your feature.
4. All set!
Frequently asked question:
Is it that simple? Yep. Enjoy!
5. Next steps
Bucket is purpose-built for B2B SaaS products. There's more.
Learn about advanced access rules
Learn how to track adoption of the feature
Learn how to get qualitative feedback on the feature
6. Get support
Need some help? Chat with us
Do you prefer a video call? Talk to a founder
Latest product updates? See Changelog
Last updated
Was this helpful?