All guides
Every guide on the site, grouped by what you want to get done, in the order a new realm administrator usually needs them.
Each guide does one thing, start to finish: what it gets you, what you need first, the steps, how to check it worked, and how to undo it. They’re grouped by goal, whichever product does the work, in the order most realm administrators need them. New to the realm? Start with Get started; the calls the guides make are explained in Call the API.
Set up your directory
Section titled “Set up your directory”Get your users and groups into the realm, shaped the way your organization is.
- Add users and groups: your first users, in their groups, signing in.
- Bring users from another system: users and passwords moved from the system you use today.
- Add your own attribute to users: an employee number or any field of your own, checked and searchable.
- Name users by your own directory’s attributes: sign in by the attribute your directory uses.
Sign users in to apps
Section titled “Sign users in to apps”Connect an app, and decide what it learns about the user.
- Sign users in to a web app: the first app most realms connect.
- Sign users in to a single-page app: a browser app that holds no secret.
- Sign users in to your own native app: your own mobile or desktop app, with its own screens.
- Sign in a TV or command-line tool: a device with no usable browser, by a short code.
- Choose which details an app receives: which of a user’s details each scope releases.
- Choose how ID tokens are signed: RS256, ES256 or PS256, per app.
- Check quietly whether a user is signed in: find out without showing a page.
- Make sign-in requests tamper-proof: sign-in requests no one can read or change on the way.
- Share one sign-in across every host name: one sign-in and one issuer, whatever the host name.
- Check what clients discover: the one value a developer needs, the issuer.
Let users decide what apps get
Section titled “Let users decide what apps get”What users see when an app asks, and how they take it back.
- Show or skip the consent page: ask, skip for your own apps, and name the app.
- Remember what users allowed: ask once per app, not at every sign-in.
- Let users remove apps they allowed: the Authorized Apps page, and what removing one ends.
- Connect one app to many business customers: one SaaS app, each business customer signing in to its own realm.
Make sign-in stronger, and manage sessions
Section titled “Make sign-in stronger, and manage sessions”Ask for more when it matters, and decide how long access lasts.
- Step up for sensitive actions: a one-time code before a payment or an admin change.
- Ask users to sign in again: a recent or fresh sign-in before an action.
- Keep apps signed in: refresh tokens that rotate, and a stolen one caught.
- Choose online or offline access: which access ends at sign-out, and which keeps working.
- Sign users out from an app: sign out of the realm and come back to the app.
- Tell other apps about a sign-out: every app hears when a session ends.
- End a user’s sessions: sign a user out everywhere at once.
Connect services and partners
Section titled “Connect services and partners”Services that call APIs, and apps and identities from outside the realm.
- Let one service call another: a back-end service calls another, with no user involved.
- Choose how a client proves itself: a secret or a signed assertion, and rotating it.
- Give a client tokens for one API: a token leaked from one API is useless at another.
- Bind tokens to a key: a copied token is useless without the client’s key.
- Set how long tokens live: how long each kind of token stays valid.
- Hold a client to FAPI 2.0: one setting for high-value data.
- Let developers register their own apps: a token a developer’s tool registers its client with.
- Accept apps identified by a URL: MCP clients and AI tools you never registered.
- Accept a partner’s identity: a trusted partner’s statement about a user, turned into access.
Give agents identities
Section titled “Give agents identities”Agents with an owner, limits, and a way to stop them.
- Register an agent: its own identity, and no secret to leak.
- Let an agent act for a user: tokens that name both the user and the agent.
- Have an agent ask its owner: sensitive actions wait for the owner’s approval.
- Let users remove agents: each user’s AI agents page.
- Stop an agent: pause it, or stop it and every agent under it.
Protect your APIs and MCP servers
Section titled “Protect your APIs and MCP servers”Every call decided in its path, and access taken back when it must be.
- Open an API to agents: agents call an API through the gateway, read-only, and a stopped one is refused.
- Protect an MCP server: each tool, resource and prompt allowed or refused by name.
- Check a token at your API: only genuine tokens, meant for your API and still standing.
- Revoke a token: a token, a client’s access or an agent’s, and when each API stops accepting it.
- Put the gateway behind your proxy: keep the proxy you run, and have it ask the gateway before it forwards each request.
Keep secrets
Section titled “Keep secrets”Store, share and look after the secrets your users and teams hold.
- Store a secret: a password or API key in your own vault, and its earlier versions.
- Give someone access to a secret: a colleague or group reads it until a time you choose.
- Share secrets with a team: a group’s vault, with access that follows membership.
- Keep the organization’s secrets: the realm’s own vault, which outlives any one account.
- Organize and find secrets: folders by path, and what a secret holds without opening it.
- Send a secret once: a link that works once and then expires.
- Change a secret safely: every write names the version it replaces.
- Take back a change: undo a write, bring it back, or remove it for good.
- Limit a secret’s history: how many versions a secret keeps, and for how long.
- Who can read a secret: every grant and nomination, and what the store keeps out.
- Plan for an emergency: someone who can reach your secrets if you can’t.
Run the Secrets Store for the realm
Section titled “Run the Secrets Store for the realm”The settings and keys every vault in the realm follows.
- Set the realm’s defaults: turn the store on, and the rules every vault follows.
- Rotate the secrets key: a new key version, with the realm’s secrets moved onto it.
- Shred a realm’s secrets: every secret in the realm’s vault unreadable for good.
Enroll and protect devices
Section titled “Enroll and protect devices”Laptops and servers in the realm, watched, and cut off when they must be.
- Enroll a device at install: install and enroll in one step from your provisioning script.
- Enroll a device again: before its certificate’s year is up, onto a new record.
- Cut off a lost device: revoke it, then restore or remove it.
- Handle an alert on a device: look into an alert, block what’s attacking, cut the device off.
- Watch another folder on your devices: a folder of your own under file integrity.
- Detection & Response troubleshooting: no alerts, a disconnected sensor, a configuration that hasn’t arrived, a response that failed.
- Find the MCP servers on your devices: every MCP server your users’ AI tools use, on which machine.
- Count the AI tools across your devices: which AI tools and versions are installed, and which devices have gone quiet.
When someone leaves
Section titled “When someone leaves”One change stops a leaver; these take back the rest.
- Offboard a leaver: stop sign-in and tokens, end sessions, delete the account.
- Cut a user off now: a compromised account stopped in minutes, and what still lags.
- Offboard someone: take back their grants and remove them from their teams.
See what happened
Section titled “See what happened”The realm’s own record, read for a user, an agent or a group.
- Follow what an agent did: every token, exchange and decision, per agent or per user.
- Look into a locked account: the failed sign-ins behind a lockout, why each failed, and when.
- See who changed a group: every member added or removed, and who did it.
- Record every policy decision: every decision on the trail, allowed ones included.
- Share security signals: other systems told within seconds when an agent is stopped or a session ends.
Keys and sites
Section titled “Keys and sites”The keys your realm signs with, and the sites it is served from.
- Rotate signing keys: a new signing key whenever you choose, with no token refused.
- Revoke a signing key: nothing an exposed key signed verifies again.
- Sign in at either site: a realm served from two sites, with one sign-in.