Integrating with Langfuse
Contents
You can integrate with Langfuse and bring data into PostHog for analysis. Additionally, we offer a dashboard template to help you quickly get insights into your LLM product.
How to install the integration
- First add Langfuse Tracing to your LLM app (Quickstart).
- In your Langfuse dashboard, click on Settings and scroll down to the Integrations section to find the PostHog integration.
- Click Configure and paste in your PostHog host and project API key (you can find these in your PostHog project settings).
- Click Enabled and then Save.
Langfuse events will now begin exporting into PostHog on an hourly schedule.
Using the Langfuse dashboard template
Once you've installed the integration, dashboard templates help you quickly set up relevant insights. You can see an example Langfuse dashboard here.
To create your own dashboard from a template:
- Go the dashboard tab in PostHog.
- Click the New dashboard button in the top right.
- Select LLM metrics – Langfuse from the list of templates.
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.