> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send CircleCI events to Cortex XCOR

> Create a CircleCI webhook that sends pipeline and workflow events to Palo Alto Networks Cortex XCOR.

To send CircleCI events to Palo Alto Networks Cortex XCOR, create a webhook
within CircleCI and include your API key to authenticate with Cortex XCOR.

## Obtain an API token

Before sending events from CircleCI, contact [Cortex XCOR Support](https://docs-xcor.paloaltonetworks.com/support.md) to
obtain an API token to authenticate with Cortex XCOR.

> [!NOTE]
>
> This API token differs from an API token that's generated when you create
> a [service account](https://docs-xcor.paloaltonetworks.com/administer/accounts-teams/service-accounts.md).

## Create a CircleCI webhook

To send CircleCI events to Cortex XCOR:

1. In CircleCI, go to the project you want to create a webhook for.

2. Click **Project Settings**.

3. In the navigation menu, click **Webhooks**, and then click **Add Webhook**.

4. In the **Add Webhook** dialog, enter a name for your webhook, such as
   `Cortex XCOR change events`.

5. In the **Receiver URL** field, enter
   `https://TENANT.chronosphere.io/api/v1/data/events/receiver/circleci`

   Replace *`TENANT`* with the name of your Cortex XCOR tenant.

6. In the **Secret token** field, enter the API token you obtained from
   Cortex XCOR Support.

7. Select the **Events** to trigger the webhook. Cortex XCOR supports
   **Workflow Completed** and **Job Completed** events.

8. Click **Add Webhook** to create the webhook.


## Related topics

- [Integrate with Cortex XCOR](https://docs-xcor.paloaltonetworks.com/integrate.md)
- [Send third-party events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party.md)
- [Send Statsig events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party/statsig.md)
- [Send Buildkite events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party/buildkite.md)
- [Send Harness events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party/harness.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.