Project Connections let applications evaluate flags defined in another Vercel project within the same team, without managing SDK keys. Previously, sharing flags between projects required copying a server SDK key into an environment variable and managing it manually. Connected projects authenticate using their deployment’s identity. For local development, vercel env pull retrieves your project’s OIDC token. Manage access from the Connections page under your project's Flags section, or with vercel flags connections in the CLI. Connections grant read-only access across all environments. The consumer deployment determines the flag environment (production deployments evaluate production flags). In the consumer application, create an adapter with the source project’s ID. import { flag } from 'flags/next';import { createVercelAdapter } from '@flags-sdk/vercel'; const sharedFlagsAdapter = createVercelAdapter({ projectId: 'prj_source',}); export const newCheckout = flag({ key: 'new-checkout', defaultValue: false, adapter: sharedFlagsAdapter(),}); Evaluate a flag defined in the connected source project. Access can be revoked without redeploying. Project Connections are available on all plans and require @flags-sdk/vercel 1.6.0 or later, or @vercel/flags-core 1.11.0 or later when using the core library directly. Managing connections from the CLI requires Vercel CLI 63.0.0 or later. Learn more in the Vercel Flags documentation
AI NEWS JOURNAL
VercelAI NEWS / JOURNAL
Evaluate Vercel Flags from another project without sharing SDK keys.
Project Connections allow applications to evaluate flags from another Vercel project within the same team without managing SDK keys, using deployment identity for authentication. Access is managed via the Connections page or CLI, grants read-only access across all environments, and can be revoked without redeployment. Requires @flags-sdk/vercel 1.6.0 or later, or @vercel/flags-core 1.11.0 or later, and Vercel CLI 63.0.0 or later for CLI management.