> ## 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 Buildkite events to Cortex XCOR

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

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

## Obtain an API token

Before sending events from Buildkite, 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 Buildkite webhook

To send Buildkite events to Cortex XCOR:

1. In Buildkite, go to
   `https://buildkite.com/organizations/COMPANY/services`
   and [create a webhook](https://buildkite.com/docs/apis/webhooks).

   Replace *`COMPANY`* with the name of your company or organization.

2. Click **Add Webhook** to define a webhook.

3. Enter a description for the webhook, such as **Cortex XCOR Buildkite**.

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

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

5. In the **Token** field, enter the API token you obtained from Cortex XCOR
   Support.

6. Select **Send an HMAC signature**.

7. Select one or more of the following options for your webhook:
   * **build.finished**
   * **build.running**
   * **build.scheduled**

8. Select which pipelines you want to enable events for.

9. Save your 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 Harness events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party/harness.md)
- [Send Amazon EventBridge events to Cortex XCOR](https://docs-xcor.paloaltonetworks.com/ingest/third-party/aws-eventbridge.md)


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