: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 { useActions } from 'kea'
import { reportOnboardingStepCompleted } from 'scenes/onboarding/onboardingUsage'
import { OnboardingStepKey } from '~/types'
import { InlineSourceSetup } from 'products/data_warehouse/frontend/shared/components/InlineSourceSetup'
import { OnboardingStepComponentType, onboardingLogic } from '../onboardingLogic'
import { OnboardingStep } from '../OnboardingStep'
export const OnboardingDataWarehouseSourcesStep: OnboardingStepComponentType = () => {
const { goToNextStep } = useActions(onboardingLogic)
return (
<OnboardingStep
title="Connect your data for better insights"
stepKey={OnboardingStepKey.LINK_DATA}
showContinue={false}
showSkip
subtitle="Link sources like Stripe and Hubspot so you can query them alongside product data to find correlations."
>
<InlineSourceSetup
onComplete={() => {
reportOnboardingStepCompleted(OnboardingStepKey.LINK_DATA)
goToNextStep()
}}
featured
showWizard
autoConfigureTables
subtitle="You can always connect more sources later."
/>
</OnboardingStep>
)
}
OnboardingDataWarehouseSourcesStep.stepKey = OnboardingStepKey.LINK_DATA