# Configuration in Pandora

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

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

```
/etc/pandora/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:**

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

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

<p class="callout info">For each parameter a macro must be configured, being the syntax of this macro the following : \_fieldx\_, where x is the positional number of the parameter, for example in the following image we see the parameters that are necessary to use to subscribe to a topic and receive messages.</p>

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

**5. Configure the above macros, adding in each one the value of the parameter:**

[![imagen.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/scaled-1680-/sDmimagen.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-01/sDmimagen.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, give it a name, select the previously configured plugin and click on "create".**

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

**8.In the agent selected with the --agent\_name parameter, a new module of list format will be created, which will contain the messages received by the plugin execution.**

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