1

Create your PostHog account

Go to PostHog and create an account. Go to your PostHog project settings and get your PostHog API key and host.

2

Add 1 parameter to your request body

{
// other parameters
"posthog_integration": {
        "posthog_api_key":"USER_POSTHOG_API_KEY",
        "posthog_base_url":"USER_POSTHOG_ENDPOINT" // usually https://eu.posthog.com or https://us.posthog.com
    }
}

3

Use Keywords AI template to create a dashboard

You can use the official Keywords AI template in PostHog to create a dashboard to monitor your LLM performance.