# Previous configuration

Obtaining credentials necessary for the use of the plugin.

The plugin makes use of a .conf file in which three types of data can be entered.

<div id="bkmrk-%23credentialstenant_i">```
#credentials<br></br>tenant_id:<tenant_id><br></br>client_id:<client_id><br></br>secret:<secret><br></br>#id resources<br></br>account_id:<account_id><br></br>blobservice_id:<blobservice_id><br></br>fileservice_id:<fileservice_id><br></br>queueservice_id:<queueservice_id><br></br>tableservice_id:<tableservice_id><br></br>datalakestorage_id:<datalakestorage_id><br></br>#active agents<br></br>account_agent:1<br></br>blobservice_agent:1<br></br>fileservice_agent:1<br></br>queueservice_agent:1<br></br>tableservice_agent:1<br></br>datalakestorage_agent:1
```

</div>**1. Credentials to authenticate:**

-Tenant id

-Client id

-Secret

**2. Resource ID**

The resource id of each resource monitored by the plugin is required, these are :

\- Account resource ID

\- blobs service resource ID

\- Resource ID of file service

\- tables service resource ID

\- resource ID of queues service

\- datalakestorage resource ID

3\. Active agents

We will be able to decide which agents to activate or deactivate by putting a 1 or a 0 in the line of each service.

Obtaining tenant id and client id.

1\. To obtain the tenant id and the client id, we will go to the applications registry menu inside active directory:

[![menu.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/menu.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/menu.png)

2\. We will enter inside the application.

[![menu2.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/menu2.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/menu2.png)

3\. The tenant id and client id will appear in the application menu.

[![menu3.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/menu3.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/menu3.png)

4\. To find the secret we will go to certificates and secrets inside the active directory menu.

[![menu4.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/menu4.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/menu4.png)

5\. Within this menu we can see the secret keys or generate them (it has to be the value of the key, not the id).

[![menu5.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/menu5.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/menu5.png)

Obtaining the resource id of all services.

Resource id of the storage account.

Inside the storage account, in the main view we will select json view.

[![image-1651844040385.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/image-1651844040385.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/image-1651844040385.png)

Inside we will find the resource id.

[![image-1651844093334.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/image-1651844093334.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/image-1651844093334.png)

To find the ID of the other resources from which the plug-in is drawing data, we will go to connection points.

[![image-1651844127316.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/image-1651844127316.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/image-1651844127316.png)

Inside you will find all the necessary resource IDs.

[![image-1651844159743.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/scaled-1680-/image-1651844159743.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-05/image-1651844159743.png)