How It Works
- Create features for your product (via Platform UI)
- Link features to prices within a plan
- Customers subscribe and entitlements are provisioned automatically
- Check entitlements via API to gate access in your application
Feature Types
Boolean
Simple on/off access. Either the customer has it or they don’t.Examples: SSO enabled, Premium support, API access
Static
Fixed capability with configuration values that define limits or quotas.Examples: 25 team seats, 100GB storage, 1000 API calls/month
Metered
Track usage quantities against the feature.
Coming soon
Creating Features
Features are created through the Platform UI.Create a new feature
Click New Feature and fill in the details:
- Name: Display name shown in the UI (e.g., “AI Tokens”)
- Key: Unique identifier used in API calls, lowercase with hyphens (e.g.,
ai-tokens) - Type: Boolean or Static
Linking Features to Prices
Once you have features, link them to prices within your plans. This determines what entitlements customers receive when they subscribe.To add features to a plan without charging for them, create a fee with a price of 0. This lets you attach a feature for entitlement purposes while not billing the customer.
Automatic Entitlement Provisioning
When a customer subscribes to a plan, entitlements are automatically provisioned based on the features linked to that plan’s prices.| Subscription Event | Entitlement Action |
|---|---|
| Subscription created | Entitlements provisioned automatically |
| Subscription terminated | Entitlements canceled |
Checking Entitlements via API
Use the API to check if a customer has access to specific features. This is how you gate functionality in your application.API Reference: See the List Entitlements API endpoint for complete request and response schemas.
List Customer Entitlements
Response Format
Key Response Fields
| Field | Description |
|---|---|
hasAccess | Whether the customer currently has access to this feature |
featureKey | The unique identifier for the feature |
featureType | boolean or static |
config | For static features, the configuration values (limits, quotas, etc.) |
status | Current status: active, expired, or canceled |
Use Cases
Feature Gating
CheckhasAccess before enabling premium features in your application:
Enforcing Limits
Readconfig values for static features to enforce limits:
Subscription-Aware Access
Entitlements automatically update when subscriptions change—no need to track subscription status separately:Next Steps
- Customer Lifecycle - Creating subscriptions that provision entitlements
- Plans - Configure pricing plans
- Prices - Set up prices with features