plug into the grid.
build on sherwood. shared auth, optional credits, zero headaches.
free apps
Just want shared sign-in? Use the Clerk auth keys below. your users get one account across all Sherwood apps. No API key needed, no credits, completely free.
paid apps
Want to charge for features? Add the Sherwood credit API. Users buy credits on Sherwood and spend them in your app. You earn 85% of net revenue from every credit spent. Start in test mode, go live when ready.
scroll down to get started ↓
1. Get Your API Key
Sign in to generate an API key.
sign in first, king.
2. Add to Your App
Add these environment variables. The Clerk keys let your users sign in with their Sherwood account (same account, same credits everywhere). The API key authenticates your server.
The Clerk publishable key is safe to share, it's already public in the frontend. Your users sign in once and their credits work across all Sherwood-powered apps.
3. Check Balance
Before a paid action, check the user's balance (or just attempt to spend. it'll return 402 if insufficient).
4. Spend Credits
When a user does a paid action (generate, refresh, etc.), spend credits via the API.
5. Handle Low Credits
When a spend returns 402, let users buy credits without leaving your app. Call the checkout API from your backend, then redirect to Stripe.
No Stripe account needed on your end. Sherwood handles the payment and credits the user automatically.
6. or just use the SDK
Don't want to build your own credit UI? Drop in one script tag and the SDK handles everything: balance checks, a first-time tutorial for new users, credit pack selection, and Stripe checkout. The tutorial only shows once per user.
step 1: your backend creates a session token
step 2: frontend uses the session token
What the SDK does automatically:
you get paid.
Every credit spent in your app earns you 85% of net revenue. Sherwood keeps 15% as a platform fee. Payouts happen monthly once you hit $100 USD minimum via Stripe Connect.
View my apps & earnings →Questions? Reach out at thebearbruce99@gmail.com