> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/traceable/agent-docs/cloudflare.md).

# Cloudflare Integration

This section provides comprehensive documentation for integrating Traceable with Cloudflare to secure and monitor your web applications and APIs. Choose the integration method that best fits your Cloudflare deployment.

## Integration Methods

### 1. Cloudflare Workers (Recommended)

Cloudflare Workers provide a serverless execution environment at the edge, enabling seamless integration with Traceable's security platform.

**Key Benefits:**

* Runs directly on Cloudflare's global network
* Minimal latency impact on your applications
* Scales automatically with your traffic

**Prerequisites:**

* Website available through Cloudflare (proxy mode required)
* Traceable Platform Agent (TPA) installed and accessible
* Valid TLS certificate on TPA (signed CA certificate required)

**Installation Steps:**

1. [Create and configure your Cloudflare Worker](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/InstallationSteps.md)
2. [Set up worker routes](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Configuration.md)

### 2. UI-Based Integration

For users who prefer a graphical interface, Traceable provides a UI-based installation process.

**Getting Started:**

* [UI Installation Guide](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/InstallationSteps.md)
* [Configuration Reference](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Configuration.md)
* [Troubleshooting](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Troubleshooting.md)

## Verification and Troubleshooting

After setting up the integration, verify that:

* The Cloudflare Worker is active and running
* Traffic is being properly routed through the Worker
* Data is being received by the Traceable Platform Agent

For common issues and solutions, refer to our [troubleshooting guide](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Troubleshooting.md).

## Deployment Architectures

Before installing, review the [Deployment Architectures](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/README.md) section for reference patterns on TPA connectivity/TLS, capture filtering, async export behavior, and choosing between UI and Terraform deployment.

## Quick Links

* [Deployment Architectures](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/README.md)
  * [TPA Connectivity and TLS](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/tpa-connectivity.md)
  * [Capture Filtering](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/capture-filtering.md)
  * [Async Export and Fail-Open Behavior](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/async-export.md)
  * [Deployment Topology](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/deployment-architectures/deployment-topology.md)
* [Install Options](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/README.md)
  * [UI](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/README.md)
    * [Configuration](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Configuration.md)
    * [Installation Steps](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/InstallationSteps.md)
    * [Troubleshooting](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Troubleshooting.md)
    * [Resources](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/resources/README.md)
  * [Terraform](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/terraform/README.md)
    * [Configuration](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/ui/Configuration.md)
    * [Installation Steps](https://github.com/harness/harness-developer-hub/tree/main/traceable-dc-agent/agent-docs/cloudflare/install-options/terraform/InstallationSteps.md)
