---
title: Connect Cloudflare
url: /docs/ai/agents/integrations/cloudflare/
---


Connect Cloudflare so an agent can work with the Cloudflare API, including DNS and Workers. You need an account-owned Cloudflare API token.

## Create the credentials

1. In Cloudflare, open **Manage Account** > **Account API Tokens** and create an account-owned token.
1. Include **Account Resources: Read** so the MCP server can identify the account. Grant the token access only to the accounts, zones, and actions the agent needs.

## Connect Cloudflare

To connect Cloudflare, you need permission to manage organization integrations (`org_integrations:update`):

1. Open **Agent settings** > **Integrations** > **MCP servers**.
1. Find **Cloudflare** under **Available** and select **Authorize**.
1. Enter the **Account API Token**, then select **Save**.

Before you assign a task to an agent your team created, [select Cloudflare in the agent's integrations](/docs/ai/agents/configure/#select-integrations). Neo tasks have access to Cloudflare by default; turn it off in the task composer when a task doesn't need it.

