2. Users, service accounts and API keys

AdministrationDownload PDF (4.5 MB)

This chapter covers everything about the accounts that sign in to Groundzero: people, service accounts for integrations, and API keys.

See and search users#

Open User & Groups and choose the Users tab.

The Users tab.
The Users tab.

The tab lists every user with Username, Email, Enabled (a switch), Created On and Actions. Search with Enter name or email. Type in lowercase, because the search is case-sensitive. Pages show 20, 50 or 100 rows.

Add a person#

Outcome: the person gets an invitation email and can sign in.

  1. Choose Create User.
  2. Fill Email Address, User Name and Site. Create stays disabled until all three are filled.
  3. Choose Create. The toast says "User created successfully".
The Create User dialog.
The Create User dialog.

What happens next: the person is added to the group that matches the site you chose and receives an invitation email with a temporary password. They sign in with that temporary password.

If it fails, the toast shows the reason or "Failed to create user".

Tip

After creating the person, add them to any other groups they need (see "Put a person in groups") and make sure those groups have the permissions they need (chapter 4). A new person cannot use AI chat until the AI Chat permission is granted.

Create a service account for an integration#

A service account is a user that stands for a program rather than a person. It has a password you set and works well with API keys.

  1. Choose Create Service Account.
  2. Fill Email Address, User Name and Site, then New Password and Confirm New Password.
  3. Make the password at least 12 characters, with an uppercase letter, a lowercase letter, a number and a special character. If the two do not match you see "Passwords do not match".
  4. Choose Create. The toast says "Account created successfully".
The Create Service Account dialog.
The Create Service Account dialog.

Then create an API key for it (see "Create an API key").

Add many people from a file#

  1. Choose Import Users.
  2. Drop a CSV file (up to 100 MB) in the box. The file must follow the Amazon Cognito user-import template.
  3. Choose Import File. Groundzero shows "Importing started..." and checks progress every 10 seconds.
  4. Wait for "File imported successfully!".

If something is wrong you see "Invalid file type. Allowed only CSV", "File size exceeds 100MB limit" or "Processing failed: <reason>". Fix the file and import again.

Turn an account off or on#

Use the Enabled switch on the user's row. It takes effect at once, with no confirmation. A disabled person cannot sign in. Switch it back on to restore access.

Put a person in groups#

  1. On the user's row, open Actions and choose Add user to groups.
  2. Move the groups you want into the right pane.
  3. Choose save. It needs at least one group.
Row actions for a user.
Row actions for a user.

This only adds membership. Removing a group from the right pane does not take the person out of a group they already belong to. To remove someone from a group, use the Groups tab (chapter 3).

Reset or change someone's password#

  1. On the user's row, open Actions and choose Change Password.
  2. Enter a new password of at least 12 characters, including an uppercase letter, a lowercase letter, a number and a special character.
  3. Confirm. The toast says "Password Changed successfully".

Delete a user#

On the user's row, open Actions, choose Delete and answer "Are you sure you want to delete <user>?" with Yes. To keep the account but stop sign-in, use the Enabled switch instead.

Create an API key#

Outcome: a secret key a program can use to sign in as that user or service account.

  1. On the user's row, open Actions and choose API Key Manager.
  2. Choose Create API Key.
  3. Enter a Purpose, for example "Agent integrations". It is required ("Please enter a purpose").
  4. Choose Create API Key. A green box shows the key once: "Copy it now. For security, it will not be shown again."
  5. Choose the copy icon (toast "API key copied") and store the key somewhere safe.
The API Key Manager.
The API Key Manager.

Keys start with sk_. The program sends the key in the Authorization header, as Authorization: Bearer sk_....

Each existing key shows a preview of its start, its purpose, when it was last changed and an Enabled or Disabled switch.

Warning

Groundzero cannot show a key again, so a lost key cannot be recovered. Create a new one. Treat keys like passwords, and switch a key to Disabled if it may have leaked.

Troubleshooting#

  • A person says they never got the invitation email. Cause: the address may be mistyped, or the message was filtered. Fix: check the address in the Users tab and ask them to check their spam folder. Then reset their password (see above) and give them the new one.
  • Search finds nothing. Cause: the search is case-sensitive. Fix: type the name or email in lowercase.
  • "Failed to create user". Cause: the user may already exist, or a field is not valid. Fix: read the message in the toast, correct the field and try again.
  • "Passwords do not match". Fix: type the same password in both boxes.
  • A person cannot use AI chat. Cause: they have no AI Chat permission, or a Deny applies. Fix: see chapter 4.