Skip to main content
Proton v5

Integrations

In Settings > Integrations, your organization connects Proton to the tools it already uses: git with the automation code, Jira, Xray and Zephyr, BrowserStack, Firebase, Teams and Google Chat. Each integration stores the tool's address and credentials, and unlocks the parts of the portal that depend on it.

From Proton to your company​

At the top of the screen, From Proton to your company leads the other way: Proton's data in the company's tools.

  • Query API (in Settings > Query API): runs, logs, indicators and exceptions in the data warehouse, Power BI and dashboards, with a read-only token. See Monitoring and Data Warehouse.
  • Webhooks (on the Webhooks tab of Settings > Alerts and webhooks): events as they happen, signed, for monitoring and ticketing. See Webhooks.

Both are part of the Enterprise plan.

The screen​

Right below, four numbers sum up the state of the integrations: Working, With error, Not tested and Inactive. Clicking a number shows only the integrations in that state; clicking it again shows all of them. Search finds them by name, type or address.

The integrations are grouped in sections, by purpose:

SectionIntegrations
Automation codeGitHub, GitLab and Bitbucket: the git the runner downloads the code from.
Requirements and test managementJira, Xray and Zephyr: requirements, bugs and publishing the results.
Execution and appsBrowserStack and Firebase: cloud devices and the apps to test.
NotificationsTeams and Google Chat: the cards of the alerts and of the run notice.

Each section has its own Add, which opens the new integration with that section's types.

The integration card​

Each integration shows up on a card with:

  • the type icon, the name, the state and the type with the address;
  • the error reason, highlighted, when the last connection test failed (for example, an expired token or a webhook that was deleted from the space);
  • what uses the integration, such as 6 repositories, 24 requirements or 2 alert rules;
  • when the last test ran;
  • the main action: Test, Test again (when there is an error) or Activate (on an inactive one).

Edit, Deactivate (or Activate) and Delete are in the card's ⋯ menu.

Test all tests the active integrations, three at a time, and shows at the end how many work and how many have an error. For Teams and Google Chat, the test sends a test card to the channel.

The test actually checks the credentials for GitHub, GitLab, Jira, Xray, Zephyr, BrowserStack and Firebase. A newly registered integration stays Not tested until its first test.

What each integration connects​

IntegrationSectionFieldsWhat it connects in Proton
GitHubAutomation codeOrganization and TokenRepositories on GitHub.com.
GitLabAutomation codeBase URL (empty for gitlab.com) and TokenRepositories on gitlab.com or on a company GitLab.
BitbucketAutomation codeWorkspace, Username and Access KeyRepositories on Bitbucket Cloud.
JiraRequirements and test managementBase URL and the service account (Client ID and Client Secret) or the Email and API TokenRequirements, bugs and the Jira columns in traceability. See Jira.
XrayRequirements and test managementBase URL, Client ID and Client Secret, plus the projectsResults publishing, Tests, Test Plan import and runs started from Jira. See Xray and Zephyr.
ZephyrRequirements and test managementBase URL, API region, API Token and the projectsThe same as Xray, with Zephyr's names.
BrowserStackExecution and appsUsername and Access KeyCloud devices when you start a run, and app uploads. See Mobile Apps.
FirebaseExecution and appsProject ID and the Service Account Key (JSON)Importing App Distribution releases into Mobile Apps.
TeamsNotificationsWebhook URL (from the Workflows flow in the channel)The card in the channel, for alerts and the run notice. See Teams and Google Chat.
Google ChatNotificationsWebhook URL (from the space)The card in the space, for alerts and the run notice. See Teams and Google Chat.

Azure DevOps, SauceLabs and Synthesized show up as Coming soon: Proton doesn't use these integrations yet.

Jira, Xray and Zephyr must be cloud versions (Jira Cloud, at https://yourcompany.atlassian.net). The Data Center and Server editions are not supported.

Register​

Add integration opens New integration:

  1. What do you want to connect to Proton? Choose the type, in the same sections as the screen. Search finds it by name or by what the type enables (for example, "devices" or "notifications").
  2. Under General, fill in the type's address or context field. The Name is suggested from the address (for example, Jira · yourcompany) and can be changed.
  3. Under Authentication, fill in the credentials. Secret fields are masked, with an eye icon to check them.
  4. For Xray and Zephyr, enter the Jira Projects (their keys, such as QA) and the Default project, which the screens show already selected. For Zephyr, also choose the Zephyr API region, the same as your Jira Cloud (if unsure, United States).
  5. Test Connection checks the credentials before you save. Save.

Next to the form, the What it enables box says what the type connects in Proton. Change goes back to choosing the type.

Credentials are encrypted in Proton and never come back to the screen. When editing, the type can't change, and the credentials are only replaced through Update Credentials (or kept with Keep current credentials).

:::tip Use a service account For the credentials, prefer a technical user of the tool over a person's account: the integration doesn't stop working when someone leaves the company. :::

After you register Jira, Xray or Zephyr, their features can take up to a minute to show up in the portal.

Deactivate​

To stop using an integration without losing anything, use Deactivate, in the card's ⋯ menu. The record, the credentials and the links are kept, and Proton doesn't use the integration while it is inactive.

The deactivate window shows what depends on the integration and what happens to each item:

What depends on itWhile the integration is inactive
Git repositoriesRuns of the automations in these repositories are refused, with the integration's name. A scheduled run that comes due ends without running, with the reason.
Jira requirements and bugsThey stay on the screen and in traceability, without updating the status from Jira.
Groups publishing to Xray or ZephyrResults publishing and runs started from Jira stop. The links between datasets and Tests are kept.
Firebase appsNew releases are no longer imported; the apps already imported stay.
Alert rules and run notice (Teams and Google Chat)The card doesn't go out through that channel, and the delivery is logged with the reason. E-mail continues. In the run notice, the channel shows up marked as inactive.

Activate, on the inactive integration's card, uses the integration again with the same credentials. Test the connection after activating. An inactive integration can also be tested: the result is logged and it stays inactive.

Delete​

Deleting cannot be undone. The delete window shows what is deleted in Proton, offers Deactivate instead and only enables the button after I understand what is deleted.

  • A git integration used by a repository can't be deleted: change the repository's integration in Git Repositories first, or deactivate the integration.
  • Deleting Jira, Xray or Zephyr deletes, in Proton, the linked requirements and bugs, the group publishing settings, the links between datasets and Tests, and the publishing history. Nothing changes in Jira.
  • Deleting Teams or Google Chat makes the channel no longer count in the alert rules and in the run notice.
  • The apps already imported from Firebase stay.

Git integrations​

The full path for the code, from the integration to the runner, is in Systems and repositories. In short: register the integration with the token, register the repository using that integration, link the system to the repository and choose the branch when you start the run.

The token needs to read the automation repositories and list their branches. In repositories marked as BDD on GitHub, Proton also creates the proton-bdd branch, so the token needs write access.

Permissions and mobile​

Viewing, creating, editing and deleting integrations are permissions of the Integration entity, in the profile's Configuration tab. Testing, deactivating and activating a saved integration require edit permission.

The screen is designed for desktop. The Jira, Xray and Zephyr features in the run details and in traceability work on mobile.