grantProduct on the server. There is no grant-product button in the dashboard — from the dashboard, use Create checkout (even in test mode) or adjust item quantities.
A grant creates a real subscription or one-time product on the customer. It does not honor a configured free trial — access starts immediately. Pass quantity for stackable products (defaults to 1).
Granting a configured product
hexclaveServerApp.getUser(userId)), you can also call user.grantProduct({ productId, quantity }) directly. This method is server-only.
Inline products
You can also grant products with an inline definition - no pre-configured product needed. This is useful for one-off grants like bonus credits:Related
- Items & Entitlements - the credits and seats a grant hands out
- Checkout & Purchases - charge the customer instead
- Customer Types - grant to users, teams, or custom customers