Install
Setup
Wrap your application withCrovverProvider. In a Next.js app this goes in your root layout:
tenantId is the workspace or org ID from your app — the same value you use as externalTenantId when creating tenants or initiating checkout. userId is the individual user’s ID and is used to deduplicate owner records across sessions.Environment Variables
What’s Exported
Next Steps
CrovverProvider
Full config reference for the provider.
useSubscription
Read subscription status and plan data.
useFeatureAccess
Gate features by plan.
useBillingRedirect
Trigger checkout and portal redirects.