End users vs Kovlet users
Kovlet has two kinds of people: those with a Kovlet account, and the users of apps built on Kovlet. This page explains the difference and when to use each.
At a glance
- Kovlet users have a Kovlet account. They build, own and approve apps.
- End users sign in to *your app*, not to Kovlet. They never see Kovlet.
- End users can do only what the Data Space's rules allow. With no rules, they can do nothing.
- End users count toward the plan's monthly active end users (1,000 on the free plan), not toward seats.
- Use Kovlet users for yourself and your team. Use end users when strangers sign in to an app you publish.
Two kinds of people
Kovlet users have a Kovlet account. They sign in at kovlet.com and belong to a workspace. They own or share Data Spaces, hold roles on them, and approve apps. Rules don't bind them.
End users are the users of an app someone built on Kovlet. They sign in through that app: with an email code, Google, Apple, GitHub, LinkedIn, your own identity provider, or as a guest. They never see Kovlet.
- An end user lives in one Data Space's directory, the
_userstable. - They get a
kvu_session for that one space. - They are bound by its per-record rulesPer-record permissions for end users, written in CEL per table and action. Closed by default., which are closed by default.
- They are not workspace members, seats, guests or machines.
Side by side
| Kovlet user | End user | |
|---|---|---|
| Who | You, your team, people you share a space with | Your app's customers or visitors |
| Account | A Kovlet account, signed in at https://kovlet.com | An entry in one Data Space's end-user directory (_users) |
| Signs in with | Passkey, email code, Google, GitHub, Apple, Microsoft | Through the app: email code, Google, Apple, GitHub, LinkedIn, an ID token from Clerk, Firebase, Auth0 or any OIDC issuer, or as a guest |
| Belongs to | A workspace (personal or organization) | One Data Space |
| Session | (User, Machine, App), bound to a device key | (EndUser, App), a kvu_ token valid for one space |
| Access | Effective role = min(user role, app grant) | The app's grant on the space, narrowed by the space's rules |
| Rules apply | No | Yes, closed by default |
| Sync | Protocol 1 or 2 | Protocol 2 (query subscriptions) only |
| Counts toward | Their devices count as personal devices (devices) | Monthly active end users (end_users) |
| Sees the console | Yes | No |
How end users fit the access model
An end-user session is a third kind of session, next to a person's app and a headless workload (access model). An end user can never do more than the app they signed in through.
- An owner turns on end-user sign-in per app in the console. The app must be approved and pinned to its web origins or native redirect URIs.
- The app's grant on the space is the ceiling. An end user never gets more than the app holds, and never owner actions.
- The space's rules decide, per row, what each end user may view, create, update and delete. With no rule for a table, end users can do nothing there.
- Revoking the app, turning sign-in off for it, or blocking the end user ends their sessions.
- End users' devices are not Kovlet machines. There is no machine record and no device quota, and *Require approved machines* doesn't apply.
Acting for an end user from your server
Your own server can act on behalf of an end user. It uses a Machine Auth Key and the Kovlet-As-End-User header. An owner must first set the impersonate flag on its machine grant. Rules then apply as if the end user made the request.
Which one to use
- An app for yourself or your team (a dashboard, an import script, an internal tool): Kovlet users. Each person signs in with their own Kovlet account, and access follows their roles.
- A public app where strangers sign up: end users. You keep one Kovlet account as the owner. Your app's users never need one.
- Both: an app can let end users in and still be used by its owner's own Kovlet account, for example to moderate content. The owner's session isn't bound by the rules.
Next
- Let strangers sign in to your app (end users): turn it on and add sign-in to an app.
- Write per-record rules for end users.
- Plans and quotas: how end users are counted.
- Glossary.
Ready to try it? Start free. No credit card, no API keys.
For coding agents: this page is also Markdown. Add .md to the URL or send Accept: text/markdown. The full reference is at /llms-full.txt.