# Installation via Cloudflare UI

### Prerequisites

To successfully integrate using Netacea, please ensure you have:

1. An active Cloudflare account with access to the Cloudflare Dashboard.
2. A “Paid” Cloudflare subscription, in order to avoid any issues with request-limits etc.
3. Access to the Cloudflare Workers product.
4. A webpack compiled code bundle provided by Netacea.

### **Implementation Steps**

Netacea will provide a Webpack compiled Worker that will be provisioned with all of the relevant API information. The following will detail how to to upload the Worker to Cloudflare.

### Create Worker <a href="#create-worker" id="create-worker"></a>

You will need to create a new service (Worker) on the account for the protected domain. Navigate to the website within the account, then Workers > Overview > Create.

<figure><img src="/files/7m9ixHuRwjfHG6DZJHya" alt=""><figcaption></figcaption></figure>

You will then be given multiple template options to chose from. As we we will be adding the code separately, we can chose Create Worker.\ <br>

<figure><img src="/files/AjSKiZJqHzlCNnJ3WJ1s" alt=""><figcaption></figcaption></figure>

Give a meaningful name to your Worker and click “Deploy”.

<figure><img src="/files/a9PbxIKBagpFjkxXSmEI" alt=""><figcaption></figcaption></figure>

### Edit Worker <a href="#edit-worker" id="edit-worker"></a>

On the newly-created Worker summary page, select “Edit Code”

<figure><img src="/files/vBiNJKKf9tsDW8th8Uml" alt=""><figcaption></figcaption></figure>

On the edit page, copy paste the bundled Worker JavaScript code and click Save or Deploy.

<figure><img src="/files/Cs8om0g4y2LuokBZNJDm" alt=""><figcaption></figcaption></figure>

### Create Trigger(s) <a href="#create-trigger-s" id="create-trigger-s"></a>

Exit the edit view, navigate to the “Settings” tab of the Worker, select “Domains 🙴 Routes” and then click "+Add" button to proceed.

<figure><img src="/files/YYlIEFOETIgpxqt6LCPZ" alt=""><figcaption></figcaption></figure>

After this a popup will appear, prompting you to select Route.

<figure><img src="/files/bV8OUEhDozAYgYnHzTU9" alt=""><figcaption></figcaption></figure>

Add the route (domain/path) that should trigger this Worker.

<figure><img src="/files/ILwPYQyNE40DHWXXR3zb" alt=""><figcaption></figcaption></figure>

You can then check what Workers are running and on what particular routes by checking the information in the center of the page:

Once you have verified that the Worker has been deployed to your route, the implementation has been completed.

### Test the Worker <a href="#test-the-worker" id="test-the-worker"></a>

To test that the Worker is working visit the integrated domain (route) and generate user traffic.

{% hint style="info" %}
***Note:** If you are encountering issues with **Workers*** ***not triggering** on a specified route, please ensure that the DNS settings for that route (DNS Record) have the **Proxy Status** (also known as orange-clouding)* *set to “**Proxied**” (enabled).*
{% endhint %}

<figure><img src="/files/XIPkXQMiXzzZthTJWyJX" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.netacea.com/netacea-plugin-information/cloudflare/installation-and-configuration/installation-via-cloudflare-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
