Integrating Decipher with Posthog
If you’re already using PostHog, setting up Decipher AI is a 1-line change and you’ll still be able to use PostHog if you want.
⏱ Estimated Time To Completion: 2 minutes
Get your new api host by creating a project in Decipher
Log in to Decipher with your work email. On the Organization Settings page, choose a project name and click “Create New Project”.
We auto-create a Decipher-only project called “FirstFrontendProject” when your organization registers with Decipher, but that is separate from the PostHog project you’re about to add.
On the following screen, choose “PostHog” as your data source.
After creating your project, you’ll see the API host (as Decipher DSN) that you’ll need to use in your code:
Update your PostHog initialization to use the Decipher host and configuration
Identify Users
Make sure to identify users where user information is available in your application frontend, typically after authentication or login.
Once you’re done, simply use your website to validate that Decipher is collecting session replay data (and that Posthog is too, if you selected that option).