---
title: "Setup & Authentication"
description: "Cloudflare account Cloudflare API token with Workers permissions"
resource: https://www.aiagents.nexus/docs/manual/edge-deployment/setup
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# Edge Setup

## Prerequisites

- Cloudflare account
- Cloudflare API token with Workers permissions

## Login

```bash
naos edge login

# Enter Cloudflare Account ID: xxxxxxxx
# Enter Cloudflare API Token: xxxxxxxx
# ✓ Credentials verified and stored
```

## Configuration

```yaml
edge:
  provider: cloudflare
  accountId: ${CF_ACCOUNT_ID}
  routes:
    - pattern: "api.example.com/agents/*"
      zone: example.com
  durableObjects: true
  regions:
    - us
    - eu
    - asia
```
