Before using Testing Test Insights, a Confluence admin must configure the credentials to communicate with Xray’s API.
Click on Apps → Manage apps → Testing Test Insights → Add/Edit
...
A screen like below will appear and the Client Id and Client Secret used with Xray API must be provided.
...