Install experiments with PostHog

AI wizard

Install PostHog in seconds with our wizard by running this command in your project directory with your terminal (it also works for LLM coding agents like Cursor and Bolt):

Learn more

Wait for it to finish and test the setup once the wizard is complete.

Platforms

Since feature flags are not supported yet in our Java SDK, to run an experiment using this SDK see our docs on how to run experiments without feature flags. This also applies to running experiments using our API.

Community questions

Was this page useful?

Questions about this page? or post a community question.