Skip to content
Guides

From sign-up to production

Start with getting started, then pick the guide for each kind of app you have. Every snippet uses @anchring/auth; the full reference is the SDK README.

Start here

Your account and your sign-in setup, by hand or by your coding agent.

Getting started

An account, a sign-in setup with a test and a production environment, and your first apps registered.

For
Founder, Backend developer
Time
About 15 min
Products
Sign-in

Set up with AI

Your coding agent set up with the MCP server and rule files, so the integration comes out right the first time.

For
Backend developer, Frontend developer
Time
About 5 min
Products
Machines and AI

Sign in from your apps

One guide per kind of app: browser, API, command line, service, MCP server.

Single-page app

A browser app that signs users in with passkeys and calls your API with a fresh token.

For
Frontend developer
Time
About 20 min
Products
Sign-in

Web app with an API

An API that verifies tokens offline and checks roles and permissions on each route.

For
Backend developer
Time
About 20 min
Products
Sign-in
Organisations and roles

Command-line tool

A command-line tool that signs in through the browser and keeps its tokens; personal access tokens for CI.

For
Backend developer
Time
About 15 min
Products
Sign-in
Machines and AI

Service to service

A backend service that calls your API with a token of its own, within the ceilings you set.

For
Backend developer
Time
About 10 min
Products
Machines and AI
Sign-in

MCP server

An MCP server that AI clients call as the signed-in user, within the scopes you allow.

For
Backend developer
Time
About 25 min
Products
Machines and AI
Sign-in

Add to your app

Webhooks, feature flags, support access and support chat, all read from the same token.

Webhooks

Your own database kept in step with users, sessions and organisations through verified, deduplicated events.

For
Backend developer
Time
About 20 min
Products
Sign-in
Organisations and roles

Feature flags

Features switched on by plan, organisation, role or percentage, read offline from the token in your API and your UI.

For
Backend developer, Frontend developer, Founder
Time
About 20 min
Products
Feature flags
Billing
Organisations and roles

Support access

Support that opens your app as a user, with a reason, a time limit, a ceiling on its permissions and an audit trail.

For
Backend developer, Ops
Time
About 25 min
Products
Support
Organisations and roles

Support chat

A chat widget on your site and in your app, answered from the dashboard's inbox or by your AI agent first.

For
Frontend developer, Founder
Time
About 15 min
Products
Support

Run it

From test to production, and your users out again whenever you want them.

Going live

Your users imported, apps and settings promoted, production ids in your config and, if you like, a custom domain.

For
Ops, Backend developer
Time
About 30 min
Products
Sign-in

Export your users

A file with your users, their logins, organisations and roles that Anchr.ing or Auth0 imports.

For
Ops
Time
About 10 min
Products
Sign-in
Organisations and roles

Looking for every option?

The SDK reference lists every option, error and token type of @anchring/auth.