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

# Langfuse

> Connect Langfuse to let Rulebase read your agent traces.

Connect Langfuse to let Rulebase read the traces your agent already records.

## Get started

### Get your Langfuse credentials

In Langfuse, open **Project settings** > **API keys** and copy:

* Host URL
* Public key
* Secret key

Use project API keys. Rulebase supports Langfuse Cloud and self-hosted Langfuse v4 projects with Observations API v2 enabled.

### Add your credentials to Rulebase

In Rulebase, go to **Settings** > **Connections** > **Langfuse** and click **Add connection**. Enter your credentials and click **Connect**.

### Verify the connection

Rulebase verifies access to your project and traces, then shows the connected project name.


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