Your first Statsig flag
Statsig is a feature flagging provider that integrates into Flags SDK through a first party adapter
Setup for Vercel projects is also streamlined through a Vercel Marketplace App
- Flag Configuration is synced into Edge Config automatically
- Project Creation and User Management is handled through Vercel
- Flag information is synced back into Vercel for easy management
- Integrates into Vercel's Flag Explorer
Navigate to the Flags Tab from your Vercel Project, and hit Install Flag Provider
. Select Statsig as your flag provider.
In the next step, make sure to enable edge config syncing
This step is crucial so that Statsig can push configs into Edge Config for fast flag evaluation at the Edge
Head to Statsig through the 'Open in Statsig' or 'Get Started in Statsig' Entrypoints
Create your first feature flag in Statsig called "summer-sale"
This flag will control the summer sale banner in the shirt shop project
Set up a 50/50 targetting rule for the flag so users will be randomly assigned the experience
Congrats you've set up your first flag in Statsig! You'll notice that flags are synced into Vercel's console and Edge Config automatically.