Connect Your Stripe Account

Set up KeyKit to work with your existing Stripe products and customers.

What You Need

A Stripe account with products you want to issue license keys for. That's it!

1

Create a Stripe Restricted Key

Go to your Stripe Dashboard → Developers → API Keys → Create restricted key

Required permissions:

  • customers:read — read customer details
  • products:read — read product information
  • prices:read — read pricing information
  • subscriptions:read — monitor subscription changes
2

Add the Key to KeyKit

Copy your restricted key and paste it into KeyKit's Stripe settings

Your key will start with rk_live_ or rk_test_

3

Set Up Webhook

Add a webhook endpoint in your Stripe Dashboard so KeyKit knows when subscriptions change

Webhook URL:

https://keykit.app/api/stripe-webhook?orgId=YOUR_ORG_ID

Replace YOUR_ORG_ID with your organization ID from KeyKit

4

Mark Products for Licensing

Tell KeyKit which of your Stripe products should generate license keys

Add to product description:

keykit_eligible=true

KeyKit will automatically detect this and start issuing keys for this product

You're Done!

KeyKit will now automatically create license keys when customers buy your products. You can view and manage all licenses in your KeyKit dashboard.