Obtain an API token
Before sending events from LaunchDarkly, 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 Cortex XCOR integration in LaunchDarkly
To send LaunchDarkly events to Cortex XCOR:- In LaunchDarkly, navigate to Integrations and find the Chronosphere Events integration.
- Click Add new to create a new Cortex XCOR configuration.
- Set the Status toggle to On.
- Enter a Name for the integration.
- In the Chronosphere secret token field, enter the API token you obtained from Cortex XCOR Support.
-
In the Chronosphere receiver URL field, enter
https://TENANT.chronosphere.io/api/v1/data/events/receiver/launchdarkly. -
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:
createFlagdeleteFlagcreateTriggersdeleteTriggersupdateClientSideFlagAvailabilityupdateFallthroughupdateFeatureWorkflowsupdateFlagDefaultVariationsupdateFlagSaltupdateFlagVariationsupdateGlobalArchivedupdateNameupdateOffVariationupdateOnupdatePrerequisitesupdateRulesupdateScheduledChangesupdateTargetsupdateTemporaryupdateTriggers
- Save your configuration.