# PostHog joins the Vercel Marketplace

**Published:** February 10, 2026 | **Authors:** Marketplace Team

---

[PostHog](https://vercel.com/marketplace/posthog) is now available in the [Vercel Marketplace ](https://vercel.com/marketplace)as a feature flags, experimentation and Analytics provider.

With this integration, you can now:

- Declare flags in code using [Flags SDK](https://flags-sdk.dev/) and the [@flags-sdk/posthog](https://flags-sdk.dev/providers/posthog) adapter
- Toggle features in real time for specific users or cohorts
- Roll out changes gradually using percentage-based rollouts
- Run A/B tests to validate impact before a full release

This integration helps teams building on Vercel ship with more confidence. You can test in production, reduce release risk, and make data-driven decisions based on real user behavior, all within your existing Vercel workflows.

Create a `flags.ts` file with an identify function and a flag check:

**flags.ts**
```typescript
import { postHogAdapter } from '@flags-sdk/posthog'
import { flag, dedupe } from 'flags/next'
import type { Identify } from 'flags'
export const identify = dedupe(async () => ({
  distinctId: 'user_distinct_id'  // replace with real user ID
})) satisfies Identify<{ distinctId: string }>
export const myFlag = flag({
  key: 'my-flag',
  adapter: postHogAdapter.isFeatureEnabled(),
  identify,
})
```

Check out the [PostHog template](https://vercel.com/templates/edge-middleware/posthog-with-flags-sdk-and-next-js) to learn more about this integration.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)