1
Get the needed data from Posthog
Go to your Posthog instance settings and get the following data:
- API URL (should be something like
https://us.i.posthog.com
) - Project API key (should be in the format
phc_-<key>
)
2
Set up the Integration within Traceloop
Go to the integrations page within Traceloop and click on the Posthog card.

3
Fill in the form
Fill in the data you got from Posthog. Choose the environment you want to connect to Posthog and click on “Enable”.

traceloop span
.
You can then create a new dashboard from the “LLM Metrics - Traceloop” template to visualize the data.
