Skip to main content

Overview

Connect Netlify to Continue Mission Control to enable agents to manage deployments, monitor site performance, and automate your continuous deployment pipeline. When Netlify is enabled, Continue can trigger builds, manage environments, and respond to deployment events.

What You Can Do with Netlify Integration

  • Automatically trigger and monitor deployments
  • Manage environment variables and build settings
  • Create and test deploy previews
  • Monitor site performance and uptime
  • Automate rollback on errors or failed tests
  • Generate deployment reports and notifications

Setup

1

Navigate to Integrations

2

Connect Netlify

Click “Connect” next to Netlify. You’ll need:
  • Personal Access Token: Generate from Netlify account settings
3

Generate Netlify Access Token

To create a personal access token:
  1. Log into your Netlify account
  2. Go to User SettingsApplicationsPersonal access tokens
  3. Click “New access token”
  4. Give it a descriptive name (e.g., “Continue Mission Control”)
  5. Copy the token immediately
4

Add Token to Mission Control

Paste your access token into the integration form and click “Create Connection”
Token Scope: Personal access tokens have full access to your Netlify account. Create a token specifically for Continue to maintain security and easy revocation if needed.

Use Cases

Automated Deployment Management

Create agents that manage your deployment pipeline:

Deployment Manager Agent

Task Example: “Deploy the staging branch to preview environment and run smoke tests”What the Agent Does:
  • Triggers Netlify build for specified branch
  • Monitors build progress and logs
  • Runs automated tests on deploy preview
  • Reports results and preview URL
Run in Mission Control: Trigger on PR creation or manual request

Environment Configuration

Automate environment variable management:

Config Sync Agent

Task Example: “Sync environment variables from .env.example to all Netlify sites”What the Agent Does:
  • Reads environment variable definitions
  • Updates Netlify site settings
  • Verifies variables are set correctly
  • Triggers rebuild if necessary
Run in Mission Control: Run after config updates or schedule periodic audits

Performance Monitoring

Track and respond to site performance issues:

Performance Guard Agent

Task Example: “Monitor production deployment and rollback if Core Web Vitals degrade”What the Agent Does:
  • Tracks deployment performance metrics
  • Compares against baseline thresholds
  • Automatically rolls back if issues detected
  • Creates incident report with details
Run in Mission Control: Set up as continuous monitoring for production

Deploy Preview Testing

Automate testing of deploy previews:

Preview Tester Agent

Task Example: “Run visual regression tests on deploy preview and comment results on PR”What the Agent Does:
  • Waits for deploy preview to be ready
  • Executes test suite against preview URL
  • Captures screenshots and differences
  • Posts results as PR comment
Run in Mission Control: Trigger on deploy preview creation

Site Health Monitoring

Proactively monitor site availability and health:

Site Monitor Agent

Task Example: “Check all production sites every hour and create alerts for downtime or errors”What the Agent Does:
  • Pings production sites to verify availability
  • Checks for broken links or 500 errors
  • Monitors SSL certificate expiration
  • Creates incidents for issues found
Run in Mission Control: Schedule hourly health checks

Automated Rollback

Implement intelligent rollback strategies:

Smart Rollback Agent

Task Example: “Monitor error rates after deployment and rollback if errors exceed 1%”What the Agent Does:
  • Tracks error metrics post-deployment
  • Analyzes error patterns and severity
  • Triggers rollback to previous version if threshold exceeded
  • Notifies team with incident details
Run in Mission Control: Set up as post-deployment monitoring

Running Netlify Agents in Mission Control

You can run Netlify-connected agents in two ways:

1. Manual Tasks

Trigger agents on-demand for deployment operations:
  1. Go to Mission Control Agents
  2. Select or create a Netlify-enabled agent
  3. Click “Run Agent” and provide your task description
  4. Monitor progress and review results in real-time
Example Tasks:
  • “Create a new deploy preview for the feature/redesign branch”
  • “List all sites and their current deployment status”
  • “Update production environment variables for API endpoints”

2. Automated Workflows

Set up agents to run automatically:
  • Event-triggered: Execute on Git push, PR creation, or deployment completion
  • Scheduled: Run daily site audits or weekly performance reviews
  • Threshold-based: Trigger on metric anomalies or build failures
Start with manual deployment tasks to validate your workflow, then automate repetitive deployment patterns and monitoring tasks.

Integration with GitHub

Combine Netlify with GitHub for complete CI/CD automation:
1

Connect Both Integrations

Enable both Netlify and GitHub integrations in Mission Control
2

Create a CI/CD Agent

Build an agent that:
  • Monitors GitHub for new PRs
  • Triggers Netlify deploy previews
  • Runs automated tests on preview
  • Updates PR status and adds preview URL
  • Manages production deployments on merge
3

Set Up Deployment Pipeline

Configure the agent to handle the entire deployment workflow automatically

Monitoring Agent Activity

Track your agent’s deployment automation:
  1. View in Mission Control: See all agent runs and deployment actions
  2. Check Netlify Dashboard: Verify builds and deployments
  3. Review Deploy Logs: Ensure builds complete successfully
  4. Monitor Metrics: Track deployment frequency and success rate

Troubleshooting

Problem: Agent can’t connect to Netlify APISolutions:
  • Verify personal access token is correct
  • Check that token hasn’t been revoked
  • Ensure token has necessary permissions
  • Try regenerating the token
Problem: Agent can’t trigger Netlify buildsSolutions:
  • Verify you have deploy permissions for the site
  • Check that the site exists and is accessible
  • Ensure build hooks are configured if using webhooks
  • Review Netlify API rate limits
Problem: Can’t update site environment variablesSolutions:
  • Confirm you have admin access to the site
  • Check variable name format (no spaces or special chars)
  • Ensure values are properly escaped
  • Verify API token has write permissions
Problem: Agent can’t locate deploy previewsSolutions:
  • Verify branch name is correct
  • Check that deploy previews are enabled for the site
  • Ensure the commit has triggered a build
  • Wait for build to complete before querying
Problem: Can’t retrieve site performance metricsSolutions:
  • Verify Netlify Analytics is enabled for the site
  • Check that your plan includes analytics access
  • Ensure time range for queries is valid
  • Review API documentation for metrics endpoints

Support & Resources