Getting Started with Flagpole
Welcome to Flagpole! This guide will walk you through the core concepts and help you get started with implementing feature flags in your application.
Core Concepts
Organizations
Organizations are the top-level entity in Flagpole. They help you:
- Manage multiple projects under one account
- Control user access and permissions
- Share feature flags across teams
- Manage billing and usage
Projects
Projects represent individual applications or services. Each project:
- Has its own set of feature flags
- Gets a unique API key for authentication
- Can have multiple environments (development, staging, production)
- Contains its own analytics and metrics
Feature Flags
Feature flags (also known as feature toggles) let you:
- Control feature rollouts without deploying code
- A/B test new features
- Enable/disable features for specific users
- Roll back problematic features instantly
API Keys
API keys are essential for connecting your application to Flagpole:
- Format:
fp_live_
followed by a unique identifier - Must be kept secure and never exposed publicly
- Different keys for different environments
- Can be rotated if compromised
Implementation Guide
1. Set Up Your Organization
- Sign up for a Flagpole account
- Create your organization
- Invite team members (optional)
2. Create Your First Project
- Navigate to the dashboard
- Click "Create Project"
- Set project name and description
- Select environments (e.g., development, staging, production)
- Copy your API key for future use
Troubleshooting
Common Issues
-
API Key Invalid
- Verify the key format starts with
fp_live_
- Check environment variables are properly set
- Ensure the key matches your environment
- Verify the key format starts with
-
Flags Not Updating
- Check your connection status
- Verify the flag exists in your project
- Confirm targeting rules are properly set
-
Provider Missing
- Ensure FeatureFlagProvider wraps your application
- Check for multiple provider instances
-
Current SDKs Supported
Next Steps
- Create your first feature flag in the dashboard
- Set up targeting rules
- Test the flag in your application
- Monitor flag usage and metrics
- Explore A/B testing capabilities
Need Help?
- Contact support at [email protected]