# Configuration in PandoraFMS

To configure the plugin in PandoraFMS, the following steps must be followed:

  
**1. Upload the plugin to PandoraFMS, for example in the following path:**

```
/usr/share/pandora_server/util/plugin
```

**2. Go to the plugins section and create a new one:**

[![imagen.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/scaled-1680-/VNOimagen.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/VNOimagen.png)

 **3. Name, description and timeout are added:**

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/scaled-1680-/zozimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/zozimage.png)

**4. The path of the plugin is added to the command and the necessary parameters for its execution.**

<p class="callout info">For each parameter a macro must be configured, the syntax of this macro being the following : \_fieldx\_, where x is the positional number of the parameter.</p>

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/scaled-1680-/sztimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/sztimage.png)

**5. The previous macros are configured, adding the value of the parameter in each one:**

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/scaled-1680-/RMBimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/RMBimage.png)

**6.** **Once configured, you should create a module in an agent that executes the plugin. In the modules menu of an agent we create a new plugin type module:**

[![imagen.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/scaled-1680-/503imagen.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/503imagen.png)

**7. In the module configuration menu, we name it, select the plugin configured before and click on "create".**

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/scaled-1680-/pheimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-06/pheimage.png)

**8. The agent will be created with the modules or the modules in the selected agent in the next execution of the plugin.**