Skip to main content

Adding a user

Before anyone can sign in, they need to be added to your instance of TeamCopilot using an admin command: npx teamcopilot create-user from the same directory where you initialized TeamCopilot. This command will ask you for the user’s:
  • Email
  • Name
  • Role (Engineer or User)
  • Temporary password
The temporary password you set here can be used by the user to login, and immediately after that, TeamCopilot will ask the user to set a new password.

About User roles

There are two roles:
  • User
  • Engineer
Engineers can do everything that users can, but they can also approve custom skills and workflows created by anyone in the team.

Other admin commands

The CLI also includes:
  • npx teamcopilot change-user-role
  • npx teamcopilot delete-user
  • npx teamcopilot reset-password
  • npx teamcopilot rotate-jwt-secret
Use change-user-role to promote a user to Engineer or demote them back to User. Use rotate-jwt-secret only when you want to force everyone to sign in again.