Licenses are the core of LicenseChain. Learn how to create and manage licenses effectively.
## Creating a License
### Via Dashboard
1. Navigate to your application
2. Click "Create License"
3. Configure license settings:
- License Type: Perpetual, Subscription, Usage-based
- Expiration: Set expiration date (if applicable)
- Features: Enable/disable specific features
- User/Device Limits: Set usage restrictions
- Metadata: Add custom data
### Via API
Use POST request to /v1/licenses endpoint with license configuration in JSON body.
## License Types
### Perpetual Licenses
Never expire. Perfect for one-time purchases.
### Subscription Licenses
Time-based licenses that expire after a set period. Can be renewed.
### Usage-Based Licenses
Track usage metrics (API calls, storage, etc.) and enforce limits.
### Feature-Based Licenses
Control access to specific features or modules.
## Managing Licenses
You can:
- Update license features and restrictions
- Extend expiration dates
- Revoke licenses
- Transfer licenses between users
- View usage statistics
## Best Practices
• Use descriptive license keys
• Set appropriate expiration dates
• Enable only necessary features
• Monitor license usage regularly
• Archive unused licenses