Skip to content

Operators & Roles

The Operators view is where you manage the team members who have access to the Bonsai Console.

Operator Accounts

Each operator has:

  • Email — Used for logging in.
  • Name — Display name.
  • Roles — One or more roles that determine what they can see and do.

Creating an Operator

Go to Administration > Operators and click Create Operator. Fill in the email, name, and password, then assign one or more roles.

Roles

Roles control what an operator can access. Each role comes with a set of permissions.

RoleAccess Level
Super AdminFull access to everything — all features and settings
Content ManagerCreate and edit projects, agents, stages, classifiers, transformers, tools, knowledge, providers, and API keys
SupportView projects and conversations, manage users and issues
DeveloperRead-only access to most resources plus system configuration
ViewerRead-only access to most resources

Choosing the Right Role

  • Give Super Admin only to team leads or platform operators.
  • Give Content Manager to people who design and maintain conversations.
  • Give Support to customer service team members who need to review conversations and handle issues.
  • Give Developer to technical staff who need to inspect configurations.
  • Give Viewer to stakeholders who need to see what's configured but shouldn't change anything.

Permissions

Behind the scenes, each role grants a set of permissions following the entity:action pattern. For example:

EntityPermissions
Projectproject:read, project:write, project:delete
Stagestage:read, stage:write, stage:delete
Conversationconversation:read, conversation:write, conversation:delete
Providerprovider:read, provider:write, provider:delete
Auditaudit:read
Migrationmigration:export, migration:import
Systemsystem:config

You don't need to manage permissions individually — they're determined by the assigned role(s).

Initial Setup

When Bonsai is first installed with no operator accounts, a one-time setup screen appears where you create the first super admin. This endpoint is disabled as soon as the first operator is created.

Tips

  • Follow least privilege — Give each person only the access they need.
  • Use descriptive names — When you have many operators, clear names make audit logs easier to read.
  • Review access periodically — Remove accounts for people who no longer need access.

Released under the Apache-2.0 License.