[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-vercel-connect":3,"mdc--xkry2k-key":37,"related-org-vercel-vercel-connect":4294,"related-repo-vercel-vercel-connect":4475},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"vercel-connect","manage OAuth connections with Vercel Connect","Vercel Connect expert guidance — securely obtain scoped OAuth tokens for third-party services (Slack, GitHub, MCP servers, OAuth, Snowflake) on behalf of apps or users via Vercel OIDC. Use when wiring up third-party API access, connecting to MCP servers, sending Slack messages, accessing GitHub APIs, receiving webhook events from Slack\u002FLinear\u002FGitHub and forwarding them to your agents and apps, or building Eve agent connections.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel","Vercel","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel.png",[12,16,17,20,23],{"name":13,"slug":14,"type":15},"Security","security","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Integrations","integrations",{"name":21,"slug":22,"type":15},"Authentication","authentication",{"name":24,"slug":25,"type":15},"OAuth","oauth",226,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin","2026-07-17T05:32:29.340532",null,36,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Comprehensive Vercel ecosystem plugin — relational knowledge graph, skills for every major product, specialized agents, and Vercel conventions. Turns any AI agent into a Vercel expert.","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fvercel-connect","---\nname: vercel-connect\ndescription: Vercel Connect expert guidance — securely obtain scoped OAuth tokens for third-party services (Slack, GitHub, MCP servers, OAuth, Snowflake) on behalf of apps or users via Vercel OIDC. Use when wiring up third-party API access, connecting to MCP servers, sending Slack messages, accessing GitHub APIs, receiving webhook events from Slack\u002FLinear\u002FGitHub and forwarding them to your agents and apps, or building Eve agent connections.\nmetadata:\n  priority: 5\n  docs:\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fconnect\"\n  sitemap: \"https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml\"\n  pathPatterns:\n    - 'agent\u002Fconnections\u002F**'\n    - 'agent\u002Fchannels\u002F**'\n  importPatterns:\n    - '@vercel\u002Fconnect'\n    - '@vercel\u002Fconnect\u002Feve'\n    - '@vercel\u002Fconnect\u002Fauthjs'\n    - '@vercel\u002Fconnect\u002Fbetterauth'\n  bashPatterns:\n    - '\\bvercel\\s+connect\\b'\n    - '\\bvc\\s+connect\\b'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*@vercel\u002Fconnect\\b'\n  promptSignals:\n    phrases:\n      - \"vercel connect\"\n      - \"slack token\"\n      - \"slack bot token\"\n      - \"post to slack\"\n      - \"send slack message\"\n      - \"github oauth token\"\n      - \"linear oauth\"\n      - \"oauth token for\"\n      - \"third-party token\"\n      - \"connect to slack\"\n      - \"connect to github\"\n      - \"connect to mcp\"\n      - \"mcp connection\"\n      - \"mcp server\"\n      - \"snowflake connection\"\n    allOf:\n      - [slack, token]\n      - [github, token]\n      - [oauth, token]\n      - [mcp, connect]\n      - [mcp, server]\n    anyOf:\n      - \"vercel connect\"\n      - \"@vercel\u002Fconnect\"\n      - \"oauth\"\n      - \"mcp\"\n    noneOf:\n      - \"supabase auth\"\n      - \"clerk\"\n      - \"auth0\"\n    minScore: 6\nretrieval:\n  aliases:\n    - vercel connect\n    - oauth helper\n    - third-party tokens\n    - connect sdk\n    - mcp connector\n  intents:\n    - get slack token\n    - get github oauth token\n    - wire up third-party oauth\n    - add slack channel to agent\n    - connect to oauth provider\n    - obtain api credentials\n    - connect to mcp server\n    - set up mcp connection\n    - add snowflake connection\n  entities:\n    - Vercel Connect\n    - getToken\n    - \"@vercel\u002Fconnect\"\n    - OAuth\n    - Slack\n    - GitHub\n    - MCP\n    - Snowflake\n    - Eve\n    - connector\n  examples:\n    - send a slack message from my app\n    - get a github oauth token\n    - wire up Linear in my Eve agent\n    - connect my agent to a MCP server\n    - add Snowflake credentials to my project\nchainTo:\n  -\n    pattern: \"from\\\\s+['\\\"]@vercel\u002Fconnect\u002Feve['\\\"]\"\n    targetSkill: eve\n    message: 'Eve + Vercel Connect import detected — loading Eve framework guidance alongside the connect() helper and channel credential patterns.'\n  -\n    pattern: 'SLACK_(BOT|SIGNING)_(TOKEN|SECRET)|SLACK_WEBHOOK_URL|GITHUB_(APP_PRIVATE_KEY|APP_ID|INSTALLATION_ID|WEBHOOK_SECRET)|LINEAR_(API_KEY|WEBHOOK_SECRET)'\n    targetSkill: vercel-connect\n    message: 'Hand-managed Slack\u002FGitHub\u002FLinear secrets detected — use Vercel Connect + connectSlackCredentials() \u002F connectGitHubCredentials() \u002F connectLinearCredentials() to remove the need for these env vars.'\n    skipIfFileContains: 'connectSlackCredentials|connectGitHubCredentials|connectLinearCredentials|@vercel\u002Fconnect'\n---\n\n# Vercel Connect Skill\n\n## Overview\n\nVercel Connect enables to securely obtain scoped tokens for accessing third-party services on behalf of apps or users. It uses Vercel OIDC tokens to authenticate and exchange for Vercel Connect tokens via the Vercel API.\n\n## When to Use Vercel Connect\n\nUse Vercel Connect when you need to:\n\n- Send messages via Slack (as a bot or on behalf of a user)\n- Access GitHub repositories or APIs\n- Connect to any third-party system that requires OAuth tokens or API credentials\n- Obtain tokens for authenticated API calls\n\n## Modes of tokens\n\nThe SDK supports three subject types — pick based on what's acting:\n\n- **`user`** — actions performed on behalf of a specific end user (e.g., post a Slack message as the user). Requires a user `id` and optional `issuer`.\n- **`app`** — actions performed as the app itself (e.g., post as a Slack bot, app-level GitHub access). No consent flow — fails terminally if the connector is not installed.\n- **`jwt-bearer`** — RFC 7523 JWT-bearer exchange for connectors that accept a caller-minted assertion. Pass `sub` (required), plus optional `iss`, `aud`, and `additionalClaims`. Use when the third-party expects you to vouch for the subject via a signed JWT rather than an interactive OAuth grant.\n\n## Available Tools\n\nAll tools have `--format=json` option for machine-readable output.\n\n### 1. Vercel Connect CLI (for Bash\u002FShell)\n\nUse the `vercel connect` CLI for command-line operations. Use `vercel connect --help` to get available commands. The user needs to be authenticated to the Vercel CLI and the commands work within the scope of the user's currently selected Vercel team. For eg it will create & list Connect connectors created within the currently selected Vercel team.\n\nImportant! Always run `vercel connect` commands from the **project or agent folder** that will consume the connection (the directory containing `package.json` \u002F `vercel.json`). Vercel Connect reads the local project context to auto-configure the connection — for example, picking a sensible connector name and `uid`, setting up project access to the connection, configuring webhooks and triggers. Running from the repo root or an unrelated directory skips this auto-configuration and you'll have to wire things up by hand. If the user invokes a `vc connect` command from elsewhere, `cd` into the closest matching project\u002Fagent folder first (or pass `--cwd \u003CDIR>`).\n\nExample commands:\n\n```bash\n# Create new Connect connector\nvercel connect create \u003Cservice>\n\n# List existing Connect connectors\nvercel connect list\n\n# Get token\nvercel connect token \u003Cconnector> --subject user|app\n```\n\nImportant! The `vercel connect create` and `vercel connect token` commands may open the browser for the user if there's a manual registration required (for eg completing the OAuth consent or installing a slack app to a workspace). The user must visit the browser to complete the process while you wait for the process to complete.\n\n#### Available Services\n\n| Service                | Modes      | Description                                |\n| ---------------------- | ---------- | ------------------------------------------ |\n| `slack`                | user, bot  | Slack API access                           |\n| `github`               | user, app  | GitHub API access                          |\n| MCP servers            | user, app  | Any MCP server (`mcp.\u003Chost>\u002F\u003Cpath>`)       |\n| `snowflake`            | user       | Snowflake data access                      |\n| Generic OAuth provider | user, app  | Any OAuth 2.0 server registered via `vercel connect create` |\n\nFor MCP servers, pass the full endpoint URL when registering (e.g. `vercel connect create https:\u002F\u002Fmcp.linear.app\u002Fmcp`). The connector ID then takes the form `mcp.\u003Chost>\u002F\u003Cname>` (for example `mcp.linear.app\u002Fmyagent`).\n\n#### Example: Send a Slack message using curl\n\n```bash\nTOKEN=$(vercel connect token \u003Cconnector>)\ncurl -X POST https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}'\n```\n\n### 2. JavaScript\u002FTypeScript SDK (`@vercel\u002Fconnect`)\n\nFor JavaScript\u002FTypeScript code, use the `@vercel\u002Fconnect` package directly:\n\n```typescript\nimport { getToken } from \"@vercel\u002Fconnect\";\n\n\u002F\u002F Get a token for Slack bot\nconst token = await getToken(\"scl_abc123\", {\n  subject: { type: \"app\" }, \u002F\u002F If sending as a bot, or else use \"user\"\n});\n\n\u002F\u002F Use the token\nconst response = await fetch(\"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${token}`,\n    \"Content-Type\": \"application\u002Fjson\",\n  },\n  body: JSON.stringify({\n    channel: \"C1234567890\",\n    text: \"Hello from Vercel Connect!\",\n  }),\n});\n```\n\nThe SDK uses the user's Vercel OIDC token to authenticate. The user should have run `vc env pull` to pull the OIDC token env variables locally (or `vc link` pulls it automatically)\n\n#### Eve agents — `@vercel\u002Fconnect\u002Feve`\n\nWhen the project is built on [Eve](https:\u002F\u002Feve.dev), prefer the `connect` helper over calling `getToken` directly inside connection definitions. The helper wires the full token \u002F start-authorization \u002F complete-authorization lifecycle into Eve's connection runtime, so a Vercel Connect-backed connection becomes a single declaration:\n\n```typescript\n\u002F\u002F agent\u002Fconnections\u002Flinear.ts\nimport { defineMcpClientConnection } from \"eve\u002Fconnections\";\nimport { connect } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default defineMcpClientConnection({\n  url: \"https:\u002F\u002Fmcp.linear.app\u002Fmcp\",\n  description: \"Linear workspace — issues, projects, cycles, and comments.\",\n  auth: connect(\"mcp.linear.app\u002Fmyagent\"),\n});\n```\n\nKey points for the agent:\n\n- Omit `principalType` for the default per-user OAuth flow, or set `\"app\"` for app-scoped tokens (no consent flow — fail terminally if not installed).\n- Pass the connector id directly with `connect(\"mcp.linear.app\u002Fmyagent\")`, or use `connect({ connector: \"mcp.linear.app\u002Fmyagent\" })` when you need options.\n- For scopes, audiences, or `authorizationDetails`, pass them through `tokenParams`. For a custom challenge prompt, pass `instructions`. Both are optional.\n- `eve` is an optional peer dependency, so the rest of `@vercel\u002Fconnect` (CLI, `getToken`, etc.) is unaffected for non-Eve consumers.\n\n##### Slack channel — `connectSlackCredentials`\n\nFor Eve Slack channels (`agent\u002Fchannels\u002Fslack.ts`), use `connectSlackCredentials(connector)` from `@vercel\u002Fconnect\u002Feve`. It returns a complete `SlackChannelCredentials` object — both the bot token and inbound webhook verification are handled by Vercel Connect, so you do **not** need `SLACK_BOT_TOKEN` or `SLACK_SIGNING_SECRET` env vars:\n\n```typescript\n\u002F\u002F agent\u002Fchannels\u002Fslack.ts\nimport { slackRoute } from \"eve\u002Fchannels\u002Fslack\";\nimport { connectSlackCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default slackRoute({\n  credentials: connectSlackCredentials(\"slack\u002Fmyagent\"),\n});\n```\n\nWhat the helper wires up:\n\n- `botToken`: a function that calls `getToken(connector, { subject: { type: \"app\" } })` on each inbound webhook, so token rotation, refresh, and multi-workspace tenancy are handled server-side.\n- `webhookVerifier`: a Vercel OIDC verifier (`vercelOidc()`). Vercel Connect forwards verified Slack webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Slack signing secret.\n\nUse this whenever the project is on Eve + Vercel Connect — it's the one-liner for both outbound posts and inbound webhook auth.\n\n##### GitHub channel — `connectGitHubCredentials`\n\nFor Eve GitHub channels (`agent\u002Fchannels\u002Fgithub.ts`), use `connectGitHubCredentials(connector)` from `@vercel\u002Fconnect\u002Feve`. It returns a complete `GitHubChannelCredentials` object — Eve uses the installation token directly (skipping its native GitHub App JWT exchange) and Vercel Connect handles rotation, refresh, and multi-installation tenancy server-side. You do **not** need `GITHUB_APP_PRIVATE_KEY`, `GITHUB_APP_ID`, `GITHUB_INSTALLATION_ID`, or `GITHUB_WEBHOOK_SECRET` env vars:\n\n```typescript\n\u002F\u002F agent\u002Fchannels\u002Fgithub.ts\nimport { githubRoute } from \"eve\u002Fchannels\u002Fgithub\";\nimport { connectGitHubCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default githubRoute({\n  credentials: connectGitHubCredentials(\"github\u002Fmyagent\"),\n});\n```\n\nWhat the helper wires up:\n\n- `installationToken`: a function that calls `getToken(connector, { subject: { type: \"app\" } })`. The helper pins `subject` to `\"app\"` — GitHub installation tokens are app-scoped.\n- `webhookVerifier`: a Vercel OIDC verifier (`vercelOidc()`). Vercel Connect forwards verified GitHub webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw GitHub webhook secret.\n\n##### Linear channel — `connectLinearCredentials`\n\nFor Eve Linear channels (`agent\u002Fchannels\u002Flinear.ts`), use `connectLinearCredentials(connector)` from `@vercel\u002Fconnect\u002Feve`. It returns a complete `LinearChannelCredentials` object — Vercel Connect manages the Linear app access token and webhook auth, so you do **not** need `LINEAR_API_KEY` or `LINEAR_WEBHOOK_SECRET` env vars:\n\n```typescript\n\u002F\u002F agent\u002Fchannels\u002Flinear.ts\nimport { linearRoute } from \"eve\u002Fchannels\u002Flinear\";\nimport { connectLinearCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default linearRoute({\n  credentials: connectLinearCredentials(\"linear\u002Fmyagent\"),\n});\n```\n\nWhat the helper wires up:\n\n- `accessToken`: a function that calls `getToken(connector, { subject: { type: \"app\" } })`. The helper pins `subject` to `\"app\"` — Linear Agent tokens are app-scoped.\n- `webhookVerifier`: a Vercel OIDC verifier (`vercelOidc()`). Vercel Connect forwards verified Linear webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Linear webhook secret.\n\n### 3. HTTP API (for other languages)\n\nFor other languages, make HTTP requests directly to the Vercel Connect server. The request must be authenticated with the project's Vercel OIDC token (`VERCEL_OIDC_TOKEN` env var — pulled by `vc env pull` or injected at runtime):\n\n```bash\n# Get a token via HTTP\nPOST https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002F\u003Cconnector>\nAuthorization: Bearer \u003CVERCEL_OIDC_TOKEN>\nContent-Type: application\u002Fjson\n\n{ \"subject\": { \"type\": \"user\", \"id\": \"user_123\" } }\n```\n\nThe response is JSON with a `token` field (plus `expiresAt`, `connector`, and other metadata).\n\n#### Python Example\n\n```python\nimport os\nimport requests\n\n# Get token from Vercel Connect\nconnect_response = requests.post(\n    \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002Fslack1234\",\n    headers={\"Authorization\": f\"Bearer {os.environ['VERCEL_OIDC_TOKEN']}\"},\n    json={\n        \"subject\": {\"type\": \"app\"},\n    },\n)\ntoken = connect_response.json()[\"token\"]\n\n# Use the token\nslack_response = requests.post(\n    \"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage\",\n    headers={\"Authorization\": f\"Bearer {token}\"},\n    json={\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}\n)\n```\n\n### 4. BetterAuth and AuthJS support\n\nWhen the app already uses [Better Auth](https:\u002F\u002Fwww.better-auth.com\u002F) or [Auth.js](https:\u002F\u002Fauthjs.dev\u002F) for end-user authentication, you can plug a Vercel Connect connector in as an OAuth provider instead of calling `getToken` directly. The `connect` helper on each subpath handles the token exchange so provider credentials stay in Vercel Connect rather than in framework config or env vars.\n\n#### Better Auth — `@vercel\u002Fconnect\u002Fbetterauth`\n\nOptional peer dependency: `better-auth`. Pass the connector through Better Auth's `genericOAuth` plugin. Connector UIDs can contain a `\u002F` (e.g. `linear\u002Fmyagent`), and Better Auth additionally requires a `providerId`:\n\n```typescript\nimport { genericOAuth } from \"better-auth\u002Fplugins\";\nimport { connect } from \"@vercel\u002Fconnect\u002Fbetterauth\";\n\ngenericOAuth({\n  config: [connect({ providerId: \"linear\", connector: \"linear\u002Fmyagent\" })],\n});\n```\n\n#### Auth.js — `@vercel\u002Fconnect\u002Fauthjs`\n\nOptional peer dependency: `@auth\u002Fcore`. Use the connector as an `OAuth2Config` provider. Connector UIDs can contain a `\u002F` (e.g. `linear\u002Fmyagent`), and Auth.js additionally requires an `id`:\n\n```typescript\nimport { connect } from \"@vercel\u002Fconnect\u002Fauthjs\";\n\nconst providers = [connect({ id: \"linear\", connector: \"linear\u002Fmyagent\" })];\n```\n\n## Workflow\n\nAll tools have `--json` option for machine-readable output.\n\nBefore running any `vercel connect` step below, make sure your shell cwd is the project or agent folder that will use the connection (see the CLI section above). Vercel Connect uses that context to auto-configure the project, so running from the right directory removes follow-up wiring work.\n\n1. **Check existing Connect connectors**: See if a required Connect connector is already present\n\n   ```bash\n   vercel connect list\n   vercel connect token \u003Cconnector>\n   ```\n\nImportant! If more than one connector found, allow user to make the choice between them, or ask to create a new one\n\n2. **Register**: If the provider you need is not registered of if the user asked to create a new connector \u002F app \u002F bot, follow the instructions to register it (this may involve setting up credentials on browser in the third-party service and then registering them with Vercel Connect).\n\n   ```bash\n   vercel connect create \u003Cservice> [--name \u003Capp-name>]\n   ```\n\nImportant! Provide the most precise server URL for the service, including the complete connection URL (e.g. `https:\u002F\u002Fmcp.linear.app\u002Fmcp` rather than just `linear`). Short service aliases may resolve to a default endpoint that does not match the transport or path the user actually wants. When in doubt, run `vercel connect create --help` to confirm which service names and URL forms are accepted before picking one.\n\nImportant! This command will give you a URL or directly open it to complete the registration process. User must visit that URL and follow the instructions to link their third-party account with Vercel Connect. The command will not complete until they finish the registration. The agent must clearly show the URL to the user and prompt them to complete the registration.\n\nImportant! Once `vercel connect create` completes, it will print a successful message. You must capture that connector ID for the next step.\n\nImportant! The `vercel connect create` command may open the browser so it's better to get the user approval before running it.\n\n3. **Get token**: Obtain a token for the provider you need:\n   On CLI, you can get the token via\n\n   ```bash\n   vercel connect token \u003Cconnector> [--subject \u003Csubject>]\n   ```\n\nThe default subject is user. Use app for getting app scoped tokens. It's recommended to run this command with the `--yes` in case an re-authorization or installation is required. This will trigger the reauthorization flow for the user.\n\nImportant! Always put the token value into a variable and use the variable in the subsequent commands to avoid accidentally echoing the token in the terminal or logs. Avoid combining this command with other commands using `&&`. For example:\n\n```bash\nTOKEN=$(vercel connect token)\n```\n\nImportant! Try to reuse tokens as much as possible. If you already have a token with the required scopes, use it instead of requesting a new one, even when fewer scopes are needed. This will reduce friction for the user and avoid unnecessary authorization prompts.\n\nWhen working with a JavaScript\u002FTypeScript code, use the `@vercel\u002Fconnect` package directly:\n\n4. **Use token**: Use the token to authenticate with the third-party service.\n   For example:\n\n```typescript\nimport { getToken } from \"@vercel\u002Fconnect\";\n\nconst token = await getToken(\n  \"connector-id\",\n  \u002F\u002F Optional params:\n  {\n    subject: { ... },\n  },\n);\n```\n",{"data":38,"body":134},{"name":4,"description":6,"metadata":39,"retrieval":94,"chainTo":125},{"priority":40,"docs":41,"sitemap":43,"pathPatterns":44,"importPatterns":47,"bashPatterns":52,"promptSignals":59},5,[42],"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fconnect","https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml",[45,46],"agent\u002Fconnections\u002F**","agent\u002Fchannels\u002F**",[48,49,50,51],"@vercel\u002Fconnect","@vercel\u002Fconnect\u002Feve","@vercel\u002Fconnect\u002Fauthjs","@vercel\u002Fconnect\u002Fbetterauth",[53,54,55,56,57,58],"\\bvercel\\s+connect\\b","\\bvc\\s+connect\\b","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fconnect\\b","\\byarn\\s+add\\s+[^\\n]*@vercel\u002Fconnect\\b",{"phrases":60,"allOf":76,"anyOf":88,"noneOf":89,"minScore":93},[61,62,63,64,65,66,67,68,69,70,71,72,73,74,75],"vercel connect","slack token","slack bot token","post to slack","send slack message","github oauth token","linear oauth","oauth token for","third-party token","connect to slack","connect to github","connect to mcp","mcp connection","mcp server","snowflake connection",[77,80,82,83,86],[78,79],"slack","token",[81,79],"github",[25,79],[84,85],"mcp","connect",[84,87],"server",[61,48,25,84],[90,91,92],"supabase auth","clerk","auth0",6,{"aliases":95,"intents":100,"entities":110,"examples":119},[61,96,97,98,99],"oauth helper","third-party tokens","connect sdk","mcp connector",[101,102,103,104,105,106,107,108,109],"get slack token","get github oauth token","wire up third-party oauth","add slack channel to agent","connect to oauth provider","obtain api credentials","connect to mcp server","set up mcp connection","add snowflake connection",[111,112,48,24,113,114,115,116,117,118],"Vercel Connect","getToken","Slack","GitHub","MCP","Snowflake","Eve","connector",[120,121,122,123,124],"send a slack message from my app","get a github oauth token","wire up Linear in my Eve agent","connect my agent to a MCP server","add Snowflake credentials to my project",[126,130],{"pattern":127,"targetSkill":128,"message":129},"from\\s+['\"]@vercel\u002Fconnect\u002Feve['\"]","eve","Eve + Vercel Connect import detected — loading Eve framework guidance alongside the connect() helper and channel credential patterns.",{"pattern":131,"targetSkill":4,"message":132,"skipIfFileContains":133},"SLACK_(BOT|SIGNING)_(TOKEN|SECRET)|SLACK_WEBHOOK_URL|GITHUB_(APP_PRIVATE_KEY|APP_ID|INSTALLATION_ID|WEBHOOK_SECRET)|LINEAR_(API_KEY|WEBHOOK_SECRET)","Hand-managed Slack\u002FGitHub\u002FLinear secrets detected — use Vercel Connect + connectSlackCredentials() \u002F connectGitHubCredentials() \u002F connectLinearCredentials() to remove the need for these env vars.","connectSlackCredentials|connectGitHubCredentials|connectLinearCredentials|@vercel\u002Fconnect",{"type":135,"children":136},"root",[137,146,153,159,165,170,195,201,206,301,307,320,327,347,414,419,591,612,619,762,790,796,952,964,976,1500,1521,1532,1561,1801,1806,1904,1917,1976,2158,2163,2204,2209,2221,2288,2469,2473,2524,2536,2588,2769,2773,2821,2827,2847,3034,3060,3066,3224,3230,3266,3277,3320,3533,3544,3583,3725,3731,3742,3754,3821,3826,3904,3931,3936,3948,3959,4037,4050,4063,4097,4102,4113,4126,4288],{"type":138,"tag":139,"props":140,"children":142},"element","h1",{"id":141},"vercel-connect-skill",[143],{"type":144,"value":145},"text","Vercel Connect Skill",{"type":138,"tag":147,"props":148,"children":150},"h2",{"id":149},"overview",[151],{"type":144,"value":152},"Overview",{"type":138,"tag":154,"props":155,"children":156},"p",{},[157],{"type":144,"value":158},"Vercel Connect enables to securely obtain scoped tokens for accessing third-party services on behalf of apps or users. It uses Vercel OIDC tokens to authenticate and exchange for Vercel Connect tokens via the Vercel API.",{"type":138,"tag":147,"props":160,"children":162},{"id":161},"when-to-use-vercel-connect",[163],{"type":144,"value":164},"When to Use Vercel Connect",{"type":138,"tag":154,"props":166,"children":167},{},[168],{"type":144,"value":169},"Use Vercel Connect when you need to:",{"type":138,"tag":171,"props":172,"children":173},"ul",{},[174,180,185,190],{"type":138,"tag":175,"props":176,"children":177},"li",{},[178],{"type":144,"value":179},"Send messages via Slack (as a bot or on behalf of a user)",{"type":138,"tag":175,"props":181,"children":182},{},[183],{"type":144,"value":184},"Access GitHub repositories or APIs",{"type":138,"tag":175,"props":186,"children":187},{},[188],{"type":144,"value":189},"Connect to any third-party system that requires OAuth tokens or API credentials",{"type":138,"tag":175,"props":191,"children":192},{},[193],{"type":144,"value":194},"Obtain tokens for authenticated API calls",{"type":138,"tag":147,"props":196,"children":198},{"id":197},"modes-of-tokens",[199],{"type":144,"value":200},"Modes of tokens",{"type":138,"tag":154,"props":202,"children":203},{},[204],{"type":144,"value":205},"The SDK supports three subject types — pick based on what's acting:",{"type":138,"tag":171,"props":207,"children":208},{},[209,241,255],{"type":138,"tag":175,"props":210,"children":211},{},[212,223,225,231,233,239],{"type":138,"tag":213,"props":214,"children":215},"strong",{},[216],{"type":138,"tag":217,"props":218,"children":220},"code",{"className":219},[],[221],{"type":144,"value":222},"user",{"type":144,"value":224}," — actions performed on behalf of a specific end user (e.g., post a Slack message as the user). Requires a user ",{"type":138,"tag":217,"props":226,"children":228},{"className":227},[],[229],{"type":144,"value":230},"id",{"type":144,"value":232}," and optional ",{"type":138,"tag":217,"props":234,"children":236},{"className":235},[],[237],{"type":144,"value":238},"issuer",{"type":144,"value":240},".",{"type":138,"tag":175,"props":242,"children":243},{},[244,253],{"type":138,"tag":213,"props":245,"children":246},{},[247],{"type":138,"tag":217,"props":248,"children":250},{"className":249},[],[251],{"type":144,"value":252},"app",{"type":144,"value":254}," — actions performed as the app itself (e.g., post as a Slack bot, app-level GitHub access). No consent flow — fails terminally if the connector is not installed.",{"type":138,"tag":175,"props":256,"children":257},{},[258,267,269,275,277,283,285,291,293,299],{"type":138,"tag":213,"props":259,"children":260},{},[261],{"type":138,"tag":217,"props":262,"children":264},{"className":263},[],[265],{"type":144,"value":266},"jwt-bearer",{"type":144,"value":268}," — RFC 7523 JWT-bearer exchange for connectors that accept a caller-minted assertion. Pass ",{"type":138,"tag":217,"props":270,"children":272},{"className":271},[],[273],{"type":144,"value":274},"sub",{"type":144,"value":276}," (required), plus optional ",{"type":138,"tag":217,"props":278,"children":280},{"className":279},[],[281],{"type":144,"value":282},"iss",{"type":144,"value":284},", ",{"type":138,"tag":217,"props":286,"children":288},{"className":287},[],[289],{"type":144,"value":290},"aud",{"type":144,"value":292},", and ",{"type":138,"tag":217,"props":294,"children":296},{"className":295},[],[297],{"type":144,"value":298},"additionalClaims",{"type":144,"value":300},". Use when the third-party expects you to vouch for the subject via a signed JWT rather than an interactive OAuth grant.",{"type":138,"tag":147,"props":302,"children":304},{"id":303},"available-tools",[305],{"type":144,"value":306},"Available Tools",{"type":138,"tag":154,"props":308,"children":309},{},[310,312,318],{"type":144,"value":311},"All tools have ",{"type":138,"tag":217,"props":313,"children":315},{"className":314},[],[316],{"type":144,"value":317},"--format=json",{"type":144,"value":319}," option for machine-readable output.",{"type":138,"tag":321,"props":322,"children":324},"h3",{"id":323},"_1-vercel-connect-cli-for-bashshell",[325],{"type":144,"value":326},"1. Vercel Connect CLI (for Bash\u002FShell)",{"type":138,"tag":154,"props":328,"children":329},{},[330,332,337,339,345],{"type":144,"value":331},"Use the ",{"type":138,"tag":217,"props":333,"children":335},{"className":334},[],[336],{"type":144,"value":61},{"type":144,"value":338}," CLI for command-line operations. Use ",{"type":138,"tag":217,"props":340,"children":342},{"className":341},[],[343],{"type":144,"value":344},"vercel connect --help",{"type":144,"value":346}," to get available commands. The user needs to be authenticated to the Vercel CLI and the commands work within the scope of the user's currently selected Vercel team. For eg it will create & list Connect connectors created within the currently selected Vercel team.",{"type":138,"tag":154,"props":348,"children":349},{},[350,352,357,359,364,366,372,374,380,382,388,390,396,398,404,406,412],{"type":144,"value":351},"Important! Always run ",{"type":138,"tag":217,"props":353,"children":355},{"className":354},[],[356],{"type":144,"value":61},{"type":144,"value":358}," commands from the ",{"type":138,"tag":213,"props":360,"children":361},{},[362],{"type":144,"value":363},"project or agent folder",{"type":144,"value":365}," that will consume the connection (the directory containing ",{"type":138,"tag":217,"props":367,"children":369},{"className":368},[],[370],{"type":144,"value":371},"package.json",{"type":144,"value":373}," \u002F ",{"type":138,"tag":217,"props":375,"children":377},{"className":376},[],[378],{"type":144,"value":379},"vercel.json",{"type":144,"value":381},"). Vercel Connect reads the local project context to auto-configure the connection — for example, picking a sensible connector name and ",{"type":138,"tag":217,"props":383,"children":385},{"className":384},[],[386],{"type":144,"value":387},"uid",{"type":144,"value":389},", setting up project access to the connection, configuring webhooks and triggers. Running from the repo root or an unrelated directory skips this auto-configuration and you'll have to wire things up by hand. If the user invokes a ",{"type":138,"tag":217,"props":391,"children":393},{"className":392},[],[394],{"type":144,"value":395},"vc connect",{"type":144,"value":397}," command from elsewhere, ",{"type":138,"tag":217,"props":399,"children":401},{"className":400},[],[402],{"type":144,"value":403},"cd",{"type":144,"value":405}," into the closest matching project\u002Fagent folder first (or pass ",{"type":138,"tag":217,"props":407,"children":409},{"className":408},[],[410],{"type":144,"value":411},"--cwd \u003CDIR>",{"type":144,"value":413},").",{"type":138,"tag":154,"props":415,"children":416},{},[417],{"type":144,"value":418},"Example commands:",{"type":138,"tag":420,"props":421,"children":426},"pre",{"className":422,"code":423,"language":424,"meta":425,"style":425},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Create new Connect connector\nvercel connect create \u003Cservice>\n\n# List existing Connect connectors\nvercel connect list\n\n# Get token\nvercel connect token \u003Cconnector> --subject user|app\n","bash","",[427],{"type":138,"tag":217,"props":428,"children":429},{"__ignoreMap":425},[430,442,484,494,503,519,526,535],{"type":138,"tag":431,"props":432,"children":435},"span",{"class":433,"line":434},"line",1,[436],{"type":138,"tag":431,"props":437,"children":439},{"style":438},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[440],{"type":144,"value":441},"# Create new Connect connector\n",{"type":138,"tag":431,"props":443,"children":445},{"class":433,"line":444},2,[446,451,457,462,468,473,479],{"type":138,"tag":431,"props":447,"children":449},{"style":448},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[450],{"type":144,"value":8},{"type":138,"tag":431,"props":452,"children":454},{"style":453},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[455],{"type":144,"value":456}," connect",{"type":138,"tag":431,"props":458,"children":459},{"style":453},[460],{"type":144,"value":461}," create",{"type":138,"tag":431,"props":463,"children":465},{"style":464},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[466],{"type":144,"value":467}," \u003C",{"type":138,"tag":431,"props":469,"children":470},{"style":453},[471],{"type":144,"value":472},"servic",{"type":138,"tag":431,"props":474,"children":476},{"style":475},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[477],{"type":144,"value":478},"e",{"type":138,"tag":431,"props":480,"children":481},{"style":464},[482],{"type":144,"value":483},">\n",{"type":138,"tag":431,"props":485,"children":487},{"class":433,"line":486},3,[488],{"type":138,"tag":431,"props":489,"children":491},{"emptyLinePlaceholder":490},true,[492],{"type":144,"value":493},"\n",{"type":138,"tag":431,"props":495,"children":497},{"class":433,"line":496},4,[498],{"type":138,"tag":431,"props":499,"children":500},{"style":438},[501],{"type":144,"value":502},"# List existing Connect connectors\n",{"type":138,"tag":431,"props":504,"children":505},{"class":433,"line":40},[506,510,514],{"type":138,"tag":431,"props":507,"children":508},{"style":448},[509],{"type":144,"value":8},{"type":138,"tag":431,"props":511,"children":512},{"style":453},[513],{"type":144,"value":456},{"type":138,"tag":431,"props":515,"children":516},{"style":453},[517],{"type":144,"value":518}," list\n",{"type":138,"tag":431,"props":520,"children":521},{"class":433,"line":93},[522],{"type":138,"tag":431,"props":523,"children":524},{"emptyLinePlaceholder":490},[525],{"type":144,"value":493},{"type":138,"tag":431,"props":527,"children":529},{"class":433,"line":528},7,[530],{"type":138,"tag":431,"props":531,"children":532},{"style":438},[533],{"type":144,"value":534},"# Get token\n",{"type":138,"tag":431,"props":536,"children":538},{"class":433,"line":537},8,[539,543,547,552,556,561,566,571,576,581,586],{"type":138,"tag":431,"props":540,"children":541},{"style":448},[542],{"type":144,"value":8},{"type":138,"tag":431,"props":544,"children":545},{"style":453},[546],{"type":144,"value":456},{"type":138,"tag":431,"props":548,"children":549},{"style":453},[550],{"type":144,"value":551}," token",{"type":138,"tag":431,"props":553,"children":554},{"style":464},[555],{"type":144,"value":467},{"type":138,"tag":431,"props":557,"children":558},{"style":453},[559],{"type":144,"value":560},"connecto",{"type":138,"tag":431,"props":562,"children":563},{"style":475},[564],{"type":144,"value":565},"r",{"type":138,"tag":431,"props":567,"children":568},{"style":464},[569],{"type":144,"value":570},">",{"type":138,"tag":431,"props":572,"children":573},{"style":453},[574],{"type":144,"value":575}," --subject",{"type":138,"tag":431,"props":577,"children":578},{"style":453},[579],{"type":144,"value":580}," user",{"type":138,"tag":431,"props":582,"children":583},{"style":464},[584],{"type":144,"value":585},"|",{"type":138,"tag":431,"props":587,"children":588},{"style":448},[589],{"type":144,"value":590},"app\n",{"type":138,"tag":154,"props":592,"children":593},{},[594,596,602,604,610],{"type":144,"value":595},"Important! The ",{"type":138,"tag":217,"props":597,"children":599},{"className":598},[],[600],{"type":144,"value":601},"vercel connect create",{"type":144,"value":603}," and ",{"type":138,"tag":217,"props":605,"children":607},{"className":606},[],[608],{"type":144,"value":609},"vercel connect token",{"type":144,"value":611}," commands may open the browser for the user if there's a manual registration required (for eg completing the OAuth consent or installing a slack app to a workspace). The user must visit the browser to complete the process while you wait for the process to complete.",{"type":138,"tag":613,"props":614,"children":616},"h4",{"id":615},"available-services",[617],{"type":144,"value":618},"Available Services",{"type":138,"tag":620,"props":621,"children":622},"table",{},[623,647],{"type":138,"tag":624,"props":625,"children":626},"thead",{},[627],{"type":138,"tag":628,"props":629,"children":630},"tr",{},[631,637,642],{"type":138,"tag":632,"props":633,"children":634},"th",{},[635],{"type":144,"value":636},"Service",{"type":138,"tag":632,"props":638,"children":639},{},[640],{"type":144,"value":641},"Modes",{"type":138,"tag":632,"props":643,"children":644},{},[645],{"type":144,"value":646},"Description",{"type":138,"tag":648,"props":649,"children":650},"tbody",{},[651,673,694,719,740],{"type":138,"tag":628,"props":652,"children":653},{},[654,663,668],{"type":138,"tag":655,"props":656,"children":657},"td",{},[658],{"type":138,"tag":217,"props":659,"children":661},{"className":660},[],[662],{"type":144,"value":78},{"type":138,"tag":655,"props":664,"children":665},{},[666],{"type":144,"value":667},"user, bot",{"type":138,"tag":655,"props":669,"children":670},{},[671],{"type":144,"value":672},"Slack API access",{"type":138,"tag":628,"props":674,"children":675},{},[676,684,689],{"type":138,"tag":655,"props":677,"children":678},{},[679],{"type":138,"tag":217,"props":680,"children":682},{"className":681},[],[683],{"type":144,"value":81},{"type":138,"tag":655,"props":685,"children":686},{},[687],{"type":144,"value":688},"user, app",{"type":138,"tag":655,"props":690,"children":691},{},[692],{"type":144,"value":693},"GitHub API access",{"type":138,"tag":628,"props":695,"children":696},{},[697,702,706],{"type":138,"tag":655,"props":698,"children":699},{},[700],{"type":144,"value":701},"MCP servers",{"type":138,"tag":655,"props":703,"children":704},{},[705],{"type":144,"value":688},{"type":138,"tag":655,"props":707,"children":708},{},[709,711,717],{"type":144,"value":710},"Any MCP server (",{"type":138,"tag":217,"props":712,"children":714},{"className":713},[],[715],{"type":144,"value":716},"mcp.\u003Chost>\u002F\u003Cpath>",{"type":144,"value":718},")",{"type":138,"tag":628,"props":720,"children":721},{},[722,731,735],{"type":138,"tag":655,"props":723,"children":724},{},[725],{"type":138,"tag":217,"props":726,"children":728},{"className":727},[],[729],{"type":144,"value":730},"snowflake",{"type":138,"tag":655,"props":732,"children":733},{},[734],{"type":144,"value":222},{"type":138,"tag":655,"props":736,"children":737},{},[738],{"type":144,"value":739},"Snowflake data access",{"type":138,"tag":628,"props":741,"children":742},{},[743,748,752],{"type":138,"tag":655,"props":744,"children":745},{},[746],{"type":144,"value":747},"Generic OAuth provider",{"type":138,"tag":655,"props":749,"children":750},{},[751],{"type":144,"value":688},{"type":138,"tag":655,"props":753,"children":754},{},[755,757],{"type":144,"value":756},"Any OAuth 2.0 server registered via ",{"type":138,"tag":217,"props":758,"children":760},{"className":759},[],[761],{"type":144,"value":601},{"type":138,"tag":154,"props":763,"children":764},{},[765,767,773,775,781,783,789],{"type":144,"value":766},"For MCP servers, pass the full endpoint URL when registering (e.g. ",{"type":138,"tag":217,"props":768,"children":770},{"className":769},[],[771],{"type":144,"value":772},"vercel connect create https:\u002F\u002Fmcp.linear.app\u002Fmcp",{"type":144,"value":774},"). The connector ID then takes the form ",{"type":138,"tag":217,"props":776,"children":778},{"className":777},[],[779],{"type":144,"value":780},"mcp.\u003Chost>\u002F\u003Cname>",{"type":144,"value":782}," (for example ",{"type":138,"tag":217,"props":784,"children":786},{"className":785},[],[787],{"type":144,"value":788},"mcp.linear.app\u002Fmyagent",{"type":144,"value":413},{"type":138,"tag":613,"props":791,"children":793},{"id":792},"example-send-a-slack-message-using-curl",[794],{"type":144,"value":795},"Example: Send a Slack message using curl",{"type":138,"tag":420,"props":797,"children":799},{"className":422,"code":798,"language":424,"meta":425,"style":425},"TOKEN=$(vercel connect token \u003Cconnector>)\ncurl -X POST https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}'\n",[800],{"type":138,"tag":217,"props":801,"children":802},{"__ignoreMap":425},[803,845,873,905,929],{"type":138,"tag":431,"props":804,"children":805},{"class":433,"line":434},[806,811,816,820,824,828,832,836,840],{"type":138,"tag":431,"props":807,"children":808},{"style":475},[809],{"type":144,"value":810},"TOKEN",{"type":138,"tag":431,"props":812,"children":813},{"style":464},[814],{"type":144,"value":815},"=$(",{"type":138,"tag":431,"props":817,"children":818},{"style":448},[819],{"type":144,"value":8},{"type":138,"tag":431,"props":821,"children":822},{"style":453},[823],{"type":144,"value":456},{"type":138,"tag":431,"props":825,"children":826},{"style":453},[827],{"type":144,"value":551},{"type":138,"tag":431,"props":829,"children":830},{"style":464},[831],{"type":144,"value":467},{"type":138,"tag":431,"props":833,"children":834},{"style":453},[835],{"type":144,"value":560},{"type":138,"tag":431,"props":837,"children":838},{"style":475},[839],{"type":144,"value":565},{"type":138,"tag":431,"props":841,"children":842},{"style":464},[843],{"type":144,"value":844},">)\n",{"type":138,"tag":431,"props":846,"children":847},{"class":433,"line":444},[848,853,858,863,868],{"type":138,"tag":431,"props":849,"children":850},{"style":448},[851],{"type":144,"value":852},"curl",{"type":138,"tag":431,"props":854,"children":855},{"style":453},[856],{"type":144,"value":857}," -X",{"type":138,"tag":431,"props":859,"children":860},{"style":453},[861],{"type":144,"value":862}," POST",{"type":138,"tag":431,"props":864,"children":865},{"style":453},[866],{"type":144,"value":867}," https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage",{"type":138,"tag":431,"props":869,"children":870},{"style":475},[871],{"type":144,"value":872}," \\\n",{"type":138,"tag":431,"props":874,"children":875},{"class":433,"line":486},[876,881,886,891,896,901],{"type":138,"tag":431,"props":877,"children":878},{"style":453},[879],{"type":144,"value":880},"  -H",{"type":138,"tag":431,"props":882,"children":883},{"style":464},[884],{"type":144,"value":885}," \"",{"type":138,"tag":431,"props":887,"children":888},{"style":453},[889],{"type":144,"value":890},"Authorization: Bearer ",{"type":138,"tag":431,"props":892,"children":893},{"style":475},[894],{"type":144,"value":895},"$TOKEN",{"type":138,"tag":431,"props":897,"children":898},{"style":464},[899],{"type":144,"value":900},"\"",{"type":138,"tag":431,"props":902,"children":903},{"style":475},[904],{"type":144,"value":872},{"type":138,"tag":431,"props":906,"children":907},{"class":433,"line":496},[908,912,916,921,925],{"type":138,"tag":431,"props":909,"children":910},{"style":453},[911],{"type":144,"value":880},{"type":138,"tag":431,"props":913,"children":914},{"style":464},[915],{"type":144,"value":885},{"type":138,"tag":431,"props":917,"children":918},{"style":453},[919],{"type":144,"value":920},"Content-Type: application\u002Fjson",{"type":138,"tag":431,"props":922,"children":923},{"style":464},[924],{"type":144,"value":900},{"type":138,"tag":431,"props":926,"children":927},{"style":475},[928],{"type":144,"value":872},{"type":138,"tag":431,"props":930,"children":931},{"class":433,"line":40},[932,937,942,947],{"type":138,"tag":431,"props":933,"children":934},{"style":453},[935],{"type":144,"value":936},"  -d",{"type":138,"tag":431,"props":938,"children":939},{"style":464},[940],{"type":144,"value":941}," '",{"type":138,"tag":431,"props":943,"children":944},{"style":453},[945],{"type":144,"value":946},"{\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}",{"type":138,"tag":431,"props":948,"children":949},{"style":464},[950],{"type":144,"value":951},"'\n",{"type":138,"tag":321,"props":953,"children":955},{"id":954},"_2-javascripttypescript-sdk-vercelconnect",[956,958,963],{"type":144,"value":957},"2. JavaScript\u002FTypeScript SDK (",{"type":138,"tag":217,"props":959,"children":961},{"className":960},[],[962],{"type":144,"value":48},{"type":144,"value":718},{"type":138,"tag":154,"props":965,"children":966},{},[967,969,974],{"type":144,"value":968},"For JavaScript\u002FTypeScript code, use the ",{"type":138,"tag":217,"props":970,"children":972},{"className":971},[],[973],{"type":144,"value":48},{"type":144,"value":975}," package directly:",{"type":138,"tag":420,"props":977,"children":981},{"className":978,"code":979,"language":980,"meta":425,"style":425},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { getToken } from \"@vercel\u002Fconnect\";\n\n\u002F\u002F Get a token for Slack bot\nconst token = await getToken(\"scl_abc123\", {\n  subject: { type: \"app\" }, \u002F\u002F If sending as a bot, or else use \"user\"\n});\n\n\u002F\u002F Use the token\nconst response = await fetch(\"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${token}`,\n    \"Content-Type\": \"application\u002Fjson\",\n  },\n  body: JSON.stringify({\n    channel: \"C1234567890\",\n    text: \"Hello from Vercel Connect!\",\n  }),\n});\n","typescript",[982],{"type":138,"tag":217,"props":983,"children":984},{"__ignoreMap":425},[985,1031,1038,1046,1103,1152,1168,1175,1183,1234,1265,1282,1323,1362,1371,1407,1437,1467,1484],{"type":138,"tag":431,"props":986,"children":987},{"class":433,"line":434},[988,994,999,1004,1009,1014,1018,1022,1026],{"type":138,"tag":431,"props":989,"children":991},{"style":990},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[992],{"type":144,"value":993},"import",{"type":138,"tag":431,"props":995,"children":996},{"style":464},[997],{"type":144,"value":998}," {",{"type":138,"tag":431,"props":1000,"children":1001},{"style":475},[1002],{"type":144,"value":1003}," getToken",{"type":138,"tag":431,"props":1005,"children":1006},{"style":464},[1007],{"type":144,"value":1008}," }",{"type":138,"tag":431,"props":1010,"children":1011},{"style":990},[1012],{"type":144,"value":1013}," from",{"type":138,"tag":431,"props":1015,"children":1016},{"style":464},[1017],{"type":144,"value":885},{"type":138,"tag":431,"props":1019,"children":1020},{"style":453},[1021],{"type":144,"value":48},{"type":138,"tag":431,"props":1023,"children":1024},{"style":464},[1025],{"type":144,"value":900},{"type":138,"tag":431,"props":1027,"children":1028},{"style":464},[1029],{"type":144,"value":1030},";\n",{"type":138,"tag":431,"props":1032,"children":1033},{"class":433,"line":444},[1034],{"type":138,"tag":431,"props":1035,"children":1036},{"emptyLinePlaceholder":490},[1037],{"type":144,"value":493},{"type":138,"tag":431,"props":1039,"children":1040},{"class":433,"line":486},[1041],{"type":138,"tag":431,"props":1042,"children":1043},{"style":438},[1044],{"type":144,"value":1045},"\u002F\u002F Get a token for Slack bot\n",{"type":138,"tag":431,"props":1047,"children":1048},{"class":433,"line":496},[1049,1055,1060,1065,1070,1075,1080,1084,1089,1093,1098],{"type":138,"tag":431,"props":1050,"children":1052},{"style":1051},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1053],{"type":144,"value":1054},"const",{"type":138,"tag":431,"props":1056,"children":1057},{"style":475},[1058],{"type":144,"value":1059}," token ",{"type":138,"tag":431,"props":1061,"children":1062},{"style":464},[1063],{"type":144,"value":1064},"=",{"type":138,"tag":431,"props":1066,"children":1067},{"style":990},[1068],{"type":144,"value":1069}," await",{"type":138,"tag":431,"props":1071,"children":1073},{"style":1072},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1074],{"type":144,"value":1003},{"type":138,"tag":431,"props":1076,"children":1077},{"style":475},[1078],{"type":144,"value":1079},"(",{"type":138,"tag":431,"props":1081,"children":1082},{"style":464},[1083],{"type":144,"value":900},{"type":138,"tag":431,"props":1085,"children":1086},{"style":453},[1087],{"type":144,"value":1088},"scl_abc123",{"type":138,"tag":431,"props":1090,"children":1091},{"style":464},[1092],{"type":144,"value":900},{"type":138,"tag":431,"props":1094,"children":1095},{"style":464},[1096],{"type":144,"value":1097},",",{"type":138,"tag":431,"props":1099,"children":1100},{"style":464},[1101],{"type":144,"value":1102}," {\n",{"type":138,"tag":431,"props":1104,"children":1105},{"class":433,"line":40},[1106,1112,1117,1121,1126,1130,1134,1138,1142,1147],{"type":138,"tag":431,"props":1107,"children":1109},{"style":1108},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1110],{"type":144,"value":1111},"  subject",{"type":138,"tag":431,"props":1113,"children":1114},{"style":464},[1115],{"type":144,"value":1116},":",{"type":138,"tag":431,"props":1118,"children":1119},{"style":464},[1120],{"type":144,"value":998},{"type":138,"tag":431,"props":1122,"children":1123},{"style":1108},[1124],{"type":144,"value":1125}," type",{"type":138,"tag":431,"props":1127,"children":1128},{"style":464},[1129],{"type":144,"value":1116},{"type":138,"tag":431,"props":1131,"children":1132},{"style":464},[1133],{"type":144,"value":885},{"type":138,"tag":431,"props":1135,"children":1136},{"style":453},[1137],{"type":144,"value":252},{"type":138,"tag":431,"props":1139,"children":1140},{"style":464},[1141],{"type":144,"value":900},{"type":138,"tag":431,"props":1143,"children":1144},{"style":464},[1145],{"type":144,"value":1146}," },",{"type":138,"tag":431,"props":1148,"children":1149},{"style":438},[1150],{"type":144,"value":1151}," \u002F\u002F If sending as a bot, or else use \"user\"\n",{"type":138,"tag":431,"props":1153,"children":1154},{"class":433,"line":93},[1155,1160,1164],{"type":138,"tag":431,"props":1156,"children":1157},{"style":464},[1158],{"type":144,"value":1159},"}",{"type":138,"tag":431,"props":1161,"children":1162},{"style":475},[1163],{"type":144,"value":718},{"type":138,"tag":431,"props":1165,"children":1166},{"style":464},[1167],{"type":144,"value":1030},{"type":138,"tag":431,"props":1169,"children":1170},{"class":433,"line":528},[1171],{"type":138,"tag":431,"props":1172,"children":1173},{"emptyLinePlaceholder":490},[1174],{"type":144,"value":493},{"type":138,"tag":431,"props":1176,"children":1177},{"class":433,"line":537},[1178],{"type":138,"tag":431,"props":1179,"children":1180},{"style":438},[1181],{"type":144,"value":1182},"\u002F\u002F Use the token\n",{"type":138,"tag":431,"props":1184,"children":1186},{"class":433,"line":1185},9,[1187,1191,1196,1200,1204,1209,1213,1217,1222,1226,1230],{"type":138,"tag":431,"props":1188,"children":1189},{"style":1051},[1190],{"type":144,"value":1054},{"type":138,"tag":431,"props":1192,"children":1193},{"style":475},[1194],{"type":144,"value":1195}," response ",{"type":138,"tag":431,"props":1197,"children":1198},{"style":464},[1199],{"type":144,"value":1064},{"type":138,"tag":431,"props":1201,"children":1202},{"style":990},[1203],{"type":144,"value":1069},{"type":138,"tag":431,"props":1205,"children":1206},{"style":1072},[1207],{"type":144,"value":1208}," fetch",{"type":138,"tag":431,"props":1210,"children":1211},{"style":475},[1212],{"type":144,"value":1079},{"type":138,"tag":431,"props":1214,"children":1215},{"style":464},[1216],{"type":144,"value":900},{"type":138,"tag":431,"props":1218,"children":1219},{"style":453},[1220],{"type":144,"value":1221},"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage",{"type":138,"tag":431,"props":1223,"children":1224},{"style":464},[1225],{"type":144,"value":900},{"type":138,"tag":431,"props":1227,"children":1228},{"style":464},[1229],{"type":144,"value":1097},{"type":138,"tag":431,"props":1231,"children":1232},{"style":464},[1233],{"type":144,"value":1102},{"type":138,"tag":431,"props":1235,"children":1237},{"class":433,"line":1236},10,[1238,1243,1247,1251,1256,1260],{"type":138,"tag":431,"props":1239,"children":1240},{"style":1108},[1241],{"type":144,"value":1242},"  method",{"type":138,"tag":431,"props":1244,"children":1245},{"style":464},[1246],{"type":144,"value":1116},{"type":138,"tag":431,"props":1248,"children":1249},{"style":464},[1250],{"type":144,"value":885},{"type":138,"tag":431,"props":1252,"children":1253},{"style":453},[1254],{"type":144,"value":1255},"POST",{"type":138,"tag":431,"props":1257,"children":1258},{"style":464},[1259],{"type":144,"value":900},{"type":138,"tag":431,"props":1261,"children":1262},{"style":464},[1263],{"type":144,"value":1264},",\n",{"type":138,"tag":431,"props":1266,"children":1268},{"class":433,"line":1267},11,[1269,1274,1278],{"type":138,"tag":431,"props":1270,"children":1271},{"style":1108},[1272],{"type":144,"value":1273},"  headers",{"type":138,"tag":431,"props":1275,"children":1276},{"style":464},[1277],{"type":144,"value":1116},{"type":138,"tag":431,"props":1279,"children":1280},{"style":464},[1281],{"type":144,"value":1102},{"type":138,"tag":431,"props":1283,"children":1285},{"class":433,"line":1284},12,[1286,1291,1295,1300,1305,1310,1314,1319],{"type":138,"tag":431,"props":1287,"children":1288},{"style":1108},[1289],{"type":144,"value":1290},"    Authorization",{"type":138,"tag":431,"props":1292,"children":1293},{"style":464},[1294],{"type":144,"value":1116},{"type":138,"tag":431,"props":1296,"children":1297},{"style":464},[1298],{"type":144,"value":1299}," `",{"type":138,"tag":431,"props":1301,"children":1302},{"style":453},[1303],{"type":144,"value":1304},"Bearer ",{"type":138,"tag":431,"props":1306,"children":1307},{"style":464},[1308],{"type":144,"value":1309},"${",{"type":138,"tag":431,"props":1311,"children":1312},{"style":475},[1313],{"type":144,"value":79},{"type":138,"tag":431,"props":1315,"children":1316},{"style":464},[1317],{"type":144,"value":1318},"}`",{"type":138,"tag":431,"props":1320,"children":1321},{"style":464},[1322],{"type":144,"value":1264},{"type":138,"tag":431,"props":1324,"children":1326},{"class":433,"line":1325},13,[1327,1332,1337,1341,1345,1349,1354,1358],{"type":138,"tag":431,"props":1328,"children":1329},{"style":464},[1330],{"type":144,"value":1331},"    \"",{"type":138,"tag":431,"props":1333,"children":1334},{"style":1108},[1335],{"type":144,"value":1336},"Content-Type",{"type":138,"tag":431,"props":1338,"children":1339},{"style":464},[1340],{"type":144,"value":900},{"type":138,"tag":431,"props":1342,"children":1343},{"style":464},[1344],{"type":144,"value":1116},{"type":138,"tag":431,"props":1346,"children":1347},{"style":464},[1348],{"type":144,"value":885},{"type":138,"tag":431,"props":1350,"children":1351},{"style":453},[1352],{"type":144,"value":1353},"application\u002Fjson",{"type":138,"tag":431,"props":1355,"children":1356},{"style":464},[1357],{"type":144,"value":900},{"type":138,"tag":431,"props":1359,"children":1360},{"style":464},[1361],{"type":144,"value":1264},{"type":138,"tag":431,"props":1363,"children":1365},{"class":433,"line":1364},14,[1366],{"type":138,"tag":431,"props":1367,"children":1368},{"style":464},[1369],{"type":144,"value":1370},"  },\n",{"type":138,"tag":431,"props":1372,"children":1374},{"class":433,"line":1373},15,[1375,1380,1384,1389,1393,1398,1402],{"type":138,"tag":431,"props":1376,"children":1377},{"style":1108},[1378],{"type":144,"value":1379},"  body",{"type":138,"tag":431,"props":1381,"children":1382},{"style":464},[1383],{"type":144,"value":1116},{"type":138,"tag":431,"props":1385,"children":1386},{"style":475},[1387],{"type":144,"value":1388}," JSON",{"type":138,"tag":431,"props":1390,"children":1391},{"style":464},[1392],{"type":144,"value":240},{"type":138,"tag":431,"props":1394,"children":1395},{"style":1072},[1396],{"type":144,"value":1397},"stringify",{"type":138,"tag":431,"props":1399,"children":1400},{"style":475},[1401],{"type":144,"value":1079},{"type":138,"tag":431,"props":1403,"children":1404},{"style":464},[1405],{"type":144,"value":1406},"{\n",{"type":138,"tag":431,"props":1408,"children":1410},{"class":433,"line":1409},16,[1411,1416,1420,1424,1429,1433],{"type":138,"tag":431,"props":1412,"children":1413},{"style":1108},[1414],{"type":144,"value":1415},"    channel",{"type":138,"tag":431,"props":1417,"children":1418},{"style":464},[1419],{"type":144,"value":1116},{"type":138,"tag":431,"props":1421,"children":1422},{"style":464},[1423],{"type":144,"value":885},{"type":138,"tag":431,"props":1425,"children":1426},{"style":453},[1427],{"type":144,"value":1428},"C1234567890",{"type":138,"tag":431,"props":1430,"children":1431},{"style":464},[1432],{"type":144,"value":900},{"type":138,"tag":431,"props":1434,"children":1435},{"style":464},[1436],{"type":144,"value":1264},{"type":138,"tag":431,"props":1438,"children":1440},{"class":433,"line":1439},17,[1441,1446,1450,1454,1459,1463],{"type":138,"tag":431,"props":1442,"children":1443},{"style":1108},[1444],{"type":144,"value":1445},"    text",{"type":138,"tag":431,"props":1447,"children":1448},{"style":464},[1449],{"type":144,"value":1116},{"type":138,"tag":431,"props":1451,"children":1452},{"style":464},[1453],{"type":144,"value":885},{"type":138,"tag":431,"props":1455,"children":1456},{"style":453},[1457],{"type":144,"value":1458},"Hello from Vercel Connect!",{"type":138,"tag":431,"props":1460,"children":1461},{"style":464},[1462],{"type":144,"value":900},{"type":138,"tag":431,"props":1464,"children":1465},{"style":464},[1466],{"type":144,"value":1264},{"type":138,"tag":431,"props":1468,"children":1470},{"class":433,"line":1469},18,[1471,1476,1480],{"type":138,"tag":431,"props":1472,"children":1473},{"style":464},[1474],{"type":144,"value":1475},"  }",{"type":138,"tag":431,"props":1477,"children":1478},{"style":475},[1479],{"type":144,"value":718},{"type":138,"tag":431,"props":1481,"children":1482},{"style":464},[1483],{"type":144,"value":1264},{"type":138,"tag":431,"props":1485,"children":1487},{"class":433,"line":1486},19,[1488,1492,1496],{"type":138,"tag":431,"props":1489,"children":1490},{"style":464},[1491],{"type":144,"value":1159},{"type":138,"tag":431,"props":1493,"children":1494},{"style":475},[1495],{"type":144,"value":718},{"type":138,"tag":431,"props":1497,"children":1498},{"style":464},[1499],{"type":144,"value":1030},{"type":138,"tag":154,"props":1501,"children":1502},{},[1503,1505,1511,1513,1519],{"type":144,"value":1504},"The SDK uses the user's Vercel OIDC token to authenticate. The user should have run ",{"type":138,"tag":217,"props":1506,"children":1508},{"className":1507},[],[1509],{"type":144,"value":1510},"vc env pull",{"type":144,"value":1512}," to pull the OIDC token env variables locally (or ",{"type":138,"tag":217,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":144,"value":1518},"vc link",{"type":144,"value":1520}," pulls it automatically)",{"type":138,"tag":613,"props":1522,"children":1524},{"id":1523},"eve-agents-vercelconnecteve",[1525,1527],{"type":144,"value":1526},"Eve agents — ",{"type":138,"tag":217,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":144,"value":49},{"type":138,"tag":154,"props":1533,"children":1534},{},[1535,1537,1545,1547,1552,1554,1559],{"type":144,"value":1536},"When the project is built on ",{"type":138,"tag":1538,"props":1539,"children":1543},"a",{"href":1540,"rel":1541},"https:\u002F\u002Feve.dev",[1542],"nofollow",[1544],{"type":144,"value":117},{"type":144,"value":1546},", prefer the ",{"type":138,"tag":217,"props":1548,"children":1550},{"className":1549},[],[1551],{"type":144,"value":85},{"type":144,"value":1553}," helper over calling ",{"type":138,"tag":217,"props":1555,"children":1557},{"className":1556},[],[1558],{"type":144,"value":112},{"type":144,"value":1560}," directly inside connection definitions. The helper wires the full token \u002F start-authorization \u002F complete-authorization lifecycle into Eve's connection runtime, so a Vercel Connect-backed connection becomes a single declaration:",{"type":138,"tag":420,"props":1562,"children":1564},{"className":978,"code":1563,"language":980,"meta":425,"style":425},"\u002F\u002F agent\u002Fconnections\u002Flinear.ts\nimport { defineMcpClientConnection } from \"eve\u002Fconnections\";\nimport { connect } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default defineMcpClientConnection({\n  url: \"https:\u002F\u002Fmcp.linear.app\u002Fmcp\",\n  description: \"Linear workspace — issues, projects, cycles, and comments.\",\n  auth: connect(\"mcp.linear.app\u002Fmyagent\"),\n});\n",[1565],{"type":138,"tag":217,"props":1566,"children":1567},{"__ignoreMap":425},[1568,1576,1617,1656,1663,1688,1717,1746,1786],{"type":138,"tag":431,"props":1569,"children":1570},{"class":433,"line":434},[1571],{"type":138,"tag":431,"props":1572,"children":1573},{"style":438},[1574],{"type":144,"value":1575},"\u002F\u002F agent\u002Fconnections\u002Flinear.ts\n",{"type":138,"tag":431,"props":1577,"children":1578},{"class":433,"line":444},[1579,1583,1587,1592,1596,1600,1604,1609,1613],{"type":138,"tag":431,"props":1580,"children":1581},{"style":990},[1582],{"type":144,"value":993},{"type":138,"tag":431,"props":1584,"children":1585},{"style":464},[1586],{"type":144,"value":998},{"type":138,"tag":431,"props":1588,"children":1589},{"style":475},[1590],{"type":144,"value":1591}," defineMcpClientConnection",{"type":138,"tag":431,"props":1593,"children":1594},{"style":464},[1595],{"type":144,"value":1008},{"type":138,"tag":431,"props":1597,"children":1598},{"style":990},[1599],{"type":144,"value":1013},{"type":138,"tag":431,"props":1601,"children":1602},{"style":464},[1603],{"type":144,"value":885},{"type":138,"tag":431,"props":1605,"children":1606},{"style":453},[1607],{"type":144,"value":1608},"eve\u002Fconnections",{"type":138,"tag":431,"props":1610,"children":1611},{"style":464},[1612],{"type":144,"value":900},{"type":138,"tag":431,"props":1614,"children":1615},{"style":464},[1616],{"type":144,"value":1030},{"type":138,"tag":431,"props":1618,"children":1619},{"class":433,"line":486},[1620,1624,1628,1632,1636,1640,1644,1648,1652],{"type":138,"tag":431,"props":1621,"children":1622},{"style":990},[1623],{"type":144,"value":993},{"type":138,"tag":431,"props":1625,"children":1626},{"style":464},[1627],{"type":144,"value":998},{"type":138,"tag":431,"props":1629,"children":1630},{"style":475},[1631],{"type":144,"value":456},{"type":138,"tag":431,"props":1633,"children":1634},{"style":464},[1635],{"type":144,"value":1008},{"type":138,"tag":431,"props":1637,"children":1638},{"style":990},[1639],{"type":144,"value":1013},{"type":138,"tag":431,"props":1641,"children":1642},{"style":464},[1643],{"type":144,"value":885},{"type":138,"tag":431,"props":1645,"children":1646},{"style":453},[1647],{"type":144,"value":49},{"type":138,"tag":431,"props":1649,"children":1650},{"style":464},[1651],{"type":144,"value":900},{"type":138,"tag":431,"props":1653,"children":1654},{"style":464},[1655],{"type":144,"value":1030},{"type":138,"tag":431,"props":1657,"children":1658},{"class":433,"line":496},[1659],{"type":138,"tag":431,"props":1660,"children":1661},{"emptyLinePlaceholder":490},[1662],{"type":144,"value":493},{"type":138,"tag":431,"props":1664,"children":1665},{"class":433,"line":40},[1666,1671,1676,1680,1684],{"type":138,"tag":431,"props":1667,"children":1668},{"style":990},[1669],{"type":144,"value":1670},"export",{"type":138,"tag":431,"props":1672,"children":1673},{"style":990},[1674],{"type":144,"value":1675}," default",{"type":138,"tag":431,"props":1677,"children":1678},{"style":1072},[1679],{"type":144,"value":1591},{"type":138,"tag":431,"props":1681,"children":1682},{"style":475},[1683],{"type":144,"value":1079},{"type":138,"tag":431,"props":1685,"children":1686},{"style":464},[1687],{"type":144,"value":1406},{"type":138,"tag":431,"props":1689,"children":1690},{"class":433,"line":93},[1691,1696,1700,1704,1709,1713],{"type":138,"tag":431,"props":1692,"children":1693},{"style":1108},[1694],{"type":144,"value":1695},"  url",{"type":138,"tag":431,"props":1697,"children":1698},{"style":464},[1699],{"type":144,"value":1116},{"type":138,"tag":431,"props":1701,"children":1702},{"style":464},[1703],{"type":144,"value":885},{"type":138,"tag":431,"props":1705,"children":1706},{"style":453},[1707],{"type":144,"value":1708},"https:\u002F\u002Fmcp.linear.app\u002Fmcp",{"type":138,"tag":431,"props":1710,"children":1711},{"style":464},[1712],{"type":144,"value":900},{"type":138,"tag":431,"props":1714,"children":1715},{"style":464},[1716],{"type":144,"value":1264},{"type":138,"tag":431,"props":1718,"children":1719},{"class":433,"line":528},[1720,1725,1729,1733,1738,1742],{"type":138,"tag":431,"props":1721,"children":1722},{"style":1108},[1723],{"type":144,"value":1724},"  description",{"type":138,"tag":431,"props":1726,"children":1727},{"style":464},[1728],{"type":144,"value":1116},{"type":138,"tag":431,"props":1730,"children":1731},{"style":464},[1732],{"type":144,"value":885},{"type":138,"tag":431,"props":1734,"children":1735},{"style":453},[1736],{"type":144,"value":1737},"Linear workspace — issues, projects, cycles, and comments.",{"type":138,"tag":431,"props":1739,"children":1740},{"style":464},[1741],{"type":144,"value":900},{"type":138,"tag":431,"props":1743,"children":1744},{"style":464},[1745],{"type":144,"value":1264},{"type":138,"tag":431,"props":1747,"children":1748},{"class":433,"line":537},[1749,1754,1758,1762,1766,1770,1774,1778,1782],{"type":138,"tag":431,"props":1750,"children":1751},{"style":1108},[1752],{"type":144,"value":1753},"  auth",{"type":138,"tag":431,"props":1755,"children":1756},{"style":464},[1757],{"type":144,"value":1116},{"type":138,"tag":431,"props":1759,"children":1760},{"style":1072},[1761],{"type":144,"value":456},{"type":138,"tag":431,"props":1763,"children":1764},{"style":475},[1765],{"type":144,"value":1079},{"type":138,"tag":431,"props":1767,"children":1768},{"style":464},[1769],{"type":144,"value":900},{"type":138,"tag":431,"props":1771,"children":1772},{"style":453},[1773],{"type":144,"value":788},{"type":138,"tag":431,"props":1775,"children":1776},{"style":464},[1777],{"type":144,"value":900},{"type":138,"tag":431,"props":1779,"children":1780},{"style":475},[1781],{"type":144,"value":718},{"type":138,"tag":431,"props":1783,"children":1784},{"style":464},[1785],{"type":144,"value":1264},{"type":138,"tag":431,"props":1787,"children":1788},{"class":433,"line":1185},[1789,1793,1797],{"type":138,"tag":431,"props":1790,"children":1791},{"style":464},[1792],{"type":144,"value":1159},{"type":138,"tag":431,"props":1794,"children":1795},{"style":475},[1796],{"type":144,"value":718},{"type":138,"tag":431,"props":1798,"children":1799},{"style":464},[1800],{"type":144,"value":1030},{"type":138,"tag":154,"props":1802,"children":1803},{},[1804],{"type":144,"value":1805},"Key points for the agent:",{"type":138,"tag":171,"props":1807,"children":1808},{},[1809,1830,1851,1880],{"type":138,"tag":175,"props":1810,"children":1811},{},[1812,1814,1820,1822,1828],{"type":144,"value":1813},"Omit ",{"type":138,"tag":217,"props":1815,"children":1817},{"className":1816},[],[1818],{"type":144,"value":1819},"principalType",{"type":144,"value":1821}," for the default per-user OAuth flow, or set ",{"type":138,"tag":217,"props":1823,"children":1825},{"className":1824},[],[1826],{"type":144,"value":1827},"\"app\"",{"type":144,"value":1829}," for app-scoped tokens (no consent flow — fail terminally if not installed).",{"type":138,"tag":175,"props":1831,"children":1832},{},[1833,1835,1841,1843,1849],{"type":144,"value":1834},"Pass the connector id directly with ",{"type":138,"tag":217,"props":1836,"children":1838},{"className":1837},[],[1839],{"type":144,"value":1840},"connect(\"mcp.linear.app\u002Fmyagent\")",{"type":144,"value":1842},", or use ",{"type":138,"tag":217,"props":1844,"children":1846},{"className":1845},[],[1847],{"type":144,"value":1848},"connect({ connector: \"mcp.linear.app\u002Fmyagent\" })",{"type":144,"value":1850}," when you need options.",{"type":138,"tag":175,"props":1852,"children":1853},{},[1854,1856,1862,1864,1870,1872,1878],{"type":144,"value":1855},"For scopes, audiences, or ",{"type":138,"tag":217,"props":1857,"children":1859},{"className":1858},[],[1860],{"type":144,"value":1861},"authorizationDetails",{"type":144,"value":1863},", pass them through ",{"type":138,"tag":217,"props":1865,"children":1867},{"className":1866},[],[1868],{"type":144,"value":1869},"tokenParams",{"type":144,"value":1871},". For a custom challenge prompt, pass ",{"type":138,"tag":217,"props":1873,"children":1875},{"className":1874},[],[1876],{"type":144,"value":1877},"instructions",{"type":144,"value":1879},". Both are optional.",{"type":138,"tag":175,"props":1881,"children":1882},{},[1883,1888,1890,1895,1897,1902],{"type":138,"tag":217,"props":1884,"children":1886},{"className":1885},[],[1887],{"type":144,"value":128},{"type":144,"value":1889}," is an optional peer dependency, so the rest of ",{"type":138,"tag":217,"props":1891,"children":1893},{"className":1892},[],[1894],{"type":144,"value":48},{"type":144,"value":1896}," (CLI, ",{"type":138,"tag":217,"props":1898,"children":1900},{"className":1899},[],[1901],{"type":144,"value":112},{"type":144,"value":1903},", etc.) is unaffected for non-Eve consumers.",{"type":138,"tag":1905,"props":1906,"children":1908},"h5",{"id":1907},"slack-channel-connectslackcredentials",[1909,1911],{"type":144,"value":1910},"Slack channel — ",{"type":138,"tag":217,"props":1912,"children":1914},{"className":1913},[],[1915],{"type":144,"value":1916},"connectSlackCredentials",{"type":138,"tag":154,"props":1918,"children":1919},{},[1920,1922,1928,1930,1936,1938,1943,1945,1951,1953,1958,1960,1966,1968,1974],{"type":144,"value":1921},"For Eve Slack channels (",{"type":138,"tag":217,"props":1923,"children":1925},{"className":1924},[],[1926],{"type":144,"value":1927},"agent\u002Fchannels\u002Fslack.ts",{"type":144,"value":1929},"), use ",{"type":138,"tag":217,"props":1931,"children":1933},{"className":1932},[],[1934],{"type":144,"value":1935},"connectSlackCredentials(connector)",{"type":144,"value":1937}," from ",{"type":138,"tag":217,"props":1939,"children":1941},{"className":1940},[],[1942],{"type":144,"value":49},{"type":144,"value":1944},". It returns a complete ",{"type":138,"tag":217,"props":1946,"children":1948},{"className":1947},[],[1949],{"type":144,"value":1950},"SlackChannelCredentials",{"type":144,"value":1952}," object — both the bot token and inbound webhook verification are handled by Vercel Connect, so you do ",{"type":138,"tag":213,"props":1954,"children":1955},{},[1956],{"type":144,"value":1957},"not",{"type":144,"value":1959}," need ",{"type":138,"tag":217,"props":1961,"children":1963},{"className":1962},[],[1964],{"type":144,"value":1965},"SLACK_BOT_TOKEN",{"type":144,"value":1967}," or ",{"type":138,"tag":217,"props":1969,"children":1971},{"className":1970},[],[1972],{"type":144,"value":1973},"SLACK_SIGNING_SECRET",{"type":144,"value":1975}," env vars:",{"type":138,"tag":420,"props":1977,"children":1979},{"className":978,"code":1978,"language":980,"meta":425,"style":425},"\u002F\u002F agent\u002Fchannels\u002Fslack.ts\nimport { slackRoute } from \"eve\u002Fchannels\u002Fslack\";\nimport { connectSlackCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default slackRoute({\n  credentials: connectSlackCredentials(\"slack\u002Fmyagent\"),\n});\n",[1980],{"type":138,"tag":217,"props":1981,"children":1982},{"__ignoreMap":425},[1983,1991,2032,2072,2079,2102,2143],{"type":138,"tag":431,"props":1984,"children":1985},{"class":433,"line":434},[1986],{"type":138,"tag":431,"props":1987,"children":1988},{"style":438},[1989],{"type":144,"value":1990},"\u002F\u002F agent\u002Fchannels\u002Fslack.ts\n",{"type":138,"tag":431,"props":1992,"children":1993},{"class":433,"line":444},[1994,1998,2002,2007,2011,2015,2019,2024,2028],{"type":138,"tag":431,"props":1995,"children":1996},{"style":990},[1997],{"type":144,"value":993},{"type":138,"tag":431,"props":1999,"children":2000},{"style":464},[2001],{"type":144,"value":998},{"type":138,"tag":431,"props":2003,"children":2004},{"style":475},[2005],{"type":144,"value":2006}," slackRoute",{"type":138,"tag":431,"props":2008,"children":2009},{"style":464},[2010],{"type":144,"value":1008},{"type":138,"tag":431,"props":2012,"children":2013},{"style":990},[2014],{"type":144,"value":1013},{"type":138,"tag":431,"props":2016,"children":2017},{"style":464},[2018],{"type":144,"value":885},{"type":138,"tag":431,"props":2020,"children":2021},{"style":453},[2022],{"type":144,"value":2023},"eve\u002Fchannels\u002Fslack",{"type":138,"tag":431,"props":2025,"children":2026},{"style":464},[2027],{"type":144,"value":900},{"type":138,"tag":431,"props":2029,"children":2030},{"style":464},[2031],{"type":144,"value":1030},{"type":138,"tag":431,"props":2033,"children":2034},{"class":433,"line":486},[2035,2039,2043,2048,2052,2056,2060,2064,2068],{"type":138,"tag":431,"props":2036,"children":2037},{"style":990},[2038],{"type":144,"value":993},{"type":138,"tag":431,"props":2040,"children":2041},{"style":464},[2042],{"type":144,"value":998},{"type":138,"tag":431,"props":2044,"children":2045},{"style":475},[2046],{"type":144,"value":2047}," connectSlackCredentials",{"type":138,"tag":431,"props":2049,"children":2050},{"style":464},[2051],{"type":144,"value":1008},{"type":138,"tag":431,"props":2053,"children":2054},{"style":990},[2055],{"type":144,"value":1013},{"type":138,"tag":431,"props":2057,"children":2058},{"style":464},[2059],{"type":144,"value":885},{"type":138,"tag":431,"props":2061,"children":2062},{"style":453},[2063],{"type":144,"value":49},{"type":138,"tag":431,"props":2065,"children":2066},{"style":464},[2067],{"type":144,"value":900},{"type":138,"tag":431,"props":2069,"children":2070},{"style":464},[2071],{"type":144,"value":1030},{"type":138,"tag":431,"props":2073,"children":2074},{"class":433,"line":496},[2075],{"type":138,"tag":431,"props":2076,"children":2077},{"emptyLinePlaceholder":490},[2078],{"type":144,"value":493},{"type":138,"tag":431,"props":2080,"children":2081},{"class":433,"line":40},[2082,2086,2090,2094,2098],{"type":138,"tag":431,"props":2083,"children":2084},{"style":990},[2085],{"type":144,"value":1670},{"type":138,"tag":431,"props":2087,"children":2088},{"style":990},[2089],{"type":144,"value":1675},{"type":138,"tag":431,"props":2091,"children":2092},{"style":1072},[2093],{"type":144,"value":2006},{"type":138,"tag":431,"props":2095,"children":2096},{"style":475},[2097],{"type":144,"value":1079},{"type":138,"tag":431,"props":2099,"children":2100},{"style":464},[2101],{"type":144,"value":1406},{"type":138,"tag":431,"props":2103,"children":2104},{"class":433,"line":93},[2105,2110,2114,2118,2122,2126,2131,2135,2139],{"type":138,"tag":431,"props":2106,"children":2107},{"style":1108},[2108],{"type":144,"value":2109},"  credentials",{"type":138,"tag":431,"props":2111,"children":2112},{"style":464},[2113],{"type":144,"value":1116},{"type":138,"tag":431,"props":2115,"children":2116},{"style":1072},[2117],{"type":144,"value":2047},{"type":138,"tag":431,"props":2119,"children":2120},{"style":475},[2121],{"type":144,"value":1079},{"type":138,"tag":431,"props":2123,"children":2124},{"style":464},[2125],{"type":144,"value":900},{"type":138,"tag":431,"props":2127,"children":2128},{"style":453},[2129],{"type":144,"value":2130},"slack\u002Fmyagent",{"type":138,"tag":431,"props":2132,"children":2133},{"style":464},[2134],{"type":144,"value":900},{"type":138,"tag":431,"props":2136,"children":2137},{"style":475},[2138],{"type":144,"value":718},{"type":138,"tag":431,"props":2140,"children":2141},{"style":464},[2142],{"type":144,"value":1264},{"type":138,"tag":431,"props":2144,"children":2145},{"class":433,"line":528},[2146,2150,2154],{"type":138,"tag":431,"props":2147,"children":2148},{"style":464},[2149],{"type":144,"value":1159},{"type":138,"tag":431,"props":2151,"children":2152},{"style":475},[2153],{"type":144,"value":718},{"type":138,"tag":431,"props":2155,"children":2156},{"style":464},[2157],{"type":144,"value":1030},{"type":138,"tag":154,"props":2159,"children":2160},{},[2161],{"type":144,"value":2162},"What the helper wires up:",{"type":138,"tag":171,"props":2164,"children":2165},{},[2166,2185],{"type":138,"tag":175,"props":2167,"children":2168},{},[2169,2175,2177,2183],{"type":138,"tag":217,"props":2170,"children":2172},{"className":2171},[],[2173],{"type":144,"value":2174},"botToken",{"type":144,"value":2176},": a function that calls ",{"type":138,"tag":217,"props":2178,"children":2180},{"className":2179},[],[2181],{"type":144,"value":2182},"getToken(connector, { subject: { type: \"app\" } })",{"type":144,"value":2184}," on each inbound webhook, so token rotation, refresh, and multi-workspace tenancy are handled server-side.",{"type":138,"tag":175,"props":2186,"children":2187},{},[2188,2194,2196,2202],{"type":138,"tag":217,"props":2189,"children":2191},{"className":2190},[],[2192],{"type":144,"value":2193},"webhookVerifier",{"type":144,"value":2195},": a Vercel OIDC verifier (",{"type":138,"tag":217,"props":2197,"children":2199},{"className":2198},[],[2200],{"type":144,"value":2201},"vercelOidc()",{"type":144,"value":2203},"). Vercel Connect forwards verified Slack webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Slack signing secret.",{"type":138,"tag":154,"props":2205,"children":2206},{},[2207],{"type":144,"value":2208},"Use this whenever the project is on Eve + Vercel Connect — it's the one-liner for both outbound posts and inbound webhook auth.",{"type":138,"tag":1905,"props":2210,"children":2212},{"id":2211},"github-channel-connectgithubcredentials",[2213,2215],{"type":144,"value":2214},"GitHub channel — ",{"type":138,"tag":217,"props":2216,"children":2218},{"className":2217},[],[2219],{"type":144,"value":2220},"connectGitHubCredentials",{"type":138,"tag":154,"props":2222,"children":2223},{},[2224,2226,2232,2233,2239,2240,2245,2246,2252,2254,2258,2259,2265,2266,2272,2273,2279,2281,2287],{"type":144,"value":2225},"For Eve GitHub channels (",{"type":138,"tag":217,"props":2227,"children":2229},{"className":2228},[],[2230],{"type":144,"value":2231},"agent\u002Fchannels\u002Fgithub.ts",{"type":144,"value":1929},{"type":138,"tag":217,"props":2234,"children":2236},{"className":2235},[],[2237],{"type":144,"value":2238},"connectGitHubCredentials(connector)",{"type":144,"value":1937},{"type":138,"tag":217,"props":2241,"children":2243},{"className":2242},[],[2244],{"type":144,"value":49},{"type":144,"value":1944},{"type":138,"tag":217,"props":2247,"children":2249},{"className":2248},[],[2250],{"type":144,"value":2251},"GitHubChannelCredentials",{"type":144,"value":2253}," object — Eve uses the installation token directly (skipping its native GitHub App JWT exchange) and Vercel Connect handles rotation, refresh, and multi-installation tenancy server-side. You do ",{"type":138,"tag":213,"props":2255,"children":2256},{},[2257],{"type":144,"value":1957},{"type":144,"value":1959},{"type":138,"tag":217,"props":2260,"children":2262},{"className":2261},[],[2263],{"type":144,"value":2264},"GITHUB_APP_PRIVATE_KEY",{"type":144,"value":284},{"type":138,"tag":217,"props":2267,"children":2269},{"className":2268},[],[2270],{"type":144,"value":2271},"GITHUB_APP_ID",{"type":144,"value":284},{"type":138,"tag":217,"props":2274,"children":2276},{"className":2275},[],[2277],{"type":144,"value":2278},"GITHUB_INSTALLATION_ID",{"type":144,"value":2280},", or ",{"type":138,"tag":217,"props":2282,"children":2284},{"className":2283},[],[2285],{"type":144,"value":2286},"GITHUB_WEBHOOK_SECRET",{"type":144,"value":1975},{"type":138,"tag":420,"props":2289,"children":2291},{"className":978,"code":2290,"language":980,"meta":425,"style":425},"\u002F\u002F agent\u002Fchannels\u002Fgithub.ts\nimport { githubRoute } from \"eve\u002Fchannels\u002Fgithub\";\nimport { connectGitHubCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default githubRoute({\n  credentials: connectGitHubCredentials(\"github\u002Fmyagent\"),\n});\n",[2292],{"type":138,"tag":217,"props":2293,"children":2294},{"__ignoreMap":425},[2295,2303,2344,2384,2391,2414,2454],{"type":138,"tag":431,"props":2296,"children":2297},{"class":433,"line":434},[2298],{"type":138,"tag":431,"props":2299,"children":2300},{"style":438},[2301],{"type":144,"value":2302},"\u002F\u002F agent\u002Fchannels\u002Fgithub.ts\n",{"type":138,"tag":431,"props":2304,"children":2305},{"class":433,"line":444},[2306,2310,2314,2319,2323,2327,2331,2336,2340],{"type":138,"tag":431,"props":2307,"children":2308},{"style":990},[2309],{"type":144,"value":993},{"type":138,"tag":431,"props":2311,"children":2312},{"style":464},[2313],{"type":144,"value":998},{"type":138,"tag":431,"props":2315,"children":2316},{"style":475},[2317],{"type":144,"value":2318}," githubRoute",{"type":138,"tag":431,"props":2320,"children":2321},{"style":464},[2322],{"type":144,"value":1008},{"type":138,"tag":431,"props":2324,"children":2325},{"style":990},[2326],{"type":144,"value":1013},{"type":138,"tag":431,"props":2328,"children":2329},{"style":464},[2330],{"type":144,"value":885},{"type":138,"tag":431,"props":2332,"children":2333},{"style":453},[2334],{"type":144,"value":2335},"eve\u002Fchannels\u002Fgithub",{"type":138,"tag":431,"props":2337,"children":2338},{"style":464},[2339],{"type":144,"value":900},{"type":138,"tag":431,"props":2341,"children":2342},{"style":464},[2343],{"type":144,"value":1030},{"type":138,"tag":431,"props":2345,"children":2346},{"class":433,"line":486},[2347,2351,2355,2360,2364,2368,2372,2376,2380],{"type":138,"tag":431,"props":2348,"children":2349},{"style":990},[2350],{"type":144,"value":993},{"type":138,"tag":431,"props":2352,"children":2353},{"style":464},[2354],{"type":144,"value":998},{"type":138,"tag":431,"props":2356,"children":2357},{"style":475},[2358],{"type":144,"value":2359}," connectGitHubCredentials",{"type":138,"tag":431,"props":2361,"children":2362},{"style":464},[2363],{"type":144,"value":1008},{"type":138,"tag":431,"props":2365,"children":2366},{"style":990},[2367],{"type":144,"value":1013},{"type":138,"tag":431,"props":2369,"children":2370},{"style":464},[2371],{"type":144,"value":885},{"type":138,"tag":431,"props":2373,"children":2374},{"style":453},[2375],{"type":144,"value":49},{"type":138,"tag":431,"props":2377,"children":2378},{"style":464},[2379],{"type":144,"value":900},{"type":138,"tag":431,"props":2381,"children":2382},{"style":464},[2383],{"type":144,"value":1030},{"type":138,"tag":431,"props":2385,"children":2386},{"class":433,"line":496},[2387],{"type":138,"tag":431,"props":2388,"children":2389},{"emptyLinePlaceholder":490},[2390],{"type":144,"value":493},{"type":138,"tag":431,"props":2392,"children":2393},{"class":433,"line":40},[2394,2398,2402,2406,2410],{"type":138,"tag":431,"props":2395,"children":2396},{"style":990},[2397],{"type":144,"value":1670},{"type":138,"tag":431,"props":2399,"children":2400},{"style":990},[2401],{"type":144,"value":1675},{"type":138,"tag":431,"props":2403,"children":2404},{"style":1072},[2405],{"type":144,"value":2318},{"type":138,"tag":431,"props":2407,"children":2408},{"style":475},[2409],{"type":144,"value":1079},{"type":138,"tag":431,"props":2411,"children":2412},{"style":464},[2413],{"type":144,"value":1406},{"type":138,"tag":431,"props":2415,"children":2416},{"class":433,"line":93},[2417,2421,2425,2429,2433,2437,2442,2446,2450],{"type":138,"tag":431,"props":2418,"children":2419},{"style":1108},[2420],{"type":144,"value":2109},{"type":138,"tag":431,"props":2422,"children":2423},{"style":464},[2424],{"type":144,"value":1116},{"type":138,"tag":431,"props":2426,"children":2427},{"style":1072},[2428],{"type":144,"value":2359},{"type":138,"tag":431,"props":2430,"children":2431},{"style":475},[2432],{"type":144,"value":1079},{"type":138,"tag":431,"props":2434,"children":2435},{"style":464},[2436],{"type":144,"value":900},{"type":138,"tag":431,"props":2438,"children":2439},{"style":453},[2440],{"type":144,"value":2441},"github\u002Fmyagent",{"type":138,"tag":431,"props":2443,"children":2444},{"style":464},[2445],{"type":144,"value":900},{"type":138,"tag":431,"props":2447,"children":2448},{"style":475},[2449],{"type":144,"value":718},{"type":138,"tag":431,"props":2451,"children":2452},{"style":464},[2453],{"type":144,"value":1264},{"type":138,"tag":431,"props":2455,"children":2456},{"class":433,"line":528},[2457,2461,2465],{"type":138,"tag":431,"props":2458,"children":2459},{"style":464},[2460],{"type":144,"value":1159},{"type":138,"tag":431,"props":2462,"children":2463},{"style":475},[2464],{"type":144,"value":718},{"type":138,"tag":431,"props":2466,"children":2467},{"style":464},[2468],{"type":144,"value":1030},{"type":138,"tag":154,"props":2470,"children":2471},{},[2472],{"type":144,"value":2162},{"type":138,"tag":171,"props":2474,"children":2475},{},[2476,2508],{"type":138,"tag":175,"props":2477,"children":2478},{},[2479,2485,2486,2491,2493,2499,2501,2506],{"type":138,"tag":217,"props":2480,"children":2482},{"className":2481},[],[2483],{"type":144,"value":2484},"installationToken",{"type":144,"value":2176},{"type":138,"tag":217,"props":2487,"children":2489},{"className":2488},[],[2490],{"type":144,"value":2182},{"type":144,"value":2492},". The helper pins ",{"type":138,"tag":217,"props":2494,"children":2496},{"className":2495},[],[2497],{"type":144,"value":2498},"subject",{"type":144,"value":2500}," to ",{"type":138,"tag":217,"props":2502,"children":2504},{"className":2503},[],[2505],{"type":144,"value":1827},{"type":144,"value":2507}," — GitHub installation tokens are app-scoped.",{"type":138,"tag":175,"props":2509,"children":2510},{},[2511,2516,2517,2522],{"type":138,"tag":217,"props":2512,"children":2514},{"className":2513},[],[2515],{"type":144,"value":2193},{"type":144,"value":2195},{"type":138,"tag":217,"props":2518,"children":2520},{"className":2519},[],[2521],{"type":144,"value":2201},{"type":144,"value":2523},"). Vercel Connect forwards verified GitHub webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw GitHub webhook secret.",{"type":138,"tag":1905,"props":2525,"children":2527},{"id":2526},"linear-channel-connectlinearcredentials",[2528,2530],{"type":144,"value":2529},"Linear channel — ",{"type":138,"tag":217,"props":2531,"children":2533},{"className":2532},[],[2534],{"type":144,"value":2535},"connectLinearCredentials",{"type":138,"tag":154,"props":2537,"children":2538},{},[2539,2541,2547,2548,2554,2555,2560,2561,2567,2569,2573,2574,2580,2581,2587],{"type":144,"value":2540},"For Eve Linear channels (",{"type":138,"tag":217,"props":2542,"children":2544},{"className":2543},[],[2545],{"type":144,"value":2546},"agent\u002Fchannels\u002Flinear.ts",{"type":144,"value":1929},{"type":138,"tag":217,"props":2549,"children":2551},{"className":2550},[],[2552],{"type":144,"value":2553},"connectLinearCredentials(connector)",{"type":144,"value":1937},{"type":138,"tag":217,"props":2556,"children":2558},{"className":2557},[],[2559],{"type":144,"value":49},{"type":144,"value":1944},{"type":138,"tag":217,"props":2562,"children":2564},{"className":2563},[],[2565],{"type":144,"value":2566},"LinearChannelCredentials",{"type":144,"value":2568}," object — Vercel Connect manages the Linear app access token and webhook auth, so you do ",{"type":138,"tag":213,"props":2570,"children":2571},{},[2572],{"type":144,"value":1957},{"type":144,"value":1959},{"type":138,"tag":217,"props":2575,"children":2577},{"className":2576},[],[2578],{"type":144,"value":2579},"LINEAR_API_KEY",{"type":144,"value":1967},{"type":138,"tag":217,"props":2582,"children":2584},{"className":2583},[],[2585],{"type":144,"value":2586},"LINEAR_WEBHOOK_SECRET",{"type":144,"value":1975},{"type":138,"tag":420,"props":2589,"children":2591},{"className":978,"code":2590,"language":980,"meta":425,"style":425},"\u002F\u002F agent\u002Fchannels\u002Flinear.ts\nimport { linearRoute } from \"eve\u002Fchannels\u002Flinear\";\nimport { connectLinearCredentials } from \"@vercel\u002Fconnect\u002Feve\";\n\nexport default linearRoute({\n  credentials: connectLinearCredentials(\"linear\u002Fmyagent\"),\n});\n",[2592],{"type":138,"tag":217,"props":2593,"children":2594},{"__ignoreMap":425},[2595,2603,2644,2684,2691,2714,2754],{"type":138,"tag":431,"props":2596,"children":2597},{"class":433,"line":434},[2598],{"type":138,"tag":431,"props":2599,"children":2600},{"style":438},[2601],{"type":144,"value":2602},"\u002F\u002F agent\u002Fchannels\u002Flinear.ts\n",{"type":138,"tag":431,"props":2604,"children":2605},{"class":433,"line":444},[2606,2610,2614,2619,2623,2627,2631,2636,2640],{"type":138,"tag":431,"props":2607,"children":2608},{"style":990},[2609],{"type":144,"value":993},{"type":138,"tag":431,"props":2611,"children":2612},{"style":464},[2613],{"type":144,"value":998},{"type":138,"tag":431,"props":2615,"children":2616},{"style":475},[2617],{"type":144,"value":2618}," linearRoute",{"type":138,"tag":431,"props":2620,"children":2621},{"style":464},[2622],{"type":144,"value":1008},{"type":138,"tag":431,"props":2624,"children":2625},{"style":990},[2626],{"type":144,"value":1013},{"type":138,"tag":431,"props":2628,"children":2629},{"style":464},[2630],{"type":144,"value":885},{"type":138,"tag":431,"props":2632,"children":2633},{"style":453},[2634],{"type":144,"value":2635},"eve\u002Fchannels\u002Flinear",{"type":138,"tag":431,"props":2637,"children":2638},{"style":464},[2639],{"type":144,"value":900},{"type":138,"tag":431,"props":2641,"children":2642},{"style":464},[2643],{"type":144,"value":1030},{"type":138,"tag":431,"props":2645,"children":2646},{"class":433,"line":486},[2647,2651,2655,2660,2664,2668,2672,2676,2680],{"type":138,"tag":431,"props":2648,"children":2649},{"style":990},[2650],{"type":144,"value":993},{"type":138,"tag":431,"props":2652,"children":2653},{"style":464},[2654],{"type":144,"value":998},{"type":138,"tag":431,"props":2656,"children":2657},{"style":475},[2658],{"type":144,"value":2659}," connectLinearCredentials",{"type":138,"tag":431,"props":2661,"children":2662},{"style":464},[2663],{"type":144,"value":1008},{"type":138,"tag":431,"props":2665,"children":2666},{"style":990},[2667],{"type":144,"value":1013},{"type":138,"tag":431,"props":2669,"children":2670},{"style":464},[2671],{"type":144,"value":885},{"type":138,"tag":431,"props":2673,"children":2674},{"style":453},[2675],{"type":144,"value":49},{"type":138,"tag":431,"props":2677,"children":2678},{"style":464},[2679],{"type":144,"value":900},{"type":138,"tag":431,"props":2681,"children":2682},{"style":464},[2683],{"type":144,"value":1030},{"type":138,"tag":431,"props":2685,"children":2686},{"class":433,"line":496},[2687],{"type":138,"tag":431,"props":2688,"children":2689},{"emptyLinePlaceholder":490},[2690],{"type":144,"value":493},{"type":138,"tag":431,"props":2692,"children":2693},{"class":433,"line":40},[2694,2698,2702,2706,2710],{"type":138,"tag":431,"props":2695,"children":2696},{"style":990},[2697],{"type":144,"value":1670},{"type":138,"tag":431,"props":2699,"children":2700},{"style":990},[2701],{"type":144,"value":1675},{"type":138,"tag":431,"props":2703,"children":2704},{"style":1072},[2705],{"type":144,"value":2618},{"type":138,"tag":431,"props":2707,"children":2708},{"style":475},[2709],{"type":144,"value":1079},{"type":138,"tag":431,"props":2711,"children":2712},{"style":464},[2713],{"type":144,"value":1406},{"type":138,"tag":431,"props":2715,"children":2716},{"class":433,"line":93},[2717,2721,2725,2729,2733,2737,2742,2746,2750],{"type":138,"tag":431,"props":2718,"children":2719},{"style":1108},[2720],{"type":144,"value":2109},{"type":138,"tag":431,"props":2722,"children":2723},{"style":464},[2724],{"type":144,"value":1116},{"type":138,"tag":431,"props":2726,"children":2727},{"style":1072},[2728],{"type":144,"value":2659},{"type":138,"tag":431,"props":2730,"children":2731},{"style":475},[2732],{"type":144,"value":1079},{"type":138,"tag":431,"props":2734,"children":2735},{"style":464},[2736],{"type":144,"value":900},{"type":138,"tag":431,"props":2738,"children":2739},{"style":453},[2740],{"type":144,"value":2741},"linear\u002Fmyagent",{"type":138,"tag":431,"props":2743,"children":2744},{"style":464},[2745],{"type":144,"value":900},{"type":138,"tag":431,"props":2747,"children":2748},{"style":475},[2749],{"type":144,"value":718},{"type":138,"tag":431,"props":2751,"children":2752},{"style":464},[2753],{"type":144,"value":1264},{"type":138,"tag":431,"props":2755,"children":2756},{"class":433,"line":528},[2757,2761,2765],{"type":138,"tag":431,"props":2758,"children":2759},{"style":464},[2760],{"type":144,"value":1159},{"type":138,"tag":431,"props":2762,"children":2763},{"style":475},[2764],{"type":144,"value":718},{"type":138,"tag":431,"props":2766,"children":2767},{"style":464},[2768],{"type":144,"value":1030},{"type":138,"tag":154,"props":2770,"children":2771},{},[2772],{"type":144,"value":2162},{"type":138,"tag":171,"props":2774,"children":2775},{},[2776,2805],{"type":138,"tag":175,"props":2777,"children":2778},{},[2779,2785,2786,2791,2792,2797,2798,2803],{"type":138,"tag":217,"props":2780,"children":2782},{"className":2781},[],[2783],{"type":144,"value":2784},"accessToken",{"type":144,"value":2176},{"type":138,"tag":217,"props":2787,"children":2789},{"className":2788},[],[2790],{"type":144,"value":2182},{"type":144,"value":2492},{"type":138,"tag":217,"props":2793,"children":2795},{"className":2794},[],[2796],{"type":144,"value":2498},{"type":144,"value":2500},{"type":138,"tag":217,"props":2799,"children":2801},{"className":2800},[],[2802],{"type":144,"value":1827},{"type":144,"value":2804}," — Linear Agent tokens are app-scoped.",{"type":138,"tag":175,"props":2806,"children":2807},{},[2808,2813,2814,2819],{"type":138,"tag":217,"props":2809,"children":2811},{"className":2810},[],[2812],{"type":144,"value":2193},{"type":144,"value":2195},{"type":138,"tag":217,"props":2815,"children":2817},{"className":2816},[],[2818],{"type":144,"value":2201},{"type":144,"value":2820},"). Vercel Connect forwards verified Linear webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Linear webhook secret.",{"type":138,"tag":321,"props":2822,"children":2824},{"id":2823},"_3-http-api-for-other-languages",[2825],{"type":144,"value":2826},"3. HTTP API (for other languages)",{"type":138,"tag":154,"props":2828,"children":2829},{},[2830,2832,2838,2840,2845],{"type":144,"value":2831},"For other languages, make HTTP requests directly to the Vercel Connect server. The request must be authenticated with the project's Vercel OIDC token (",{"type":138,"tag":217,"props":2833,"children":2835},{"className":2834},[],[2836],{"type":144,"value":2837},"VERCEL_OIDC_TOKEN",{"type":144,"value":2839}," env var — pulled by ",{"type":138,"tag":217,"props":2841,"children":2843},{"className":2842},[],[2844],{"type":144,"value":1510},{"type":144,"value":2846}," or injected at runtime):",{"type":138,"tag":420,"props":2848,"children":2850},{"className":422,"code":2849,"language":424,"meta":425,"style":425},"# Get a token via HTTP\nPOST https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002F\u003Cconnector>\nAuthorization: Bearer \u003CVERCEL_OIDC_TOKEN>\nContent-Type: application\u002Fjson\n\n{ \"subject\": { \"type\": \"user\", \"id\": \"user_123\" } }\n",[2851],{"type":138,"tag":217,"props":2852,"children":2853},{"__ignoreMap":425},[2854,2862,2891,2922,2935,2942],{"type":138,"tag":431,"props":2855,"children":2856},{"class":433,"line":434},[2857],{"type":138,"tag":431,"props":2858,"children":2859},{"style":438},[2860],{"type":144,"value":2861},"# Get a token via HTTP\n",{"type":138,"tag":431,"props":2863,"children":2864},{"class":433,"line":444},[2865,2869,2874,2879,2883,2887],{"type":138,"tag":431,"props":2866,"children":2867},{"style":448},[2868],{"type":144,"value":1255},{"type":138,"tag":431,"props":2870,"children":2871},{"style":453},[2872],{"type":144,"value":2873}," https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002F",{"type":138,"tag":431,"props":2875,"children":2876},{"style":464},[2877],{"type":144,"value":2878},"\u003C",{"type":138,"tag":431,"props":2880,"children":2881},{"style":453},[2882],{"type":144,"value":560},{"type":138,"tag":431,"props":2884,"children":2885},{"style":475},[2886],{"type":144,"value":565},{"type":138,"tag":431,"props":2888,"children":2889},{"style":464},[2890],{"type":144,"value":483},{"type":138,"tag":431,"props":2892,"children":2893},{"class":433,"line":486},[2894,2899,2904,2908,2913,2918],{"type":138,"tag":431,"props":2895,"children":2896},{"style":448},[2897],{"type":144,"value":2898},"Authorization:",{"type":138,"tag":431,"props":2900,"children":2901},{"style":453},[2902],{"type":144,"value":2903}," Bearer",{"type":138,"tag":431,"props":2905,"children":2906},{"style":464},[2907],{"type":144,"value":467},{"type":138,"tag":431,"props":2909,"children":2910},{"style":453},[2911],{"type":144,"value":2912},"VERCEL_OIDC_TOKE",{"type":138,"tag":431,"props":2914,"children":2915},{"style":475},[2916],{"type":144,"value":2917},"N",{"type":138,"tag":431,"props":2919,"children":2920},{"style":464},[2921],{"type":144,"value":483},{"type":138,"tag":431,"props":2923,"children":2924},{"class":433,"line":496},[2925,2930],{"type":138,"tag":431,"props":2926,"children":2927},{"style":448},[2928],{"type":144,"value":2929},"Content-Type:",{"type":138,"tag":431,"props":2931,"children":2932},{"style":453},[2933],{"type":144,"value":2934}," application\u002Fjson\n",{"type":138,"tag":431,"props":2936,"children":2937},{"class":433,"line":40},[2938],{"type":138,"tag":431,"props":2939,"children":2940},{"emptyLinePlaceholder":490},[2941],{"type":144,"value":493},{"type":138,"tag":431,"props":2943,"children":2944},{"class":433,"line":93},[2945,2950,2955,2959,2963,2967,2972,2976,2980,2984,2988,2992,2996,3000,3004,3008,3012,3016,3021,3025,3029],{"type":138,"tag":431,"props":2946,"children":2947},{"style":464},[2948],{"type":144,"value":2949},"{",{"type":138,"tag":431,"props":2951,"children":2952},{"style":448},[2953],{"type":144,"value":2954}," \"subject\"",{"type":138,"tag":431,"props":2956,"children":2957},{"style":1072},[2958],{"type":144,"value":1116},{"type":138,"tag":431,"props":2960,"children":2961},{"style":453},[2962],{"type":144,"value":998},{"type":138,"tag":431,"props":2964,"children":2965},{"style":464},[2966],{"type":144,"value":885},{"type":138,"tag":431,"props":2968,"children":2969},{"style":453},[2970],{"type":144,"value":2971},"type",{"type":138,"tag":431,"props":2973,"children":2974},{"style":464},[2975],{"type":144,"value":900},{"type":138,"tag":431,"props":2977,"children":2978},{"style":453},[2979],{"type":144,"value":1116},{"type":138,"tag":431,"props":2981,"children":2982},{"style":464},[2983],{"type":144,"value":885},{"type":138,"tag":431,"props":2985,"children":2986},{"style":453},[2987],{"type":144,"value":222},{"type":138,"tag":431,"props":2989,"children":2990},{"style":464},[2991],{"type":144,"value":900},{"type":138,"tag":431,"props":2993,"children":2994},{"style":453},[2995],{"type":144,"value":1097},{"type":138,"tag":431,"props":2997,"children":2998},{"style":464},[2999],{"type":144,"value":885},{"type":138,"tag":431,"props":3001,"children":3002},{"style":453},[3003],{"type":144,"value":230},{"type":138,"tag":431,"props":3005,"children":3006},{"style":464},[3007],{"type":144,"value":900},{"type":138,"tag":431,"props":3009,"children":3010},{"style":453},[3011],{"type":144,"value":1116},{"type":138,"tag":431,"props":3013,"children":3014},{"style":464},[3015],{"type":144,"value":885},{"type":138,"tag":431,"props":3017,"children":3018},{"style":453},[3019],{"type":144,"value":3020},"user_123",{"type":138,"tag":431,"props":3022,"children":3023},{"style":464},[3024],{"type":144,"value":900},{"type":138,"tag":431,"props":3026,"children":3027},{"style":453},[3028],{"type":144,"value":1008},{"type":138,"tag":431,"props":3030,"children":3031},{"style":453},[3032],{"type":144,"value":3033}," }\n",{"type":138,"tag":154,"props":3035,"children":3036},{},[3037,3039,3044,3046,3052,3053,3058],{"type":144,"value":3038},"The response is JSON with a ",{"type":138,"tag":217,"props":3040,"children":3042},{"className":3041},[],[3043],{"type":144,"value":79},{"type":144,"value":3045}," field (plus ",{"type":138,"tag":217,"props":3047,"children":3049},{"className":3048},[],[3050],{"type":144,"value":3051},"expiresAt",{"type":144,"value":284},{"type":138,"tag":217,"props":3054,"children":3056},{"className":3055},[],[3057],{"type":144,"value":118},{"type":144,"value":3059},", and other metadata).",{"type":138,"tag":613,"props":3061,"children":3063},{"id":3062},"python-example",[3064],{"type":144,"value":3065},"Python Example",{"type":138,"tag":420,"props":3067,"children":3071},{"className":3068,"code":3069,"language":3070,"meta":425,"style":425},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import os\nimport requests\n\n# Get token from Vercel Connect\nconnect_response = requests.post(\n    \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002Fslack1234\",\n    headers={\"Authorization\": f\"Bearer {os.environ['VERCEL_OIDC_TOKEN']}\"},\n    json={\n        \"subject\": {\"type\": \"app\"},\n    },\n)\ntoken = connect_response.json()[\"token\"]\n\n# Use the token\nslack_response = requests.post(\n    \"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage\",\n    headers={\"Authorization\": f\"Bearer {token}\"},\n    json={\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}\n)\n","python",[3072],{"type":138,"tag":217,"props":3073,"children":3074},{"__ignoreMap":425},[3075,3083,3091,3098,3106,3114,3122,3130,3138,3146,3154,3162,3170,3177,3185,3193,3201,3209,3217],{"type":138,"tag":431,"props":3076,"children":3077},{"class":433,"line":434},[3078],{"type":138,"tag":431,"props":3079,"children":3080},{},[3081],{"type":144,"value":3082},"import os\n",{"type":138,"tag":431,"props":3084,"children":3085},{"class":433,"line":444},[3086],{"type":138,"tag":431,"props":3087,"children":3088},{},[3089],{"type":144,"value":3090},"import requests\n",{"type":138,"tag":431,"props":3092,"children":3093},{"class":433,"line":486},[3094],{"type":138,"tag":431,"props":3095,"children":3096},{"emptyLinePlaceholder":490},[3097],{"type":144,"value":493},{"type":138,"tag":431,"props":3099,"children":3100},{"class":433,"line":496},[3101],{"type":138,"tag":431,"props":3102,"children":3103},{},[3104],{"type":144,"value":3105},"# Get token from Vercel Connect\n",{"type":138,"tag":431,"props":3107,"children":3108},{"class":433,"line":40},[3109],{"type":138,"tag":431,"props":3110,"children":3111},{},[3112],{"type":144,"value":3113},"connect_response = requests.post(\n",{"type":138,"tag":431,"props":3115,"children":3116},{"class":433,"line":93},[3117],{"type":138,"tag":431,"props":3118,"children":3119},{},[3120],{"type":144,"value":3121},"    \"https:\u002F\u002Fapi.vercel.com\u002Fv1\u002Fconnect\u002Ftoken\u002Fslack1234\",\n",{"type":138,"tag":431,"props":3123,"children":3124},{"class":433,"line":528},[3125],{"type":138,"tag":431,"props":3126,"children":3127},{},[3128],{"type":144,"value":3129},"    headers={\"Authorization\": f\"Bearer {os.environ['VERCEL_OIDC_TOKEN']}\"},\n",{"type":138,"tag":431,"props":3131,"children":3132},{"class":433,"line":537},[3133],{"type":138,"tag":431,"props":3134,"children":3135},{},[3136],{"type":144,"value":3137},"    json={\n",{"type":138,"tag":431,"props":3139,"children":3140},{"class":433,"line":1185},[3141],{"type":138,"tag":431,"props":3142,"children":3143},{},[3144],{"type":144,"value":3145},"        \"subject\": {\"type\": \"app\"},\n",{"type":138,"tag":431,"props":3147,"children":3148},{"class":433,"line":1236},[3149],{"type":138,"tag":431,"props":3150,"children":3151},{},[3152],{"type":144,"value":3153},"    },\n",{"type":138,"tag":431,"props":3155,"children":3156},{"class":433,"line":1267},[3157],{"type":138,"tag":431,"props":3158,"children":3159},{},[3160],{"type":144,"value":3161},")\n",{"type":138,"tag":431,"props":3163,"children":3164},{"class":433,"line":1284},[3165],{"type":138,"tag":431,"props":3166,"children":3167},{},[3168],{"type":144,"value":3169},"token = connect_response.json()[\"token\"]\n",{"type":138,"tag":431,"props":3171,"children":3172},{"class":433,"line":1325},[3173],{"type":138,"tag":431,"props":3174,"children":3175},{"emptyLinePlaceholder":490},[3176],{"type":144,"value":493},{"type":138,"tag":431,"props":3178,"children":3179},{"class":433,"line":1364},[3180],{"type":138,"tag":431,"props":3181,"children":3182},{},[3183],{"type":144,"value":3184},"# Use the token\n",{"type":138,"tag":431,"props":3186,"children":3187},{"class":433,"line":1373},[3188],{"type":138,"tag":431,"props":3189,"children":3190},{},[3191],{"type":144,"value":3192},"slack_response = requests.post(\n",{"type":138,"tag":431,"props":3194,"children":3195},{"class":433,"line":1409},[3196],{"type":138,"tag":431,"props":3197,"children":3198},{},[3199],{"type":144,"value":3200},"    \"https:\u002F\u002Fslack.com\u002Fapi\u002Fchat.postMessage\",\n",{"type":138,"tag":431,"props":3202,"children":3203},{"class":433,"line":1439},[3204],{"type":138,"tag":431,"props":3205,"children":3206},{},[3207],{"type":144,"value":3208},"    headers={\"Authorization\": f\"Bearer {token}\"},\n",{"type":138,"tag":431,"props":3210,"children":3211},{"class":433,"line":1469},[3212],{"type":138,"tag":431,"props":3213,"children":3214},{},[3215],{"type":144,"value":3216},"    json={\"channel\": \"C1234567890\", \"text\": \"Hello from Vercel Connect!\"}\n",{"type":138,"tag":431,"props":3218,"children":3219},{"class":433,"line":1486},[3220],{"type":138,"tag":431,"props":3221,"children":3222},{},[3223],{"type":144,"value":3161},{"type":138,"tag":321,"props":3225,"children":3227},{"id":3226},"_4-betterauth-and-authjs-support",[3228],{"type":144,"value":3229},"4. BetterAuth and AuthJS support",{"type":138,"tag":154,"props":3231,"children":3232},{},[3233,3235,3242,3243,3250,3252,3257,3259,3264],{"type":144,"value":3234},"When the app already uses ",{"type":138,"tag":1538,"props":3236,"children":3239},{"href":3237,"rel":3238},"https:\u002F\u002Fwww.better-auth.com\u002F",[1542],[3240],{"type":144,"value":3241},"Better Auth",{"type":144,"value":1967},{"type":138,"tag":1538,"props":3244,"children":3247},{"href":3245,"rel":3246},"https:\u002F\u002Fauthjs.dev\u002F",[1542],[3248],{"type":144,"value":3249},"Auth.js",{"type":144,"value":3251}," for end-user authentication, you can plug a Vercel Connect connector in as an OAuth provider instead of calling ",{"type":138,"tag":217,"props":3253,"children":3255},{"className":3254},[],[3256],{"type":144,"value":112},{"type":144,"value":3258}," directly. The ",{"type":138,"tag":217,"props":3260,"children":3262},{"className":3261},[],[3263],{"type":144,"value":85},{"type":144,"value":3265}," helper on each subpath handles the token exchange so provider credentials stay in Vercel Connect rather than in framework config or env vars.",{"type":138,"tag":613,"props":3267,"children":3269},{"id":3268},"better-auth-vercelconnectbetterauth",[3270,3272],{"type":144,"value":3271},"Better Auth — ",{"type":138,"tag":217,"props":3273,"children":3275},{"className":3274},[],[3276],{"type":144,"value":51},{"type":138,"tag":154,"props":3278,"children":3279},{},[3280,3282,3288,3290,3296,3298,3304,3306,3311,3313,3319],{"type":144,"value":3281},"Optional peer dependency: ",{"type":138,"tag":217,"props":3283,"children":3285},{"className":3284},[],[3286],{"type":144,"value":3287},"better-auth",{"type":144,"value":3289},". Pass the connector through Better Auth's ",{"type":138,"tag":217,"props":3291,"children":3293},{"className":3292},[],[3294],{"type":144,"value":3295},"genericOAuth",{"type":144,"value":3297}," plugin. Connector UIDs can contain a ",{"type":138,"tag":217,"props":3299,"children":3301},{"className":3300},[],[3302],{"type":144,"value":3303},"\u002F",{"type":144,"value":3305}," (e.g. ",{"type":138,"tag":217,"props":3307,"children":3309},{"className":3308},[],[3310],{"type":144,"value":2741},{"type":144,"value":3312},"), and Better Auth additionally requires a ",{"type":138,"tag":217,"props":3314,"children":3316},{"className":3315},[],[3317],{"type":144,"value":3318},"providerId",{"type":144,"value":1116},{"type":138,"tag":420,"props":3321,"children":3323},{"className":978,"code":3322,"language":980,"meta":425,"style":425},"import { genericOAuth } from \"better-auth\u002Fplugins\";\nimport { connect } from \"@vercel\u002Fconnect\u002Fbetterauth\";\n\ngenericOAuth({\n  config: [connect({ providerId: \"linear\", connector: \"linear\u002Fmyagent\" })],\n});\n",[3324],{"type":138,"tag":217,"props":3325,"children":3326},{"__ignoreMap":425},[3327,3368,3407,3414,3429,3518],{"type":138,"tag":431,"props":3328,"children":3329},{"class":433,"line":434},[3330,3334,3338,3343,3347,3351,3355,3360,3364],{"type":138,"tag":431,"props":3331,"children":3332},{"style":990},[3333],{"type":144,"value":993},{"type":138,"tag":431,"props":3335,"children":3336},{"style":464},[3337],{"type":144,"value":998},{"type":138,"tag":431,"props":3339,"children":3340},{"style":475},[3341],{"type":144,"value":3342}," genericOAuth",{"type":138,"tag":431,"props":3344,"children":3345},{"style":464},[3346],{"type":144,"value":1008},{"type":138,"tag":431,"props":3348,"children":3349},{"style":990},[3350],{"type":144,"value":1013},{"type":138,"tag":431,"props":3352,"children":3353},{"style":464},[3354],{"type":144,"value":885},{"type":138,"tag":431,"props":3356,"children":3357},{"style":453},[3358],{"type":144,"value":3359},"better-auth\u002Fplugins",{"type":138,"tag":431,"props":3361,"children":3362},{"style":464},[3363],{"type":144,"value":900},{"type":138,"tag":431,"props":3365,"children":3366},{"style":464},[3367],{"type":144,"value":1030},{"type":138,"tag":431,"props":3369,"children":3370},{"class":433,"line":444},[3371,3375,3379,3383,3387,3391,3395,3399,3403],{"type":138,"tag":431,"props":3372,"children":3373},{"style":990},[3374],{"type":144,"value":993},{"type":138,"tag":431,"props":3376,"children":3377},{"style":464},[3378],{"type":144,"value":998},{"type":138,"tag":431,"props":3380,"children":3381},{"style":475},[3382],{"type":144,"value":456},{"type":138,"tag":431,"props":3384,"children":3385},{"style":464},[3386],{"type":144,"value":1008},{"type":138,"tag":431,"props":3388,"children":3389},{"style":990},[3390],{"type":144,"value":1013},{"type":138,"tag":431,"props":3392,"children":3393},{"style":464},[3394],{"type":144,"value":885},{"type":138,"tag":431,"props":3396,"children":3397},{"style":453},[3398],{"type":144,"value":51},{"type":138,"tag":431,"props":3400,"children":3401},{"style":464},[3402],{"type":144,"value":900},{"type":138,"tag":431,"props":3404,"children":3405},{"style":464},[3406],{"type":144,"value":1030},{"type":138,"tag":431,"props":3408,"children":3409},{"class":433,"line":486},[3410],{"type":138,"tag":431,"props":3411,"children":3412},{"emptyLinePlaceholder":490},[3413],{"type":144,"value":493},{"type":138,"tag":431,"props":3415,"children":3416},{"class":433,"line":496},[3417,3421,3425],{"type":138,"tag":431,"props":3418,"children":3419},{"style":1072},[3420],{"type":144,"value":3295},{"type":138,"tag":431,"props":3422,"children":3423},{"style":475},[3424],{"type":144,"value":1079},{"type":138,"tag":431,"props":3426,"children":3427},{"style":464},[3428],{"type":144,"value":1406},{"type":138,"tag":431,"props":3430,"children":3431},{"class":433,"line":40},[3432,3437,3441,3446,3450,3454,3458,3463,3467,3471,3476,3480,3484,3489,3493,3497,3501,3505,3509,3514],{"type":138,"tag":431,"props":3433,"children":3434},{"style":1108},[3435],{"type":144,"value":3436},"  config",{"type":138,"tag":431,"props":3438,"children":3439},{"style":464},[3440],{"type":144,"value":1116},{"type":138,"tag":431,"props":3442,"children":3443},{"style":475},[3444],{"type":144,"value":3445}," [",{"type":138,"tag":431,"props":3447,"children":3448},{"style":1072},[3449],{"type":144,"value":85},{"type":138,"tag":431,"props":3451,"children":3452},{"style":475},[3453],{"type":144,"value":1079},{"type":138,"tag":431,"props":3455,"children":3456},{"style":464},[3457],{"type":144,"value":2949},{"type":138,"tag":431,"props":3459,"children":3460},{"style":1108},[3461],{"type":144,"value":3462}," providerId",{"type":138,"tag":431,"props":3464,"children":3465},{"style":464},[3466],{"type":144,"value":1116},{"type":138,"tag":431,"props":3468,"children":3469},{"style":464},[3470],{"type":144,"value":885},{"type":138,"tag":431,"props":3472,"children":3473},{"style":453},[3474],{"type":144,"value":3475},"linear",{"type":138,"tag":431,"props":3477,"children":3478},{"style":464},[3479],{"type":144,"value":900},{"type":138,"tag":431,"props":3481,"children":3482},{"style":464},[3483],{"type":144,"value":1097},{"type":138,"tag":431,"props":3485,"children":3486},{"style":1108},[3487],{"type":144,"value":3488}," connector",{"type":138,"tag":431,"props":3490,"children":3491},{"style":464},[3492],{"type":144,"value":1116},{"type":138,"tag":431,"props":3494,"children":3495},{"style":464},[3496],{"type":144,"value":885},{"type":138,"tag":431,"props":3498,"children":3499},{"style":453},[3500],{"type":144,"value":2741},{"type":138,"tag":431,"props":3502,"children":3503},{"style":464},[3504],{"type":144,"value":900},{"type":138,"tag":431,"props":3506,"children":3507},{"style":464},[3508],{"type":144,"value":1008},{"type":138,"tag":431,"props":3510,"children":3511},{"style":475},[3512],{"type":144,"value":3513},")]",{"type":138,"tag":431,"props":3515,"children":3516},{"style":464},[3517],{"type":144,"value":1264},{"type":138,"tag":431,"props":3519,"children":3520},{"class":433,"line":93},[3521,3525,3529],{"type":138,"tag":431,"props":3522,"children":3523},{"style":464},[3524],{"type":144,"value":1159},{"type":138,"tag":431,"props":3526,"children":3527},{"style":475},[3528],{"type":144,"value":718},{"type":138,"tag":431,"props":3530,"children":3531},{"style":464},[3532],{"type":144,"value":1030},{"type":138,"tag":613,"props":3534,"children":3536},{"id":3535},"authjs-vercelconnectauthjs",[3537,3539],{"type":144,"value":3538},"Auth.js — ",{"type":138,"tag":217,"props":3540,"children":3542},{"className":3541},[],[3543],{"type":144,"value":50},{"type":138,"tag":154,"props":3545,"children":3546},{},[3547,3548,3554,3556,3562,3564,3569,3570,3575,3577,3582],{"type":144,"value":3281},{"type":138,"tag":217,"props":3549,"children":3551},{"className":3550},[],[3552],{"type":144,"value":3553},"@auth\u002Fcore",{"type":144,"value":3555},". Use the connector as an ",{"type":138,"tag":217,"props":3557,"children":3559},{"className":3558},[],[3560],{"type":144,"value":3561},"OAuth2Config",{"type":144,"value":3563}," provider. Connector UIDs can contain a ",{"type":138,"tag":217,"props":3565,"children":3567},{"className":3566},[],[3568],{"type":144,"value":3303},{"type":144,"value":3305},{"type":138,"tag":217,"props":3571,"children":3573},{"className":3572},[],[3574],{"type":144,"value":2741},{"type":144,"value":3576},"), and Auth.js additionally requires an ",{"type":138,"tag":217,"props":3578,"children":3580},{"className":3579},[],[3581],{"type":144,"value":230},{"type":144,"value":1116},{"type":138,"tag":420,"props":3584,"children":3586},{"className":978,"code":3585,"language":980,"meta":425,"style":425},"import { connect } from \"@vercel\u002Fconnect\u002Fauthjs\";\n\nconst providers = [connect({ id: \"linear\", connector: \"linear\u002Fmyagent\" })];\n",[3587],{"type":138,"tag":217,"props":3588,"children":3589},{"__ignoreMap":425},[3590,3629,3636],{"type":138,"tag":431,"props":3591,"children":3592},{"class":433,"line":434},[3593,3597,3601,3605,3609,3613,3617,3621,3625],{"type":138,"tag":431,"props":3594,"children":3595},{"style":990},[3596],{"type":144,"value":993},{"type":138,"tag":431,"props":3598,"children":3599},{"style":464},[3600],{"type":144,"value":998},{"type":138,"tag":431,"props":3602,"children":3603},{"style":475},[3604],{"type":144,"value":456},{"type":138,"tag":431,"props":3606,"children":3607},{"style":464},[3608],{"type":144,"value":1008},{"type":138,"tag":431,"props":3610,"children":3611},{"style":990},[3612],{"type":144,"value":1013},{"type":138,"tag":431,"props":3614,"children":3615},{"style":464},[3616],{"type":144,"value":885},{"type":138,"tag":431,"props":3618,"children":3619},{"style":453},[3620],{"type":144,"value":50},{"type":138,"tag":431,"props":3622,"children":3623},{"style":464},[3624],{"type":144,"value":900},{"type":138,"tag":431,"props":3626,"children":3627},{"style":464},[3628],{"type":144,"value":1030},{"type":138,"tag":431,"props":3630,"children":3631},{"class":433,"line":444},[3632],{"type":138,"tag":431,"props":3633,"children":3634},{"emptyLinePlaceholder":490},[3635],{"type":144,"value":493},{"type":138,"tag":431,"props":3637,"children":3638},{"class":433,"line":486},[3639,3643,3648,3652,3656,3660,3664,3668,3673,3677,3681,3685,3689,3693,3697,3701,3705,3709,3713,3717,3721],{"type":138,"tag":431,"props":3640,"children":3641},{"style":1051},[3642],{"type":144,"value":1054},{"type":138,"tag":431,"props":3644,"children":3645},{"style":475},[3646],{"type":144,"value":3647}," providers ",{"type":138,"tag":431,"props":3649,"children":3650},{"style":464},[3651],{"type":144,"value":1064},{"type":138,"tag":431,"props":3653,"children":3654},{"style":475},[3655],{"type":144,"value":3445},{"type":138,"tag":431,"props":3657,"children":3658},{"style":1072},[3659],{"type":144,"value":85},{"type":138,"tag":431,"props":3661,"children":3662},{"style":475},[3663],{"type":144,"value":1079},{"type":138,"tag":431,"props":3665,"children":3666},{"style":464},[3667],{"type":144,"value":2949},{"type":138,"tag":431,"props":3669,"children":3670},{"style":1108},[3671],{"type":144,"value":3672}," id",{"type":138,"tag":431,"props":3674,"children":3675},{"style":464},[3676],{"type":144,"value":1116},{"type":138,"tag":431,"props":3678,"children":3679},{"style":464},[3680],{"type":144,"value":885},{"type":138,"tag":431,"props":3682,"children":3683},{"style":453},[3684],{"type":144,"value":3475},{"type":138,"tag":431,"props":3686,"children":3687},{"style":464},[3688],{"type":144,"value":900},{"type":138,"tag":431,"props":3690,"children":3691},{"style":464},[3692],{"type":144,"value":1097},{"type":138,"tag":431,"props":3694,"children":3695},{"style":1108},[3696],{"type":144,"value":3488},{"type":138,"tag":431,"props":3698,"children":3699},{"style":464},[3700],{"type":144,"value":1116},{"type":138,"tag":431,"props":3702,"children":3703},{"style":464},[3704],{"type":144,"value":885},{"type":138,"tag":431,"props":3706,"children":3707},{"style":453},[3708],{"type":144,"value":2741},{"type":138,"tag":431,"props":3710,"children":3711},{"style":464},[3712],{"type":144,"value":900},{"type":138,"tag":431,"props":3714,"children":3715},{"style":464},[3716],{"type":144,"value":1008},{"type":138,"tag":431,"props":3718,"children":3719},{"style":475},[3720],{"type":144,"value":3513},{"type":138,"tag":431,"props":3722,"children":3723},{"style":464},[3724],{"type":144,"value":1030},{"type":138,"tag":147,"props":3726,"children":3728},{"id":3727},"workflow",[3729],{"type":144,"value":3730},"Workflow",{"type":138,"tag":154,"props":3732,"children":3733},{},[3734,3735,3741],{"type":144,"value":311},{"type":138,"tag":217,"props":3736,"children":3738},{"className":3737},[],[3739],{"type":144,"value":3740},"--json",{"type":144,"value":319},{"type":138,"tag":154,"props":3743,"children":3744},{},[3745,3747,3752],{"type":144,"value":3746},"Before running any ",{"type":138,"tag":217,"props":3748,"children":3750},{"className":3749},[],[3751],{"type":144,"value":61},{"type":144,"value":3753}," step below, make sure your shell cwd is the project or agent folder that will use the connection (see the CLI section above). Vercel Connect uses that context to auto-configure the project, so running from the right directory removes follow-up wiring work.",{"type":138,"tag":3755,"props":3756,"children":3757},"ol",{},[3758],{"type":138,"tag":175,"props":3759,"children":3760},{},[3761,3766,3768],{"type":138,"tag":213,"props":3762,"children":3763},{},[3764],{"type":144,"value":3765},"Check existing Connect connectors",{"type":144,"value":3767},": See if a required Connect connector is already present",{"type":138,"tag":420,"props":3769,"children":3771},{"className":422,"code":3770,"language":424,"meta":425,"style":425},"vercel connect list\nvercel connect token \u003Cconnector>\n",[3772],{"type":138,"tag":217,"props":3773,"children":3774},{"__ignoreMap":425},[3775,3790],{"type":138,"tag":431,"props":3776,"children":3777},{"class":433,"line":434},[3778,3782,3786],{"type":138,"tag":431,"props":3779,"children":3780},{"style":448},[3781],{"type":144,"value":8},{"type":138,"tag":431,"props":3783,"children":3784},{"style":453},[3785],{"type":144,"value":456},{"type":138,"tag":431,"props":3787,"children":3788},{"style":453},[3789],{"type":144,"value":518},{"type":138,"tag":431,"props":3791,"children":3792},{"class":433,"line":444},[3793,3797,3801,3805,3809,3813,3817],{"type":138,"tag":431,"props":3794,"children":3795},{"style":448},[3796],{"type":144,"value":8},{"type":138,"tag":431,"props":3798,"children":3799},{"style":453},[3800],{"type":144,"value":456},{"type":138,"tag":431,"props":3802,"children":3803},{"style":453},[3804],{"type":144,"value":551},{"type":138,"tag":431,"props":3806,"children":3807},{"style":464},[3808],{"type":144,"value":467},{"type":138,"tag":431,"props":3810,"children":3811},{"style":453},[3812],{"type":144,"value":560},{"type":138,"tag":431,"props":3814,"children":3815},{"style":475},[3816],{"type":144,"value":565},{"type":138,"tag":431,"props":3818,"children":3819},{"style":464},[3820],{"type":144,"value":483},{"type":138,"tag":154,"props":3822,"children":3823},{},[3824],{"type":144,"value":3825},"Important! If more than one connector found, allow user to make the choice between them, or ask to create a new one",{"type":138,"tag":3755,"props":3827,"children":3828},{"start":444},[3829],{"type":138,"tag":175,"props":3830,"children":3831},{},[3832,3837,3839],{"type":138,"tag":213,"props":3833,"children":3834},{},[3835],{"type":144,"value":3836},"Register",{"type":144,"value":3838},": If the provider you need is not registered of if the user asked to create a new connector \u002F app \u002F bot, follow the instructions to register it (this may involve setting up credentials on browser in the third-party service and then registering them with Vercel Connect).",{"type":138,"tag":420,"props":3840,"children":3842},{"className":422,"code":3841,"language":424,"meta":425,"style":425},"vercel connect create \u003Cservice> [--name \u003Capp-name>]\n",[3843],{"type":138,"tag":217,"props":3844,"children":3845},{"__ignoreMap":425},[3846],{"type":138,"tag":431,"props":3847,"children":3848},{"class":433,"line":434},[3849,3853,3857,3861,3865,3869,3873,3877,3882,3886,3891,3895,3899],{"type":138,"tag":431,"props":3850,"children":3851},{"style":448},[3852],{"type":144,"value":8},{"type":138,"tag":431,"props":3854,"children":3855},{"style":453},[3856],{"type":144,"value":456},{"type":138,"tag":431,"props":3858,"children":3859},{"style":453},[3860],{"type":144,"value":461},{"type":138,"tag":431,"props":3862,"children":3863},{"style":464},[3864],{"type":144,"value":467},{"type":138,"tag":431,"props":3866,"children":3867},{"style":453},[3868],{"type":144,"value":472},{"type":138,"tag":431,"props":3870,"children":3871},{"style":475},[3872],{"type":144,"value":478},{"type":138,"tag":431,"props":3874,"children":3875},{"style":464},[3876],{"type":144,"value":570},{"type":138,"tag":431,"props":3878,"children":3879},{"style":475},[3880],{"type":144,"value":3881}," [--name ",{"type":138,"tag":431,"props":3883,"children":3884},{"style":464},[3885],{"type":144,"value":2878},{"type":138,"tag":431,"props":3887,"children":3888},{"style":453},[3889],{"type":144,"value":3890},"app-nam",{"type":138,"tag":431,"props":3892,"children":3893},{"style":475},[3894],{"type":144,"value":478},{"type":138,"tag":431,"props":3896,"children":3897},{"style":464},[3898],{"type":144,"value":570},{"type":138,"tag":431,"props":3900,"children":3901},{"style":453},[3902],{"type":144,"value":3903},"]\n",{"type":138,"tag":154,"props":3905,"children":3906},{},[3907,3909,3914,3916,3921,3923,3929],{"type":144,"value":3908},"Important! Provide the most precise server URL for the service, including the complete connection URL (e.g. ",{"type":138,"tag":217,"props":3910,"children":3912},{"className":3911},[],[3913],{"type":144,"value":1708},{"type":144,"value":3915}," rather than just ",{"type":138,"tag":217,"props":3917,"children":3919},{"className":3918},[],[3920],{"type":144,"value":3475},{"type":144,"value":3922},"). Short service aliases may resolve to a default endpoint that does not match the transport or path the user actually wants. When in doubt, run ",{"type":138,"tag":217,"props":3924,"children":3926},{"className":3925},[],[3927],{"type":144,"value":3928},"vercel connect create --help",{"type":144,"value":3930}," to confirm which service names and URL forms are accepted before picking one.",{"type":138,"tag":154,"props":3932,"children":3933},{},[3934],{"type":144,"value":3935},"Important! This command will give you a URL or directly open it to complete the registration process. User must visit that URL and follow the instructions to link their third-party account with Vercel Connect. The command will not complete until they finish the registration. The agent must clearly show the URL to the user and prompt them to complete the registration.",{"type":138,"tag":154,"props":3937,"children":3938},{},[3939,3941,3946],{"type":144,"value":3940},"Important! Once ",{"type":138,"tag":217,"props":3942,"children":3944},{"className":3943},[],[3945],{"type":144,"value":601},{"type":144,"value":3947}," completes, it will print a successful message. You must capture that connector ID for the next step.",{"type":138,"tag":154,"props":3949,"children":3950},{},[3951,3952,3957],{"type":144,"value":595},{"type":138,"tag":217,"props":3953,"children":3955},{"className":3954},[],[3956],{"type":144,"value":601},{"type":144,"value":3958}," command may open the browser so it's better to get the user approval before running it.",{"type":138,"tag":3755,"props":3960,"children":3961},{"start":486},[3962],{"type":138,"tag":175,"props":3963,"children":3964},{},[3965,3970,3972],{"type":138,"tag":213,"props":3966,"children":3967},{},[3968],{"type":144,"value":3969},"Get token",{"type":144,"value":3971},": Obtain a token for the provider you need:\nOn CLI, you can get the token via",{"type":138,"tag":420,"props":3973,"children":3975},{"className":422,"code":3974,"language":424,"meta":425,"style":425},"vercel connect token \u003Cconnector> [--subject \u003Csubject>]\n",[3976],{"type":138,"tag":217,"props":3977,"children":3978},{"__ignoreMap":425},[3979],{"type":138,"tag":431,"props":3980,"children":3981},{"class":433,"line":434},[3982,3986,3990,3994,3998,4002,4006,4010,4015,4019,4024,4029,4033],{"type":138,"tag":431,"props":3983,"children":3984},{"style":448},[3985],{"type":144,"value":8},{"type":138,"tag":431,"props":3987,"children":3988},{"style":453},[3989],{"type":144,"value":456},{"type":138,"tag":431,"props":3991,"children":3992},{"style":453},[3993],{"type":144,"value":551},{"type":138,"tag":431,"props":3995,"children":3996},{"style":464},[3997],{"type":144,"value":467},{"type":138,"tag":431,"props":3999,"children":4000},{"style":453},[4001],{"type":144,"value":560},{"type":138,"tag":431,"props":4003,"children":4004},{"style":475},[4005],{"type":144,"value":565},{"type":138,"tag":431,"props":4007,"children":4008},{"style":464},[4009],{"type":144,"value":570},{"type":138,"tag":431,"props":4011,"children":4012},{"style":475},[4013],{"type":144,"value":4014}," [--subject ",{"type":138,"tag":431,"props":4016,"children":4017},{"style":464},[4018],{"type":144,"value":2878},{"type":138,"tag":431,"props":4020,"children":4021},{"style":453},[4022],{"type":144,"value":4023},"subjec",{"type":138,"tag":431,"props":4025,"children":4026},{"style":475},[4027],{"type":144,"value":4028},"t",{"type":138,"tag":431,"props":4030,"children":4031},{"style":464},[4032],{"type":144,"value":570},{"type":138,"tag":431,"props":4034,"children":4035},{"style":453},[4036],{"type":144,"value":3903},{"type":138,"tag":154,"props":4038,"children":4039},{},[4040,4042,4048],{"type":144,"value":4041},"The default subject is user. Use app for getting app scoped tokens. It's recommended to run this command with the ",{"type":138,"tag":217,"props":4043,"children":4045},{"className":4044},[],[4046],{"type":144,"value":4047},"--yes",{"type":144,"value":4049}," in case an re-authorization or installation is required. This will trigger the reauthorization flow for the user.",{"type":138,"tag":154,"props":4051,"children":4052},{},[4053,4055,4061],{"type":144,"value":4054},"Important! Always put the token value into a variable and use the variable in the subsequent commands to avoid accidentally echoing the token in the terminal or logs. Avoid combining this command with other commands using ",{"type":138,"tag":217,"props":4056,"children":4058},{"className":4057},[],[4059],{"type":144,"value":4060},"&&",{"type":144,"value":4062},". For example:",{"type":138,"tag":420,"props":4064,"children":4066},{"className":422,"code":4065,"language":424,"meta":425,"style":425},"TOKEN=$(vercel connect token)\n",[4067],{"type":138,"tag":217,"props":4068,"children":4069},{"__ignoreMap":425},[4070],{"type":138,"tag":431,"props":4071,"children":4072},{"class":433,"line":434},[4073,4077,4081,4085,4089,4093],{"type":138,"tag":431,"props":4074,"children":4075},{"style":475},[4076],{"type":144,"value":810},{"type":138,"tag":431,"props":4078,"children":4079},{"style":464},[4080],{"type":144,"value":815},{"type":138,"tag":431,"props":4082,"children":4083},{"style":448},[4084],{"type":144,"value":8},{"type":138,"tag":431,"props":4086,"children":4087},{"style":453},[4088],{"type":144,"value":456},{"type":138,"tag":431,"props":4090,"children":4091},{"style":453},[4092],{"type":144,"value":551},{"type":138,"tag":431,"props":4094,"children":4095},{"style":464},[4096],{"type":144,"value":3161},{"type":138,"tag":154,"props":4098,"children":4099},{},[4100],{"type":144,"value":4101},"Important! Try to reuse tokens as much as possible. If you already have a token with the required scopes, use it instead of requesting a new one, even when fewer scopes are needed. This will reduce friction for the user and avoid unnecessary authorization prompts.",{"type":138,"tag":154,"props":4103,"children":4104},{},[4105,4107,4112],{"type":144,"value":4106},"When working with a JavaScript\u002FTypeScript code, use the ",{"type":138,"tag":217,"props":4108,"children":4110},{"className":4109},[],[4111],{"type":144,"value":48},{"type":144,"value":975},{"type":138,"tag":3755,"props":4114,"children":4115},{"start":496},[4116],{"type":138,"tag":175,"props":4117,"children":4118},{},[4119,4124],{"type":138,"tag":213,"props":4120,"children":4121},{},[4122],{"type":144,"value":4123},"Use token",{"type":144,"value":4125},": Use the token to authenticate with the third-party service.\nFor example:",{"type":138,"tag":420,"props":4127,"children":4129},{"className":978,"code":4128,"language":980,"meta":425,"style":425},"import { getToken } from \"@vercel\u002Fconnect\";\n\nconst token = await getToken(\n  \"connector-id\",\n  \u002F\u002F Optional params:\n  {\n    subject: { ... },\n  },\n);\n",[4130],{"type":138,"tag":217,"props":4131,"children":4132},{"__ignoreMap":425},[4133,4172,4179,4207,4228,4236,4244,4270,4277],{"type":138,"tag":431,"props":4134,"children":4135},{"class":433,"line":434},[4136,4140,4144,4148,4152,4156,4160,4164,4168],{"type":138,"tag":431,"props":4137,"children":4138},{"style":990},[4139],{"type":144,"value":993},{"type":138,"tag":431,"props":4141,"children":4142},{"style":464},[4143],{"type":144,"value":998},{"type":138,"tag":431,"props":4145,"children":4146},{"style":475},[4147],{"type":144,"value":1003},{"type":138,"tag":431,"props":4149,"children":4150},{"style":464},[4151],{"type":144,"value":1008},{"type":138,"tag":431,"props":4153,"children":4154},{"style":990},[4155],{"type":144,"value":1013},{"type":138,"tag":431,"props":4157,"children":4158},{"style":464},[4159],{"type":144,"value":885},{"type":138,"tag":431,"props":4161,"children":4162},{"style":453},[4163],{"type":144,"value":48},{"type":138,"tag":431,"props":4165,"children":4166},{"style":464},[4167],{"type":144,"value":900},{"type":138,"tag":431,"props":4169,"children":4170},{"style":464},[4171],{"type":144,"value":1030},{"type":138,"tag":431,"props":4173,"children":4174},{"class":433,"line":444},[4175],{"type":138,"tag":431,"props":4176,"children":4177},{"emptyLinePlaceholder":490},[4178],{"type":144,"value":493},{"type":138,"tag":431,"props":4180,"children":4181},{"class":433,"line":486},[4182,4186,4190,4194,4198,4202],{"type":138,"tag":431,"props":4183,"children":4184},{"style":1051},[4185],{"type":144,"value":1054},{"type":138,"tag":431,"props":4187,"children":4188},{"style":475},[4189],{"type":144,"value":1059},{"type":138,"tag":431,"props":4191,"children":4192},{"style":464},[4193],{"type":144,"value":1064},{"type":138,"tag":431,"props":4195,"children":4196},{"style":990},[4197],{"type":144,"value":1069},{"type":138,"tag":431,"props":4199,"children":4200},{"style":1072},[4201],{"type":144,"value":1003},{"type":138,"tag":431,"props":4203,"children":4204},{"style":475},[4205],{"type":144,"value":4206},"(\n",{"type":138,"tag":431,"props":4208,"children":4209},{"class":433,"line":496},[4210,4215,4220,4224],{"type":138,"tag":431,"props":4211,"children":4212},{"style":464},[4213],{"type":144,"value":4214},"  \"",{"type":138,"tag":431,"props":4216,"children":4217},{"style":453},[4218],{"type":144,"value":4219},"connector-id",{"type":138,"tag":431,"props":4221,"children":4222},{"style":464},[4223],{"type":144,"value":900},{"type":138,"tag":431,"props":4225,"children":4226},{"style":464},[4227],{"type":144,"value":1264},{"type":138,"tag":431,"props":4229,"children":4230},{"class":433,"line":40},[4231],{"type":138,"tag":431,"props":4232,"children":4233},{"style":438},[4234],{"type":144,"value":4235},"  \u002F\u002F Optional params:\n",{"type":138,"tag":431,"props":4237,"children":4238},{"class":433,"line":93},[4239],{"type":138,"tag":431,"props":4240,"children":4241},{"style":464},[4242],{"type":144,"value":4243},"  {\n",{"type":138,"tag":431,"props":4245,"children":4246},{"class":433,"line":528},[4247,4252,4256,4260,4265],{"type":138,"tag":431,"props":4248,"children":4249},{"style":1108},[4250],{"type":144,"value":4251},"    subject",{"type":138,"tag":431,"props":4253,"children":4254},{"style":464},[4255],{"type":144,"value":1116},{"type":138,"tag":431,"props":4257,"children":4258},{"style":464},[4259],{"type":144,"value":998},{"type":138,"tag":431,"props":4261,"children":4262},{"style":464},[4263],{"type":144,"value":4264}," ...",{"type":138,"tag":431,"props":4266,"children":4267},{"style":464},[4268],{"type":144,"value":4269}," },\n",{"type":138,"tag":431,"props":4271,"children":4272},{"class":433,"line":537},[4273],{"type":138,"tag":431,"props":4274,"children":4275},{"style":464},[4276],{"type":144,"value":1370},{"type":138,"tag":431,"props":4278,"children":4279},{"class":433,"line":1185},[4280,4284],{"type":138,"tag":431,"props":4281,"children":4282},{"style":475},[4283],{"type":144,"value":718},{"type":138,"tag":431,"props":4285,"children":4286},{"style":464},[4287],{"type":144,"value":1030},{"type":138,"tag":4289,"props":4290,"children":4291},"style",{},[4292],{"type":144,"value":4293},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4295,"total":4474},[4296,4318,4332,4351,4362,4377,4393,4411,4423,4442,4454,4464],{"slug":4297,"name":4297,"fn":4298,"description":4299,"org":4300,"tags":4301,"stars":4315,"repoUrl":4316,"updatedAt":4317},"next-cache-components-adoption","enable and migrate to Next.js Cache Components","Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender \u002F instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4302,4305,4308,4311,4314],{"name":4303,"slug":4304,"type":15},"Caching","caching",{"name":4306,"slug":4307,"type":15},"Frontend","frontend",{"name":4309,"slug":4310,"type":15},"Migration","migration",{"name":4312,"slug":4313,"type":15},"Next.js","next-js",{"name":9,"slug":8,"type":15},141208,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fnext.js","2026-07-24T05:38:30.118542",{"slug":4319,"name":4319,"fn":4320,"description":4321,"org":4322,"tags":4323,"stars":4315,"repoUrl":4316,"updatedAt":4331},"next-cache-components-optimizer","optimize Next.js cache components","Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components \u002F PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next\u002Fplaywright instant() e2e and work it to green, one verified route at a time; the shipped test then guards against regression. Use when asked to make a route's navigation instant (its static shell commits immediately), fix a route whose static shell isn't prerendered\u002Fserved\u002Fprefetched, grow a route's static shell or fix its slow first paint, diagnose which Suspense boundary keeps a route out of its static shell, or write the instant() e2e guard for one. Requires Next.js 16.3+ with cacheComponents; directs an upgrade if older.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4324,4325,4326,4327,4330],{"name":4303,"slug":4304,"type":15},{"name":4306,"slug":4307,"type":15},{"name":4312,"slug":4313,"type":15},{"name":4328,"slug":4329,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-07-30T05:31:10.674078",{"slug":4333,"name":4333,"fn":4334,"description":4335,"org":4336,"tags":4337,"stars":4315,"repoUrl":4316,"updatedAt":4350},"next-dev-loop","verify Next.js runtime behavior","Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines \u002F_next\u002Fmcp (Next.js's view) with agent-browser (the browser's view). Requires a running `next dev`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4338,4341,4342,4345,4346,4347],{"name":4339,"slug":4340,"type":15},"Debugging","debugging",{"name":4306,"slug":4307,"type":15},{"name":4343,"slug":4344,"type":15},"Local Development","local-development",{"name":4312,"slug":4313,"type":15},{"name":9,"slug":8,"type":15},{"name":4348,"slug":4349,"type":15},"Web Development","web-development","2026-05-22T06:45:28.627735",{"slug":4352,"name":4352,"fn":4353,"description":4354,"org":4355,"tags":4356,"stars":4315,"repoUrl":4316,"updatedAt":4361},"next-partial-prefetching-adoption","adopt Partial Prefetching in Next.js apps","Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the `partialPrefetching` flag, opt routes in with `export const prefetch = 'partial'`, audit `\u003CLink prefetch={true}>` calls, or resolve the link-prefetch-partial and instant-shell-url-data insights.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4357,4358,4359,4360],{"name":4306,"slug":4307,"type":15},{"name":4312,"slug":4313,"type":15},{"name":4328,"slug":4329,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:31:11.591864",{"slug":4363,"name":4363,"fn":4364,"description":4365,"org":4366,"tags":4367,"stars":4374,"repoUrl":4375,"updatedAt":4376},"turborepo","manage monorepos with Turborepo","Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \"turbo\" CLI, --filter, --affected, CI optimization, environment\nvariables, internal packages, monorepo structure\u002Fbest practices, and boundaries.\n\nUse when user: configures tasks\u002Fworkflows\u002Fpipelines, creates packages, sets up\nmonorepo, shares code between apps, runs changed\u002Faffected packages, debugs cache,\nor has apps\u002Fpackages directories.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4368,4371,4372],{"name":4369,"slug":4370,"type":15},"CI\u002FCD","ci-cd",{"name":4328,"slug":4329,"type":15},{"name":4373,"slug":4363,"type":15},"Turborepo",30809,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fturborepo","2026-07-30T05:32:14.920116",{"slug":4378,"name":4378,"fn":4379,"description":4380,"org":4381,"tags":4382,"stars":4390,"repoUrl":4391,"updatedAt":4392},"add-function-examples","add AI function examples for testing","Guide for adding new AI function examples, for testing specific features against the actual provider APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4383,4386,4389],{"name":4384,"slug":4385,"type":15},"AI SDK","ai-sdk",{"name":4387,"slug":4388,"type":15},"Testing","testing",{"name":9,"slug":8,"type":15},25670,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai","2026-04-06T18:55:51.318866",{"slug":4394,"name":4394,"fn":4395,"description":4396,"org":4397,"tags":4398,"stars":4390,"repoUrl":4391,"updatedAt":4410},"add-harness-package","add AI SDK harness packages","Guide for adding new AI SDK harness packages. Use when creating a new @ai-sdk\u002Fharness-\u003Cname> package that adapts a coding-agent runtime to HarnessV1.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4399,4402,4403,4406,4409],{"name":4400,"slug":4401,"type":15},"Agents","agents",{"name":4384,"slug":4385,"type":15},{"name":4404,"slug":4405,"type":15},"Harness","harness",{"name":4407,"slug":4408,"type":15},"SDK","sdk",{"name":9,"slug":8,"type":15},"2026-06-18T08:29:19.858737",{"slug":4412,"name":4412,"fn":4413,"description":4414,"org":4415,"tags":4416,"stars":4390,"repoUrl":4391,"updatedAt":4422},"add-provider-package","add new provider packages to AI SDK","Guide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk\u002F\u003Cprovider> package to integrate an AI service into the SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4417,4418,4421],{"name":4384,"slug":4385,"type":15},{"name":4419,"slug":4420,"type":15},"API Development","api-development",{"name":9,"slug":8,"type":15},"2026-04-06T18:55:47.45549",{"slug":4424,"name":4424,"fn":4425,"description":4426,"org":4427,"tags":4428,"stars":4390,"repoUrl":4391,"updatedAt":4441},"adr-skill","create and maintain architecture decision records","Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept\u002Freject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4429,4432,4435,4438],{"name":4430,"slug":4431,"type":15},"ADR","adr",{"name":4433,"slug":4434,"type":15},"Architecture","architecture",{"name":4436,"slug":4437,"type":15},"Documentation","documentation",{"name":4439,"slug":4440,"type":15},"Engineering","engineering","2026-04-06T18:55:50.043694",{"slug":4385,"name":4385,"fn":4443,"description":4444,"org":4445,"tags":4446,"stars":4390,"repoUrl":4391,"updatedAt":4453},"build AI features with Vercel AI SDK","Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4447,4448,4449,4452],{"name":4400,"slug":4401,"type":15},{"name":4384,"slug":4385,"type":15},{"name":4450,"slug":4451,"type":15},"LLM","llm",{"name":9,"slug":8,"type":15},"2026-04-06T18:55:48.739463",{"slug":4455,"name":4455,"fn":4456,"description":4457,"org":4458,"tags":4459,"stars":4390,"repoUrl":4391,"updatedAt":4463},"capture-api-response-test-fixture","capture API response test fixtures","Capture API response test fixture.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4460,4461,4462],{"name":4419,"slug":4420,"type":15},{"name":4387,"slug":4388,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:56.374433",{"slug":4465,"name":4465,"fn":4466,"description":4467,"org":4468,"tags":4469,"stars":4390,"repoUrl":4391,"updatedAt":4473},"develop-ai-functions-example","develop AI SDK function examples","Develop examples for AI SDK functions. Use when creating, running, or modifying examples under examples\u002Fai-functions\u002Fsrc to validate provider support, demonstrate features, or create test fixtures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4470,4471,4472],{"name":4384,"slug":4385,"type":15},{"name":4387,"slug":4388,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:55.088956",68,{"items":4476,"total":4570},[4477,4492,4505,4520,4533,4546,4559],{"slug":4478,"name":4478,"fn":4479,"description":4480,"org":4481,"tags":4482,"stars":26,"repoUrl":27,"updatedAt":4491},"ai-gateway","configure and manage Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4483,4486,4489,4490],{"name":4484,"slug":4485,"type":15},"AI Infrastructure","ai-infrastructure",{"name":4487,"slug":4488,"type":15},"Cost Optimization","cost-optimization",{"name":4450,"slug":4451,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:06.57787",{"slug":4493,"name":4493,"fn":4494,"description":4495,"org":4496,"tags":4497,"stars":26,"repoUrl":27,"updatedAt":4504},"auth","integrate authentication in Next.js apps","Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in\u002Fsign-up flows, and Marketplace provisioning. Use when implementing user authentication.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4498,4500,4501,4502,4503],{"name":4499,"slug":92,"type":15},"Auth0",{"name":21,"slug":22,"type":15},{"name":4312,"slug":4313,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:17.050565",{"slug":4506,"name":4506,"fn":4507,"description":4508,"org":4509,"tags":4510,"stars":26,"repoUrl":27,"updatedAt":4519},"bootstrap","bootstrap Vercel-linked repositories","Project bootstrapping orchestrator for repos that depend on Vercel-linked resources (databases, auth, and managed integrations). Use when setting up or repairing a repository so linking, environment provisioning, env pulls, and first-run db\u002Fdev commands happen in the correct safe order.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4511,4514,4517,4518],{"name":4512,"slug":4513,"type":15},"Configuration","configuration",{"name":4515,"slug":4516,"type":15},"Deployment","deployment",{"name":4343,"slug":4344,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:18.297868",{"slug":4521,"name":4521,"fn":4522,"description":4523,"org":4524,"tags":4525,"stars":26,"repoUrl":27,"updatedAt":4532},"cdn-caching","debug Vercel CDN caching behavior","Debug Vercel CDN caching — cache hit rate, stale content, revalidation behavior, ISR + PPR, per-request cache reasons (cacheReason) and PPR state (ppr_state), and costs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4526,4527,4530,4531],{"name":4303,"slug":4304,"type":15},{"name":4528,"slug":4529,"type":15},"Observability","observability",{"name":4328,"slug":4329,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:31:34.628944",{"slug":4534,"name":4534,"fn":4535,"description":4536,"org":4537,"tags":4538,"stars":26,"repoUrl":27,"updatedAt":4545},"chat-sdk","build multi-platform chatbots with Vercel","Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4539,4540,4543,4544],{"name":4400,"slug":4401,"type":15},{"name":4541,"slug":4542,"type":15},"Messaging","messaging",{"name":4407,"slug":4408,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:26.921901",{"slug":4547,"name":4547,"fn":4548,"description":4549,"org":4550,"tags":4551,"stars":26,"repoUrl":27,"updatedAt":4558},"deployments-cicd","manage Vercel deployments and CI\u002FCD","Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4552,4553,4554,4557],{"name":4369,"slug":4370,"type":15},{"name":4515,"slug":4516,"type":15},{"name":4555,"slug":4556,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:22.054263",{"slug":4560,"name":4560,"fn":4561,"description":4562,"org":4563,"tags":4564,"stars":26,"repoUrl":27,"updatedAt":4569},"env-vars","manage Vercel environment variables","Vercel environment variable expert guidance. Use when working with .env files, vercel env commands, OIDC tokens, or managing environment-specific configuration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4565,4566,4567,4568],{"name":4512,"slug":4513,"type":15},{"name":4555,"slug":4556,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:28.150777",29]