Connect apps and agents to any OAuth or OIDC provider without rebuilding credential management.
$ npx skills add vercel/vercel-plugin --skill vercel-connect$ vercel connect create your-service.com --name my-appimport { getToken } from '@vercel/connect';
const userId = 'user_123';
const token = await getToken('oauth/my-app', { subject: { type: 'user', id: userId },});Add an OAuth or OIDC provider, authorize access, and request credentials from server-side code at runtime. Vercel Connect centralizes token storage and retrieval so access tokens stay out of prompts, source code, and client-side bundles.
Request OAuth credentials only when your application or agent needs them instead of copying secrets into application code.
Request user-authorized OAuth access so actions follow the identity and permissions of the person using your application.
Centralize OAuth authorization and token exchange rather than rebuilding the provider flow in every application.
Bind connections to the projects and environments that need them while Vercel OIDC authenticates each runtime request.
Follow a complete setup for the Connect SDK or a supported agent framework.
Add OAuth to an existing Vercel application with the Connect SDK.
npm install @vercel/connectRun these commands from the project that will use the connection.
vercel linkvercel connect create your-service.com --name my-appvercel env pullimport { getToken } from '@vercel/connect';
const userId = 'user_123';
const token = await getToken('oauth/my-app', { subject: { type: 'user', id: userId },});