"Click this link for the advanced plan."
User accounts, paid tiers, and members-only content for your site — without building auth, without wiring billing, without sending a single email. You define the plan names; your AI agent sets up the rest in minutes.
What you get
Accounts, the way you already think about them
Your visitors sign in with an email and a password. Each account has one
type — a plan name you choose, like free or
advanced — and your pages decide which types get in. No roles, no
permission trees: one label per person, one list per page.
One subscription link, one billing day
Create a plan link and share it anywhere. Whoever clicks it pays through your own Stripe, gets their first invoice automatically pro-rated, and renews with everyone else on the 1st of the month — your revenue arrives as one clean cycle, not a scatter of anniversaries.
Passwords nobody can leak — including us
Credentials live in a blind store with no read path: not you, not your agent, not Relayplex tooling can see them. Every account also gets 8 one-time recovery codes, shown once, so a lost password is never a lost customer.
You stay in control of access
Lost password and lost codes? An owner or admin on your team issues a recovery link from the console — the old password keeps working until the new one is set, and every re-issue is recorded. Cancelled subscription? The account drops back to your free tier automatically.
Setup in five steps
Paste this to your AI agent, or follow along in the console. You never open the Stripe webhooks dashboard — the wiring is automatic:
- Name your types. Enable accounts on the site with
accountTypes: ["free", "advanced"]and mark which paths need which type. - Store one restricted Stripe key in the site vault
(
stripe-key) — it needs just two permissions: create Checkout Sessions and manage Webhook Endpoints. - Create the webhook hook with
autoProvisionand thestripe-accountshandler mapping your Stripe price to your type. Relayplex creates the webhook endpoint inside your Stripe, subscribes it to the right events, and captures its signing secret into your vault automatically. - Create a plan link for the paid type. Billing alignment (everyone on the 1st, pro-rated first invoice) is the default.
- Share the link. Buyers pay, land back on your site, confirm their email, choose a password, save their recovery codes — done. They're signed in with the plan they paid for.
# the whole thing, agent-side PUT /v1/sites/:siteId/vault/stripe-key # restricted key (Checkout + Webhook Endpoints) POST /v1/sites/:siteId/hooks # autoProvision: true + stripe-accounts handler POST /v1/sites/:siteId/plans # -> https://yoursite.com/_relayplex/subscribe/...
Don't use Stripe? Accounts work standalone: open signup, invite links, and typed upgrade links cover free products, invite-only betas, and hand-sold plans — the Stripe layer is purely optional.
For your agent
The machine-readable walkthrough is the billing_enabled_accounts recipe in the
canonical API
reference. Human-depth guides:
docs.relayplex.com/accounts and
docs.relayplex.com/hooks.