Skip to content
Dashboard

Introducing feature flag management from the Vercel Toolbar

Software Engineer

View and override feature flags from Optimizely, LaunchDarkly, Statsig, Split, Hypertune, and more.

Link to headingUplevel your flags workflow

Working with the Vercel Toolbar

To enable the toolbar on production or local environments, add it to your project using the @vercel/toolbar package, or with an injection script.

Learn more

import { FlagValues } from "@vercel/flags/react"
<FlagValues values={{ fasterCheckoutPage: true, landingPageRedesign: true }} />

// .well-known/vercel/flags/route.ts
import { getLaunchDarklyData } from '@vercel/flags/providers/launchdarkly';
import { NextResponse } from 'next/server';
export async function GET() {
const launchDarklyData = await getLaunchDarklyData({
apiKey: process.env.LAUNCHDARKLY_API_KEY,
projectKey: process.env.LAUNCHDARKLY_PROJECT_KEY,
environment: process.env.LAUNCHDARKLY_ENVIRONMENT,
});
return NextResponse.json(launchDarklyData);
}

import { cookies } from 'next/headers';
export default function Page() {
const overrides = cookies().get('vercel-flag-overrides')?.value;
return overrides.showNewDashboard ? <NewDashboard /> : <LegacyDashboard />;
}

Set the override for each flag to true and press Save.Set the override for each flag to true and press Save.
Set the override for each flag to true and press Save.

Link to headingShip better features faster on Vercel

Start interacting with your application’s feature flags.

Unlock the new workflow today: Use the Vercel Toolbar to read and set feature flag overrides for your application.

Get started