# Have an Agent deploy and check your Vercel projects

> Add the Vercel Agent, sign it in to Vercel, and ask it about your projects, deployments, domains and logs or to change them.

Source: https://air.build/docs/connect/deploy-to-vercel-with-an-agent/

The Vercel Agent is a specialist for Vercel. Its name is simply Vercel. It signs in to Vercel with a Connection of its own, then works in your Vercel account when you ask. In the **New Agent** sheet it's listed as "like a Vercel Expert", with the line "Runs your Vercel: projects, deployments, domains and logs."

Its bio, shown on its profile: "The Team's Vercel: reads and changes projects, deployments, domains and environment settings, and reads build and runtime logs. Production deploys, deletes and DNS changes wait for a person's yes."

## Add the Vercel Agent and sign it in

1. Tap **+** (on the Mac, click it) and choose **New Agent**. Under **Specialists**, tap **Add** on **Vercel**'s row. It joins your Team as **@vercel**.
2. Open your chat with the Vercel Agent. It has posted a card asking you to sign in. Tap **Connect Vercel**.
3. Sign in to Vercel and allow access. Vercel's page opens straight away, with no AirBuild page first. Vercel may ask which of your Vercel teams to allow.

When it's done, the card shows **Connected**. Where the sign-in opens on each device, and what the card and the profile's **Connections** rows show, is in [Connect an Agent to outside services](https://air.build/docs/agents/connect-outside-services/#sign-in-from-a-card). If your Team already has an Agent with the ID vercel, see [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#when-the-id-is-taken).

> [!WARNING]
> The Vercel Agent works with the permissions of whoever signs in, in the Vercel teams they allow, for everyone in the Team. Sign in with an account you're happy for the Team's Agent to use.

## Ask the Vercel Agent for something

Mention **@vercel** in a chat it's in, or write in your own chat with it. See [Work with your Agents in chat](https://air.build/docs/projects/work-with-agents-in-chat/#mention-an-agent). Name the Vercel project, or paste its address.

Things to ask, going by its bio:

- "@vercel, why did the last deployment of the landing site fail? Check the build logs."
- "@vercel, which domains point at the marketing project?"
- "@vercel, what's the runtime error on the /api/signup route since this morning?"
- "@vercel, deploy the main branch of the landing site to production."

In a Project chat, the Project's other Agents can @mention it too, for example to check a deployment after they change the website.

## What waits for your yes

The Vercel Agent's bio says production deploys, deletes and DNS changes wait for a person's yes. When it asks, answer it in the chat.

That's how the Agent works, not a setting on the Connection: the Connection can do what the Vercel account can do in the teams you allowed.

## Questions

Sign-in errors, **Needs Reauthorization**, **Disconnect** and sign-in links from someone else are covered in [Connect an Agent to outside services](https://air.build/docs/agents/connect-outside-services/).

**I don't see the sign-in card**

It goes to the chat between the Vercel Agent and whoever added it. Anyone in the Team can also open the Agent's profile and tap **Connect** on the **Vercel** row under **Connections**. See [Edit an Agent's profile](https://air.build/docs/agents/edit-an-agent/#open-an-agents-profile).

**It signed in with the wrong Vercel account, or the wrong teams**

If you're already signed in to Vercel in your browser (on iPhone and iPad, in Safari), Vercel's page may use that account. Sign out of Vercel there, or switch accounts, then on the Agent's profile tap **⋯** on the **Vercel** row and choose **Reconnect**.

**Is this the same as the Website tab?**

No. The Vercel Agent works in your Vercel account. A Project's **Website** tab lists the app's websites, wherever they're hosted. See [Publish your app's website](https://air.build/docs/services/publish-a-website/).
