Vercel
Connect
Connect Vercel from the terminal. Pass --help for the flags Vercel accepts, plus --no-browser for headless environments.
polylane cloud connect --provider vercelPolylane integration installed from the Vercel Marketplace, plus an optional access token for metrics and logs.
Connect Vercel by installing the Polylane integration on your team or personal account. The integration uses Vercel's OAuth flow, so you must connect it from the console.
- Click Continue to Vercel to open the integration page.
- Select the team or personal account to connect.
- Choose the projects that Polylane can read, or give access to all projects.
- Click Install to confirm. Polylane starts the first sync.
- Add an access token for metrics and request logs (optional, recommended). Polylane shows the steps after the install.
Vercel gives runtime metrics and request logs only to a personal access token, not to an integration. Create a token named Polylane with No Expiration, scoped to the full account or to a team with all projects. Polylane refuses a token scoped to one project. You can add, replace or remove the token later in the Access token card on the account's Settings tab.
If you start the install from Vercel, sign in to the console when Polylane asks, select a workspace, and click Connect.
How it works
Infrastructure graph
Polylane maps each project in the selected scope, and for each project:
- The deployment that serves production. When preview monitoring is on, Polylane keeps the latest deployment of any target instead.
- Domains with their DNS records and certificates, aliases, custom environments, cron jobs, Vercel Services, Workflows, sandboxes and feature flags.
- The names of environment variables. Polylane reads values only to find which databases and services a project connects to, and Vercel redacts secret values.
At the account level, it maps Edge Config stores, Blob stores, drains, webhooks, AI Gateway, shared environment variables, Secure Compute networks and microfrontends groups.
Vercel sends a webhook to Polylane for deployments, project and domain changes, environment variable changes, rolling releases, flag changes and changes to the integration scope. Polylane collects the webhooks for two minutes, then syncs the account once. You can also sync the account from its page.
Deploys and rollbacks
Each finished deployment (ready, error or canceled) becomes a deploy event that agents compare with errors. An instant rollback also becomes a deploy event, and the graph follows production back to the older deployment.
Metrics, logs and checks
Every 30 minutes by default, Polylane checks the deployment failure rate of each account. It covers production deployments, and preview deployments too when preview monitoring is on.
With the access token, Polylane also reads request logs and the Vercel Observability API. It then checks requests, function errors and duration, cron errors, Workflow failures, AI Gateway errors and cost, and firewall activity. Charts and these checks need Observability Plus on the team. Request logs work without it.
Alerts
When Vercel sends an anomaly alert to the integration, Polylane turns it into an issue, and a new issue starts an investigation. Repeats of the same alert go to the same issue.
Agents and writes
During an investigation, agents read deployments, build events, metrics and the Vercel API. The account starts as Read-only in Polylane. A workspace admin can turn it off, so that agents can request writes such as a redeploy, an alias change or an environment variable change. Each write needs a safety review and your approval before it runs.
Disconnecting
Remove the Polylane integration from your Vercel account under Settings → Integrations. Polylane then deletes the account and its graph data.
If you disconnect the account in Polylane instead, Polylane deletes the account and stops syncing, but the integration stays installed in Vercel. Remove it there too. Also delete the access token in Vercel if you added one.
Disconnect
Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what Vercel's API lets it remove. The following stays until you remove it yourself:
- Vercel integration configuration
polylane cloud disconnect <id>Tools
3Operations agents can perform in threads.
Supported resources
30Resource types that show up in your infrastructure graph.