Getting Started
ConfigBee is a powerful feature flags and dynamic configuration management service that helps you control application behavior without code changes or redeployments. This guide will help you get started with ConfigBee quickly and efficiently.
What is ConfigBee?
ConfigBee allows you to:
- Implement feature flags to toggle features on/off without redeploying
- Manage configuration parameters dynamically across environments
- Target specific users or segments with personalized features
- Roll out changes gradually with minimal risk
- Respond quickly to issues by toggling features remotely
Setup Process
1. Create a ConfigBee Account
Before you can use ConfigBee, you’ll need to:
- Sign up for a ConfigBee account at platform.configbee.com
- Create a project in your account dashboard
- Set up your environments (e.g., development, staging, production)
2. Get Your Configuration Keys
For each SDK integration, you’ll need three key pieces of information:
- Account ID: Your unique ConfigBee account identifier
- Project ID: The specific project identifier
- Environment ID: Identifier of the target environment (dev, staging, prod)
You can find these identifiers in your ConfigBee dashboard under SDK Integrations section in Environment page.
3. Choose Your Integration Method
ConfigBee offers multiple SDK options to integrate with your tech stack:
- JavaScript Core SDK: For vanilla JavaScript applications
- React SDK: For React-based web applications
- Angular SDK: For Angular applications
- OpenFeature Provider: For applications using the OpenFeature standard
Choose the SDK that best fits your application’s architecture.
4. Install and Initialize the SDK
Follow the SDK-specific installation instructions on the respective SDK documentation page:
5. Create Your First Feature Flag
- In the ConfigBee dashboard, navigate to “Flags & Options”
- Click Add -> Boolean Flag
- Set a unique key for your flag (e.g.,
new_feature_enabled
) - Optionally Configure the default value and environment-specific values
- Create your Flag
6. Use the Feature Flag in Your Code
Once you’ve created a feature flag in the dashboard, you can reference it in your code. Here’s a basic example using the JavaScript SDK:
// Check if a feature flag is enabledif (cb.getFlag('new_feature_enabled')) { // Show the new feature} else { // Show the old feature}
Need Help?
If you have any questions or run into issues, visit our GitHub repositories or reach out to our support team.