This integration is currently an opt-in public beta. This means it's not yet a perfect experience, but we'd love to know your thoughts. Please share your feedback and follow our roadmap.
You can integrate with Keywords AI 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
- Sign up for Keywords AI and add it to your app.
- Copy PostHog host and project API key from your PostHog project settings.
- In your Keywords AI requests in your code, add the following parameters:
{// other parameters"posthog_integration": {"posthog_api_key": "<ph_project_api_key>","posthog_base_url": "https://us.i.posthog.com"}}
Keywords AI will now send events to PostHog under the name keywords_ai_api_logging
. They send events as soon as they're available.
Using the Keywords AI dashboard template
Once you've installed the integration, our Keywords AI dashboard template helps you quickly set up relevant insights. You can see an example 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 – Keywords AI from the list of templates.