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

# Send Auth0 events to Bronto

> Stream Auth0 authentication and user lifecycle events to Bronto for search, monitoring, and observability.

## Overview

Auth0 emits events for every login, logout, user creation, password reset, MFA challenge, and organization change. This guide connects those events to Bronto using Auth0 Event Streams.

## Prerequisites

* A Bronto account and API key. See [API Keys](/Account-Management/API-Keys).
* Admin access to your Auth0 tenant
* Auth0 Free plan or above. Event Streams is available on all plans.

## Configure the Event Stream

<Steps>
  <Step title="Open Event Streams in Auth0">
    In your Auth0 dashboard, navigate to **Monitoring → Event Streams** and click **+ Create Event Stream**.
  </Step>

  <Step title="Select Webhook">
    From the list of stream types, select **Webhook**.
  </Step>

  <Step title="Configure the stream">
    Fill in the following values:

    **Stream Name**

    ```
    Bronto
    ```

    **Endpoint**

    For EU:

    ```
    https://ingestion.eu.bronto.io/?service_name=Auth0&service_namespace=<YOUR_COLLECTION_NAME>
    ```

    For US:

    ```
    https://ingestion.us.bronto.io/?service_name=Auth0&service_namespace=<YOUR_COLLECTION_NAME>
    ```

    **Authentication Method**

    ```
    Custom Header
    ```

    **Header Key**

    ```
    x-bronto-api-key
    ```

    **Header Value**

    ```
    <YOUR_BRONTO_API_KEY>
    ```
  </Step>

  <Step title="Select event types">
    Choose the Auth0 event categories you want to forward. To capture all authentication activity, enable **Select all events** under each category, or pick specific ones such as:

    * `user.created`
    * `user.updated`
    * `organization.connection.added`
    * login and logout events
  </Step>

  <Step title="Save and enable">
    Click **Save**. The stream status should show **Enabled**.
  </Step>
</Steps>

For full details on Auth0 Event Streams, see the [Auth0 Event Streams documentation](https://auth0.com/docs/customize/events/create-an-event-stream).

## Verify in Bronto

Open Bronto and go to [Search](https://app.bronto.io/search). Trigger a test event, for example by logging in to your Auth0-connected application or creating a test user, and confirm the event appears in the UI.

## What you will see in Bronto

Auth0 events arrive in CloudEvents format with:

* a top-level `type` field such as `organization.connection.updated`
* a `source` field identifying the Auth0 tenant
* a `data` object containing the event payload

Useful fields to filter on include:

* `type`
* `data.context.tenant.id`
* `data.object`

## Troubleshooting

* **No events appearing?** Check that the Event Stream shows as **Enabled** in Auth0 and confirm the endpoint URL and API key are correct.
* **Getting 401 errors?** Verify the `x-bronto-api-key` header value matches a valid Bronto API key with the Ingestion role.
* **Events landing without a dataset or collection?** Confirm the `service_name` and `service_namespace` query parameters are present and correctly spelled in the endpoint URL.
