1. Decide who can sign up
New projects are invite only. To let anyone create an account, go to Settings → Authentication and set Who can sign up to Open. See Registration modes.2. Add the provider
3. Send people to sign in
'sign-up' for the sign-up page. After signing in, people come back to Send users back to, or to your Production URL if that’s empty, both in Settings → General. KerneProvider picks up their session on its own: see Session handoff to handle a failed one.
Password reset, email verification and magic link emails always open the hosted portal, even if you build your own forms.
4. Use the session
<Authenticated> shows its fallback while the session loads too. If that flash matters, check isLoading from useAuth() yourself.
Or build your own forms
register() fails with K1001 when sign-up isn’t open to this person, and K1008 when the email is taken. Every code is in Authentication.
For ready-made screens instead, <AuthFlow> from @kerne/react/ui covers sign-in, sign-up and password reset in one component: see Prebuilt screens.
Next
Connect your billing provider
Sell your plans with Stripe.
Implement invite-only SaaS
Invitations, codes and the sign-up flow.

