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

> Configure the Cortex XCOR integration in LaunchDarkly to send feature flag events to Palo Alto Networks Cortex XCOR.

To send LaunchDarkly events to Palo Alto Networks Cortex XCOR, configure
the Cortex XCOR integration in LaunchDarkly and include your API token
to authenticate with Cortex XCOR.

## Obtain an API token

Before sending events from LaunchDarkly, 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 Cortex XCOR integration in LaunchDarkly

To send LaunchDarkly events to Cortex XCOR:

1. In LaunchDarkly, navigate to **Integrations** and find the
   **Chronosphere Events** integration.

2. Click **Add new** to create a new Cortex XCOR configuration.

3. Set the **Status** toggle to **On**.

4. Enter a **Name** for the integration.

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

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

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

7. Optional: Modify the policy statement to customize the projects, environments,
   flags, views, and actions:

   * **Scope**: Set the resource to **Flag** with **all flags** selected.
   * **Select project**: Choose the projects to include, or select **all** for all
     projects.
   * **Select environments**: Choose the environments to include, such as
     **production**.
   * **Actions**: Set to **ALLOW** with **only these actions** and select
     the following actions:

     * `createFlag`
     * `deleteFlag`
     * `createTriggers`
     * `deleteTriggers`
     * `updateClientSideFlagAvailability`
     * `updateFallthrough`
     * `updateFeatureWorkflows`
     * `updateFlagDefaultVariations`
     * `updateFlagSalt`
     * `updateFlagVariations`
     * `updateGlobalArchived`
     * `updateName`
     * `updateOffVariation`
     * `updateOn`
     * `updatePrerequisites`
     * `updateRules`
     * `updateScheduledChanges`
     * `updateTargets`
     * `updateTemporary`
     * `updateTriggers`

8. Save your configuration.


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