Overview
Torii integrates with BugSnag and syncs:
- Users - the collaborators of your BugSnag organization, including pending invitations
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Requirements
To connect this integration, we require the following:
Accounts & Permissions
- A BugSnag user who is an organization admin. BugSnag personal auth tokens act as the user who creates them, and only admins can list and manage the organization's collaborators.
- A BugSnag Select, Preferred or Enterprise plan. These plans include the Data export API that Torii uses. The Free plan does not.
Required keys
- Personal Auth Token - created by the organization admin.
- Organization ID - the ID of the BugSnag organization to sync.
- API URL (optional) - leave empty if you sign in at app.bugsnag.com. Enter https://api.bugsnag.smartbear.com if you sign in at app.bugsnag.smartbear.com, or https://api.<your-domain> for an on-premise installation.
How to Generate the Required Values
Step 1: Create a personal auth token
- Sign in to BugSnag as an organization admin.
- Open My account and go to Personal auth tokens.
- Generate a new token, for example named Torii, and copy it.
Important
Save the token in a safe place, such as your password manager. The token stops working if the admin who created it leaves the organization or loses admin rights.
Step 2: Find your Organization ID
- Call the BugSnag API with the token: GET https://api.bugsnag.com/user/organizations with the header Authorization: token <your token> (use your API URL if it is not api.bugsnag.com).
- Copy the id of the organization you want Torii to sync.
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for BugSnag and click Connect.
- Enter the Personal Auth Token and the Organization ID. Enter the API URL only if you do not sign in at app.bugsnag.com.
- Click Connect.
Notes
- Torii syncs one BugSnag organization per connection. To sync another organization, connect it as another account.
- Organization admins show the role Admin, everyone else Member. Project-level roles are not synced.
- Pending invitations, and collaborators who have no dashboard access under the current plan, are synced with an inactive license.
- Users without an email address are supported.
- Workflow actions (invite user, change role, remove user) use the same admin token.
For any further questions, please contact Torii Support.