Manage Bots
Bots are service accounts that run ingestion, automation, and API calls on behalf of your organization. Admins manage them from the Bots section of the Profile page, where each bot has scoped access through roles.The Bots section is visible only to users with the Admin role. If you don’t see it, ask your organization’s Collate Admin to generate a bot token for you or grant you Admin access.
Open the Bots Section
- Click the Profile icon and select your user name.
-
In the Administration group, click Bots.

- Search for Bots: Filter the list by name.
- Show Deleted: Turn on to include deleted bots in the list.
- Delete: Use the trash icon in Actions. It is unavailable for system bots that can’t be deleted.
- Pagination: Use the page controls and the Records menu at the bottom to move through the list.
Create a Bot
- In the Bots section, click Add Bot.
-
Enter the following:
- Email (required): The email for the bot. Collate creates the bot user from it.
- Display Name: A readable name for the bot.
- Description: What the bot is used for. The field has a rich text editor.
- Token Expiration (required): How long the bot’s JWT token stays valid. Choose 1 hour, 1 day, 7 days, 30 days, 60 days, 90 days, or Unlimited.
- Allow Impersonation: Lets the bot act on behalf of users with the
X-Impersonate-Userheader. Collate assigns the bot the Bot role with impersonation, which lets it impersonate any user, including admins and other bots. This can be set only when you create the bot, so to exclude admins and bots, see Restrict Impersonation to Non-Admin Users. An impersonated session can’t use the identity endpoints, such as generating or revoking tokens, changing a password, or signing out.

- Click Create. Click Cancel to discard the form.
Restrict Impersonation to Non-Admin Users
By default, a bot with Allow Impersonation can impersonate admins and other bots. To restrict it to non-admin, non-bot users, replace its impersonation role after you create the bot:- Select the bot from the list to open its details page.
- In Access, click Edit roles.
- Remove Bot role with impersonation.
- Search for and select Bot role with non-admin impersonation.
- Click Save.
Manage a Bot
Select a bot from the list to open its details page.
- Rename: Click the Edit icon next to the bot name, enter the new name, and save it.
- Delete: Click the Delete icon in the bot’s page header and confirm. You can’t delete the
ingestion-bot. - Description: Shows what the bot is used for. Click Edit, update the text, and click Save. Click Cancel to discard your changes.
- Collate JWT Token: The token the bot uses to call the Collate API.
- Token field: The token is masked. Click Copy to copy it to your clipboard.
- Expiry message: Shows when the token expires or expired. A warning appears when the token has already expired. If the token never expires, the message says it has no expiry.
- Created on: The date and time the token was generated.
- Revoke token: Invalidates the current token. After you revoke it, use Generate New Token to create a new one and choose its expiry.
- Access: The roles that give the bot its permissions.
- Roles: The roles assigned directly to the bot, for example Default Bot Role. Click Edit roles, search for and select the roles, and click Save. Click Cancel to discard your changes.
- Inherited Roles: Roles the bot gets from elsewhere. The section says No inherited roles found when there are none.
A bot that runs ingestion, for example on a hybrid runner, needs the same permissions as the built-in
ingestion-bot. The Default Bot Role alone does not allow creating or deleting services or editing most of their metadata, so ingestion writes fail with a 403 permission error. When you create a custom ingestion bot, assign it the Ingestion Bot Role (or a role with the same policy) in addition to the Default Bot Role.Every bot gets the Default Bot Role in addition to the roles you assign. Through its Data Consumer Policy, that role lets the bot view all assets. It also lets the bot edit descriptions, tags, glossary terms, tier, and certification. To make a read-only bot, add Deny rules for
EditDescription, EditTags, EditGlossaryTerms, EditTier, and EditCertification to the policy of the role you assign to it. For more information, see Roles and Policies.ingestion-bot token, see Run Ingestion Pipeline Via CLI with Basic Auth.
Automate Bot Management Securely
Use a dedicated functional user account when an automation workflow creates or manages bots through the REST API. Do not use an individual administrator’s Personal Access Token (PAT). The workflow would stop when that person leaves, loses access, or revokes the token.- Create a functional user account for the automation workflow.
- Assign only the roles and policies required to create or update bots. Avoid granting the Admin role unless the workflow requires other administrative operations.
- Sign in as the functional account and create a PAT.
- Store the PAT in a secrets manager and inject it at runtime. Do not commit it to source control, place it directly in a script, or write it to logs.
- Set an expiration that matches your credential-rotation process. Rotate the PAT before it expires and revoke it immediately if it might have been exposed.