> ## 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.

export const MyTenant = () => <>
    Replace <em><code>TENANT</code></em> with the name of your Cortex XCOR tenant.
  </>;

export const source_0 = "Buildkite"

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 {source_0}, contact [Cortex XCOR Support](/support) 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](/administer/accounts-teams/service-accounts).
</Note>

## 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`.

   <MyTenant />

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

- [Send third-party events to Cortex XCOR](/ingest/third-party.md)
- [Integrate with Cortex XCOR](/integrate.md)
- [Send Amazon EventBridge events to Cortex XCOR](/ingest/third-party/aws-eventbridge.md)
- [Send Statsig events to Cortex XCOR](/ingest/third-party/statsig.md)
- [Send Harness events to Cortex XCOR](/ingest/third-party/harness.md)


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