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