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

# Send Harness events to Observability Platform

export const source_0 = "Harness"

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

To send Harness events to Chronosphere Observability Platform, create a webhook
within Harness and include your API key to authenticate with Observability
Platform.

## Obtain an API token

Before sending events from {source_0}, contact [Chronosphere Support](/support) to
obtain an API token to authenticate with Observability Platform.

<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 Harness webhook

To send Harness events to Observability Platform:

1. In Harness, [create a webhook](https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/cd-steps/notify-users-of-pipeline-events).

2. Select **Add a Notification Rule**.
   Observability Platform supports the following Harness events:

   * `PipelineSuccess`
   * `PipelineFailed`
   * `PipelineStart`

   Observability Platform listens for `PipelineStart`, `PipelineSuccess`, and
   `PipelineFailed` events. There can be several hours between a `PipelineStart`
   event and a deployment. Chronosphere recommends using `PipelineSuccess` or
   `PipelineFailed` unless start events are critical information.

3. Select a [**Webhook notification method**](https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/cd-steps/notify-users-of-pipeline-events/#webhook-notifications).

4. Enter the following URL:
   `https://TENANT/api/v1/data/events/receiver/harness`

   <MyTenant />

5. Click **+ Add Headers** to add the following custom header:

   ```text theme={null}
   X-Harness-Token: CHRONOSPHERE_HARNESS_TOKEN
   ```

   Replace *`CHRONOSPHERE_HARNESS_TOKEN`* with the API token obtained from
   Chronosphere support.

6. Click **Finish**.
