Use Cases
- Enable/disable specific dashboard sections
- Grant access to advanced exports, priority support, or SSO
- Control access to beta features for higher-tier plans
- Toggle API rate limit overrides
Creating a Switch Feature
- Dashboard
- API
- Go to Features in the sidebar
- Click Add Feature
- Select Switch as the type
- Enter a name and
lookup_key - Click Create
Attaching to a Plan
Checking a Feature in Your App
Query the customer’s subscription to check if a switch feature is enabled:is_enabled for switch features.
Switch features are the simplest way to implement plan-based feature gating. Combine them with meter features for a complete entitlement model.