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

# Platform Connectors

> Forward internal events from Confidence to your system.

Platform connectors forward internal events to your system. The events could, for example, be `MetricCalculationCompleted` or `WorkflowInstanceCreated`.

<Tabs>
  <Tab title="Pub/Sub">
    Export platform events of a configurable type to a Google Pub/Sub topic.

    ### Required GCP Roles

    * Pub/Sub Editor

    ### Configuration

    * **Event Type** - The Event type to export to the stream
    * **Project** - The GCP project that the topic exists in.
    * **Service account** - A GCP service account that has publish permissions to the configured topic. Configure the account so that the Confidence service account can impersonate it.
    * **Topic** - The name of the topic
    * **Output format** - If the connector should write the events in JSON or Protobuf binary format. Regardless of the format chosen, the connector wraps the event in a [CloudEvents](https://cloudevents.io/) envelope.
  </Tab>

  <Tab title="Kinesis">
    Export platform events of a configurable type to a Kinesis stream.

    ### Required AWS Permissions

    * `kinesis:PutRecord`
    * `kinesis:PutRecords`
    * `kinesis:PutRecordBatch`
    * `kinesis:DescribeStream`

    ### Configuration

    * **Event Type** - The Event type to export to the stream
    * **Role ARN** - The ARN for the AWS Role that has read and write access to the Kinesis stream.
    * **Region** - The AWS region the Kinesis stream exists in
    * **Stream** - The Kinesis stream name.
    * **Output format** - If the connector should write the events in JSON or Protobuf binary format. Regardless of the format chosen, the connector wraps the event in a [CloudEvents](https://cloudevents.io/) envelope.
  </Tab>
</Tabs>
