> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Install PostHog SDKs for Workflows Canonical URL: https://posthog.com/docs/workflows/installation Workflows is a no-code product – you can create and launch Workflows without installing any SDK. However, installing a PostHog SDK unlocks event-based triggers, letting you start Workflows when users perform specific actions in your app. These are the same SDKs used for [Product Analytics](https://posthog.com/docs/product-analytics.md) – if you already have PostHog installed, you're good to go. ### Install with the AI wizard The fastest way to get started is with our installation wizard. Run this command in your project directory: `npx @posthog/wizard` It also works with [LLM coding agents](https://posthog.com/blog/envoy-wizard-llm-agent.md) like Cursor and Bolt. ### Platforms - [![](https://res.cloudinary.com/dmukukwp6/image/upload/Android_robot_bec2fb7318.svg)Android](https://posthog.com/docs/product-analytics/installation/android.md) - [API](https://posthog.com/docs/product-analytics/installation/api.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/elixir.svg)Elixir](https://posthog.com/docs/product-analytics/installation/elixir.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/flutter.svg)Flutter](https://posthog.com/docs/product-analytics/installation/flutter.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/go.svg)Go](https://posthog.com/docs/product-analytics/installation/go.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/ios.svg)iOS](https://posthog.com/docs/product-analytics/installation/ios.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/nodejs.svg)Node.js](https://posthog.com/docs/product-analytics/installation/nodejs.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/php.svg)PHP](https://posthog.com/docs/product-analytics/installation/php.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/python.svg)Python](https://posthog.com/docs/product-analytics/installation/python.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React](https://posthog.com/docs/product-analytics/installation/react.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React Native](https://posthog.com/docs/product-analytics/installation/react-native.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/ruby.svg)Ruby](https://posthog.com/docs/product-analytics/installation/ruby.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/js.svg)Web](https://posthog.com/docs/product-analytics/installation/web.md) ### Frameworks - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/angular.svg)Angular](https://posthog.com/docs/libraries/angular.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/astro_icon_dark_23a13977ad.svg)Astro](https://posthog.com/docs/libraries/astro.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/django.svg)Django](https://posthog.com/docs/libraries/django.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/laravel.svg)Laravel](https://posthog.com/docs/libraries/laravel.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nextjs.svg)Next.js](https://posthog.com/docs/libraries/next-js.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nuxt.svg)Nuxt.js](https://posthog.com/docs/libraries/nuxt-js.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/remix_letter_glowing_49183adce2.svg)Remix](https://posthog.com/docs/libraries/remix.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/svelte.svg)Svelte](https://posthog.com/docs/libraries/svelte.md) - [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/vue.svg)Vue](https://posthog.com/docs/libraries/vue-js.md) **Do I need an SDK?** Without an SDK, you can still trigger Workflows programmatically using [webhooks](https://posthog.com/docs/workflows/workflow-builder.md#triggers). With an SDK installed, you can also trigger Workflows when: - A user performs any autocaptured event, such as pageviews, clicks, and form submissions - You send custom events from your app like `signed_up`, `purchase_completed`, or `onboarding_finished` ## Set up Workflows Now that PostHog is installed, any captured or custom event can be used as a [workflow trigger](https://posthog.com/docs/workflows/workflow-builder.md#triggers) to send emails, Slack messages, SMS via Twilio, or call webhooks. To get started: 1. [Configure a channel](https://posthog.com/docs/workflows/configure-channels.md) 2. Head to the [workflow builder](https://posthog.com/docs/workflows/workflow-builder.md) to create your first automation