> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Netlify

> Sites, deploys and DNS, with a token. The Netlify server above signs in instead.

Sites, deploys and DNS, with a token. The Netlify server above signs in instead.

## Connecting

In the dashboard, open **Connectors**, find Netlify and press **Connect**. The key you enter is checked against Netlify before anything is saved, so a key that is refused never becomes a connection that fails later.

### What you will need

| Field | What it is |
| - | - |
| Personal Access Token | Your Netlify personal access token |

### Getting the credential

1. Log in to [Netlify](https://app.netlify.com)
2. Go to **User settings** → **Applications** → **Personal access tokens**
3. Click **New access token**
4. Enter a description for your token
5. Click **Generate token**
6. Copy the generated token

## What your AI teammate can do with it

| Tool | What it does |
| - | - |
| `get_user` | Get current user information |
| `get_accounts` | List accounts you have access to |
| `get_sites` | List all sites |
| `get_site` | Get site details |
| `create_site` | Create a new site |
| `update_site` | Update site settings |
| `delete_site` | Delete a site |
| `get_deploys` | List site deployments |
| `get_deploy` | Get deployment details |
| `create_deploy` | Create a new deployment |
| `cancel_deploy` | Cancel a deployment |
| `restore_deploy` | Restore a previous deployment |
| `get_build_hooks` | List build hooks for a site |
| `create_build_hook` | Create a build hook |
| `trigger_build_hook` | Trigger a build hook |
| `get_forms` | List forms for a site |
| `get_form_submissions` | Get form submissions |
| `get_functions` | List serverless functions |
| `get_env_vars` | Get environment variables for a site |
| `create_env_var` | Create environment variable |
| `get_dns_zones` | List DNS zones |
| `get_dns_records` | List DNS records for a zone |

## Useful resources

* [Netlify documentation](https://docs.netlify.com/api/get-started/#authentication)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.