# Set the File Event Listener engine

The File Event Listener Engine is configured by going to **Setup** → **STENG, Clusters and Servers** → **Primeur Engine** and clicking the **NEW SERVER** button.

In the **Select the protocol of your new server** window:

1. Click **File Event Listener** at the bottom.
2. Enter the **Server Name** and **Description** for the File Event Listener.
3. Select the **Cluster**, if more than one is available.
4. Click **SAVE** to confirm the creation of the File Event Listener profile.
5. Once created, the File Event Listener status is set to STOP, so you must start it manually. If you have more than one peer, manually start the File Event Listener in every peer.

When done, the File Event Listener profile will appear in the dedicated **PRIMEUR ENGINE tab**.

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

Clicking the **File Event Listener card**, a panel with further information will appear in the top-right corner. In this panel, use the pencil icon to **edit** the server Description and Status.\
If you need to **delete** the server, click the bin icon.\
**Only one File Event Listener Engine per STENG cluster can exist.** If you try to create a second File Event Listener profile, an error message will appear warning you that the File Event Listener Engine profile already exists.\
The File Event Listener Engine runtime behavior is active/passive: **peers coordinate to elect the leader** and ensure that at any given time just one peer holds the leader role and polls directories, while all other peers will stand by, waiting to take over the role of leader in case the current leader has crashed or is shut down.

{% hint style="info" %}

#### After setting the File Event Listener Engine

Creating, modifying, and deleting a File Event Listener Worker does not require the File Event Listener Engine to be restarted and does not impact other workers that continue to work normally.
{% endhint %}


---

# 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.primeur.com/data-mover-1.21/file-event-listener/configure-the-file-event-listener/set-the-file-event-listener-engine.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.
