Getting Started
Set up KeyKit to automatically issue license keys when customers buy your products.
Quick Start
Get KeyKit working with your Stripe products in 5 minutes
# 1. Sign up and connect your Stripe account
# 2. Customize your success page branding
# 3. Configure Stripe to redirect to KeyKit:
success_url: 'https://keykit.app/success?org=YourCompany&product=YourProduct&session_id={CHECKOUT_SESSION_ID}'
# 4. Add license validation to your app
# That's it! Your customers get license keys automatically.How It Works
KeyKit integrates with your existing Stripe setup
1
Customer buys your product on Stripe2
KeyKit automatically creates a license key3
Customer sees branded success page with license key4
Customer receives license key via email (optional)5
Customer enters key in your app6
License status stays in sync with StripeLicense Validation
Check if a customer's license is valid
// Check if a customer's license is valid
const response = await fetch('https://keykit.app/api/validate', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
token: 'lk_1234567890abcdef',
siteId: 'customer-website.com'
})
});
const result = await response.json();
if (result.valid) {
// Customer has a valid license
console.log('License valid for:', result.product.name);
}Customer Experience
Here's what your customers experience when they purchase your product:
What Customers Receive
License key delivery via success page and optional email
✓
Branded success page
Shows license key immediately after purchase
✓
License key via email
Optional email delivery (can be disabled)
✓
Product instructions
How to use the license key
✓
Support information
Where to get help if needed
License Key Format
What the license key looks like
lk_1234567890abcdef1234567890abcdef
32-character license key
• Always starts with lk_
• Safe to share with customers
• Works immediately after purchase
Success Page
Customers see a branded success page immediately after purchase:
Your Branded Success Page
• Your logo and brand colors
• License key with copy button
• Custom title and message
• Product and expiration info
• Minimal KeyKit attribution
Email Delivery
Optional email with license key and instructions:
Subject: Your License Key for [Product Name]
Hi [Customer Name],
Thank you for your purchase! Your license key is:
lk_1234567890abcdef1234567890abcdef
To activate your license, enter this key in your application.
If you have any questions, please contact support.
Pricing
Simple usage-based pricing: first 10 created keys free, then $0.10 per created key
First 10 keys
Free every month
$0.00
Additional usage
$0.10 per created key (billed per individual key)
Validations
Unlimited and free
Need Help?
Get support and find answers to common questions
Troubleshooting
Quick checks if license creation or validation isn’t working
- Active KeyKit subscription: If you see “Inactive,” click the blue “Fix it” link to open Stripe Checkout or the Customer Portal.
- Connect Stripe: Add your Stripe Restricted Key on the “Stripe Settings” page.
- Mark products license‑eligible: In “Stripe Settings,” ensure at least one product is marked as needing licenses; then click “Sync from Stripe.”
- Validate from your app: POST to
https://keykit.app/api/validatewith{ token, siteId? }. - Webhooks: Ensure your Stripe webhook is set to the URL shown in “Stripe Settings,” and events include subscription created/updated/deleted.