Menu

LaunchDarkly is now available on the Vercel Marketplace - Vercel
📰

LaunchDarkly is now available on the Vercel Marketplace - Vercel

Vercel News·Marc Brakken·5 days ago
#NP12zbHm
#vercel#flags#launchdarkly#flag#adapter
Reading 0:00
15s threshold

LaunchDarkly is now available on the Vercel Marketplace, allowing you to quickly get started with feature flags without additional setup. You can:

  • Sync flags into Global Config and evaluate them locally

  • Target releases by user, attribute, or segment

  • Run experiments with metrics, and roll back with a kill switch

  • View and override flags from the Vercel Toolbar with the Flags Explorer

To get started, run vercel install launchdarkly, add the @flags-sdk/launchdarkly adapter, and declare a flag with the Flags SDK:

import { flag } from "flags/next";

import { ldAdapter, type LDContext } from "@flags-sdk/launchdarkly";

export const exampleFlag = flag<boolean, LDContext>({

key: "example-flag",

identify: () => ({ key: "user-123" }),

adapter: ldAdapter.variation(),

});

Feature flag declared with the LaunchDarkly adapter

Using a coding agent? Hand it this prompt:

Add LaunchDarkly from the Vercel Marketplace, or read the adapter docs.