Overview
To authenticate with Xray, you need:- Region - The Xray Cloud host for your data residency region.
- Client ID - The Client ID of an Xray API key.
- Client Secret - The Client Secret of the same API key.
Prerequisites
- A Jira Cloud site with the Xray Test Management for Jira app installed. You can install it from the Atlassian Marketplace with Try it free.
- Jira Administrator and Xray Administrator permissions, which are needed to open Xray’s Global Settings and create API keys.
Step 1: Find your region
Xray Cloud has a global host and one host per data residency region:
The global host serves Xray Cloud across all regions. See REST API for the list of hosts.
Step 2: Create an API key
- In Jira, open Settings (gear icon) > Marketplace apps.
- In the left sidebar, expand Xray Settings and click API Key Management, then click Create API Key.

- Select the Jira user the key belongs to, choose the API Standard scope and an expiration, then click Create Key.

- Copy the Client ID and the Client Secret before clicking Close. The Client Secret is not shown again.

Step 3: Enter your credentials in the Connect UI
- Open the form where you need to authenticate with Xray.
- Select your Region and enter your Client ID and Client Secret in their respective fields.
- Submit the form. Nango requests an Xray token with your credentials, so a wrong Client ID or Client Secret is rejected.
