# Netlify

<div style={{maxWidth: '720px'}}>
![The Netlify connector in Workspace Settings, for projects, environment variables, forms, and extensions, with a Connect button](</docs/_next/static/media/netlify-connector.3gp_mnot-k6eh.jpg>)
</div>

[Netlify MCP](https://docs.netlify.com/welcome/build-with-ai/netlify-mcp-server/) lets agents work with your Netlify account directly. Agents can set up a project, deploy the code they just wrote, and check that the deploy went live, without you leaving the chat.

For use cases and example prompts, see [Netlify for AI coding agents](/integrations/netlify).

## What is Netlify? [#what-is-netlify]

[Netlify](https://www.netlify.com) is a platform for building, deploying, and hosting websites and web apps.

## What agents can do [#what-agents-can-do]

Once you connect Netlify, agents can:

- Create Netlify projects and find existing ones
- Deploy a repository and follow the deploy until it finishes
- Read and update environment variables and secrets
- Manage access controls, forms, and extensions
- Look up user and team information

## Setup [#setup]

Go to **Workspace Settings → Connectors** (or a project's **Connectors** page). Click **Add**, search for Netlify, and select it. You can also click **Connect** on the Netlify card, or **Connect another** to add another account.

### Step 1: who the connection is for [#step-1-who-the-connection-is-for]

Choose **Me** or **Workspace** as the owner, then choose which agents can use the connection. The default is **Me**, with **My personal assistants** selected. From a project's **Connectors** page, only **In this project** is selected instead. Enable **Team assistants** or **Agents in projects** separately. Anyone in the workspace can use the connection through the team assistants you pick, and anyone with access to the projects you pick can use it, including in sessions they launch themselves. See [connection options](/docs/integrations/connectors#fill-in-the-connection-details) for what each choice means.

Click **Continue**.

### Step 2: how agents reach Netlify [#step-2-how-agents-reach-netlify]

The second screen has two tabs: **Netlify account** and **Access token**. Pick one.

#### Netlify account [#netlify-account]

This tab is selected by default, and it's the easiest way in — there's no key to create.

Click **Continue to Netlify**. Netlify asks you to sign in and approve access. Approve, and you land back on the Connectors page with **Netlify connected**.

Agents then act in Netlify as whoever signed in, so they can see and change everything that person can. If you enable **In projects**, anyone with access to those projects can use that account — so sign in with an account whose permissions you're happy to share.

#### Access token [#access-token]

In Netlify, open **User settings → OAuth → Personal access tokens** (or go straight to [Netlify applications](https://app.netlify.com/user/applications#personal-access-tokens)) and click **New access token**. Paste it into the **Netlify Personal Access Token** field and click **Connect Netlify**.

## Reconnecting and disconnecting [#reconnecting-and-disconnecting]

If an account connection stops working, the Connectors page shows a **Reconnect needed** badge on it, and agents run without Netlify.

To fix it, click **Manage** next to the connection, then **Reconnect Netlify**, and sign in again. You can only reconnect a personal connection you own; for someone else's, Superconductor tells you who to ask.

A pasted access token that Netlify stops accepting doesn't show **Reconnect needed**. Agents' Netlify calls fail until you paste a new token under **Manage** and click its **Save** button.

Netlify has no way for Superconductor to revoke an account connection, so after you click **Disconnect**, remove the access in your Netlify user settings to finish the job. For an access token, delete the token in Netlify.

## When to use it [#when-to-use-it]

Ask agents to use Netlify when a ticket involves deploying a site, setting up a new Netlify project, changing environment variables, or checking why a deploy failed. For example:

```text
Create a new Netlify project for this repo and deploy it. Send me the live URL once the deploy finishes.
```

```text
Our last Netlify deploy failed. Read the deploy log, fix the build, and redeploy.
```