Obtain an API token
Before sending events from CircleCI, contact Cortex XCOR Support to obtain an API token to authenticate with Cortex XCOR.This API token differs from an API token that’s generated when you create
a service account.
Create a CircleCI webhook
To send CircleCI events to Cortex XCOR:- In CircleCI, go to the project you want to create a webhook for.
- Click Project Settings.
- In the navigation menu, click Webhooks, and then click Add Webhook.
-
In the Add Webhook dialog, enter a name for your webhook, such as
Cortex XCOR change events. -
In the Receiver URL field, enter
https://TENANT.chronosphere.io/api/v1/data/events/receiver/circleci - In the Secret token field, enter the API token you obtained from Cortex XCOR Support.
- Select the Events to trigger the webhook. Cortex XCOR supports Workflow Completed and Job Completed events.
- Click Add Webhook to create the webhook.