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

# Google Cloud Pub/Sub: publish to an Auxia topic

> Stream events to Auxia by publishing to a topic Auxia provides

Use this method when you'd rather publish to a topic Auxia hosts than give Auxia access to a topic in your project. Setup takes **under 10 minutes**.

## Setup instructions

<Steps>
  <Step title="Receive your topic from Auxia">
    Auxia shares the Pub/Sub **project** and **topic** to publish to.
  </Step>

  <Step title="Receive publishing credentials">
    Auxia shares a service account that can publish to the topic, along with its key. Store the key securely.
  </Step>

  <Step title="Start publishing">
    Publish events using the [Google Cloud Pub/Sub publisher guide](https://cloud.google.com/pubsub/docs/publisher). Format each message as described in [Message format](/data-ingestion/data-connections/gcp-pubsub/events-and-users-attributes-ingestion-via-pubsub).
  </Step>
</Steps>

## Related articles

* [Google Cloud Pub/Sub overview](/data-ingestion/data-connections/gcp-pubsub)
* [What data is needed](/data-ingestion/what-data-is-needed)


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