Skip to main content
This is the whole integration, in the order you do it. Steps 1 to 6 happen in the Crovver dashboard. Steps 7 to 11 happen in your app.

1. Sign up and create your organization

Sign up at app.crovver.com and confirm your email with the code we send. Then create your organization, which owns everything else: products, plans, keys, payment providers and your customers. When the organization is created, Crovver shows its public key (pk_live_…) and secret key (sk_live_…) once. Copy both before you close the dialog. You can create more keys later under Developers → API Keys.
The dashboard asks you to choose a Crovver plan for your organization before it opens.

2. Create a product

Go to Product catalog → All Products → New product. A product is one thing you sell, such as “Acme Workspace”. Pick its type:
  • B2B: your customers are companies or workspaces. You create each customer from your backend.
  • D2C: your customers are individuals. Checkout creates the customer on first purchase.
The type is fixed once the product has a subscription. The product’s slug is what your code passes as productSlug if you sell more than one product.

3. Define features and meters

Under Product catalog → Catalog:
  • Features are on/off capabilities, such as advanced-reporting or sso. Feature keys use lowercase letters, digits and hyphens.
  • Meters are things you count. A metered meter counts usage, such as api_calls or ai_tokens. A provisioned meter counts what a customer holds, such as seats. Meter keys use lowercase letters, digits and underscores.
The key is what your code checks, so choose it once and keep it. It cannot be changed later.

4. Create plans

Open your product and add a plan. Set price walks you through four choices: You can also set a monthly or annual billing period, a free trial and prices in more than one currency. In the same flow, under Entitlements, grant the plan its features and give it an allowance for each meter, such as 10,000 api_calls a month. Each allowance either blocks usage once it runs out or only tracks it.

5. Publish

Products and plans start as drafts. A draft is invisible to your app: it is not listed and cannot be bought. Click Publish on the product. That publishes it together with all of its draft plans in one step. If any draft plan has no price yet, nothing is published and the dialog names the plan to fix. Archiving a plan or product later stops new sales only. Existing subscribers keep their subscription and access.

6. Connect a payment provider

Go to Settings → Connections → Payment Providers and connect Stripe with your Stripe secret and publishable keys. Crovver stores them in a secrets manager, never in its database, and registers the Stripe webhook it needs for you. You can skip this step if you only offer free plans or subscriptions you invoice yourself.

7. Install the SDKs

Put the public key in your frontend environment and the secret key in your backend only. A secret key never goes to the browser, and a public key is refused on backend endpoints.

8. Create the customer from your backend

For a B2B product, create a customer whenever a workspace is created in your app. Pass the billing owner’s email: the customer uses it to sign in to their billing page later.
For a D2C product you can skip this. The first checkout creates the customer from the signed-in user.

9. Wrap your app and gate a feature

A customer with no subscription sees the fallback. Enforce the same check on your backend with canAccess, because a frontend gate alone can be bypassed.

10. Send customers to checkout

The customer picks a plan on Crovver’s hosted pricing page and pays. A free plan activates at once. A paid plan activates when the payment provider confirms the payment, and the customer returns to your app. See Checkout flow.

11. Meter usage with credits

When a customer uses something you meter, consume credits from your backend. Use a stable idempotency key per action, so a retry never charges twice.
A blocked result means the allowance ran out on a meter that blocks usage. Allowances refill at the start of each billing period. See Credits.

Next steps

Receive webhooks

Keep your app in sync when subscriptions start, renew or end.

Test without real charges

Run the whole flow against Stripe test keys.

Seat-based billing

Charge per seat, with proration when a team grows.

Add-ons

Sell top-up packs on top of a plan.