:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { ExperimentsSDKInstructions } from 'scenes/onboarding/sdks/experiments/ExperimentsSDKInstructions'
import { OnboardingInstallStep } from 'scenes/onboarding/sdks/OnboardingInstallStep'
import { INSTALL_DEDUP_KEYS, type ProductOnboardingProvider } from 'scenes/onboarding/types'
import { ProductKey } from '~/queries/schema/schema-general'
import { OnboardingStepKey } from '~/types'
export const experimentsOnboarding: ProductOnboardingProvider = {
steps: (ctx) => [
{
id: `${OnboardingStepKey.INSTALL}:${ProductKey.EXPERIMENTS}`,
productKey: ProductKey.EXPERIMENTS,
stepKey: OnboardingStepKey.INSTALL,
role: ctx.role,
dedupKey: INSTALL_DEDUP_KEYS.POSTHOG_JS,
render: () => <OnboardingInstallStep sdkInstructionMap={ExperimentsSDKInstructions} />,
},
],
}