Quick Start
Add licensing to your project in 5 minutes. Three lines of code.
Installation
Install the VoltBee SDK via npm:
terminal
1npm install @voltbee/sdk
Get your API key
Sign up at app.voltbee.dev and grab your API key from the dashboard.
Validate a license
Add three lines to validate licenses:
app.js
1import { VoltBee }
from '@voltbee/sdk'
2
3const volt =
new VoltBee('vb_key_...')
4
5const { valid, plan } =
await volt.validate(licenseKey)
6
7if (valid) {
8 // Unlock pro features
9 unlockPro()
10}
That's it! You're now monetizing your project. The API returns
instantly and handles rate limiting, fingerprinting, and fraud detection automatically.
Next steps
- Configure webhooks for purchase events
- View analytics in the dashboard
- Read the full API reference