Skip to main content
install

Solo mode

No users.create() — every call auto-scopes to your default user.
agent.ts

Multi-tenant mode

Create a user from your app’s signup flow, then scope every call.
signup.ts

Productize with Account Kits

account-kits.ts

Next: declare a team

The calls above are the flat resource API. To declare a durable team in naive.config.ts and drive it from the same client, see Teams & the durable runtime.