Prerequisites
Prerequisites
Before integrating LicenseSeat into your application, make sure you have:
1. A LicenseSeat Account
Sign up at licenseseat.com and complete the onboarding process. You'll need:
- An organization (created automatically on signup)
- At least one Product configured in your dashboard
- At least one License Plan for that product
2. Your API Key
Find your publishable API key in the LicenseSeat dashboard under Settings → API Keys.
Your key looks like pk_live_xxxxxxxx and is safe to embed in your apps — it can validate licenses and manage device activations, but can't perform privileged operations.
Tip: You have one publishable key per organization. It never changes and is always visible in your dashboard.
3. Understanding Your Integration Type
LicenseSeat supports two integration patterns:
Online Validation (Recommended)
Your app calls the LicenseSeat API to validate licenses in real-time.
Best for:
- Desktop apps with internet access
- Web applications
- Mobile apps
- Games with online features
Pros:
- Real-time license status
- Instant revocation
- No cryptographic complexity
Offline Validation
Your app validates a signed license file locally, without internet.
Best for:
- Air-gapped environments
- Apps that must work offline
- High-security deployments
Pros:
- Works without internet
- Tamper-proof via Ed25519 signatures
- No server dependency at runtime
4. Technical Requirements
For Online Validation
Your app needs to make HTTPS requests. Any language or framework works:
- JavaScript/TypeScript (Node.js, browser with proxy)
- Swift (iOS, macOS)
- C++ (Windows, Linux, macOS)
- C# (.NET, Unity)
- Python
- Ruby
- Go
- Rust
For Offline Validation
You'll need an Ed25519 signature verification library:
| Language | Library |
|---|---|
| JavaScript | @noble/ed25519 or tweetnacl |
| Swift | CryptoKit (built-in) |
| C++ | libsodium or OpenSSL 1.1.1+ |
| C# | NSec or Chaos.NaCl |
| Python | PyNaCl or cryptography |
| Rust | ed25519-dalek |
| Go | crypto/ed25519 (built-in) |
Next Steps
Ready to integrate? Continue to the Quickstart Guide to validate your first license in 15 minutes.