# Connect with Cloudflare connect - Agent Delivery Network | Agent Delivery Network

<!-- adn:geo-lead -->
> Use **Cloudflare connect** when your public DNS and edge already run on **your** Cloudflare zone. ADN installs a **Snippet** and tiered WAF skip rule in that zone via OAuth. Browse

<!-- /adn:geo-lead -->

[Back to Help](/help)

Use **Cloudflare connect** when your public DNS and edge already run on **your** Cloudflare zone. ADN installs a **Snippet** and tiered WAF skip rule in that zone via OAuth. Browsers can stay entirely on your origin stack while agents get ADN responses at the edge.

## When to choose this

• Cloudflare is already authoritative for the site zone

• You want grey-cloud DNS only at Cloudflare (no www CNAME to ADN)

• Your team prefers OAuth plus Snippet over changing www DNS

## Wizard steps

1. Complete **Prove ownership** with the TXT record and **Check now**.

2. On **Choose how to connect**, select **Cloudflare connect** and press **Next**.

3. On **Connect**, follow the Cloudflare wizard (legal acceptance may appear inside the wizard).

4. **Continue to go live**, then confirm the first agent request.

## Step-by-step on Connect

### 1. Connect Cloudflare

1. Press **Connect Cloudflare** (or **Reconnect** if the token expired).

2. Complete the OAuth flow and grant zone access for the domain you are onboarding.

### 2. Pick zone and install

1. Confirm the correct Cloudflare **zone** matches your domain.

2. Press **Install ADN Snippet** (wording may read **Install snippet** in the wizard).

3. Wait until the dashboard shows the Snippet installed timestamp.

### 3. Simulate (optional QA)

If your account has connector simulate enabled, use **Simulate agent request** on the Connect panel to validate routing before live crawlers arrive.

### 4. Origin access

1. Open **Domain settings → Connect → Origin access**.

2. Allow ADN corpus traffic (Web Bot Auth, `x-adn-crawler-token`, User-Agent `ADN-Corpus/1.1`).

3. Run **Test fetch** until it succeeds.

## Notes

• OAuth should return to the same **Connect** step. Use **Continue setup** on **Domains** if you left mid-flow.

• After install, hard refresh once if setup pills look stale. Snippet content rolls hourly; you do not reinstall manually.

• DNS connect is still available if you later want www on ADN without the Snippet.

• Pay-per-crawl requires named AI crawlers to reach ADN without an upstream 403. See [Allow AI crawlers through to ADN](/help/kb/ai-crawler-edge-blocks).

## Related

• [Connection methods compared](/help/connection-methods)

• [Dashboard status badges and smoke tests](/help/kb/dashboard-status-badges-and-smoke-tests)