# Pre requisites

Permissions required to use the Acronis API with the plugin

**The client (application) used by the plugin must have the following permissions:**

\- resource\_management:read  
\- policy\_management:read  
\- backup\_management:read

**To obtain these permissions, follow these steps:**

**1. Log in to the Acronis administration portal:**  
 https://cloud.acronis.com/

**2. Go to:**  
 Settings → Applications → Register Application

**3. Create a new application:**  
\- Type: Confidential  
\- Name: PandoraFMS-Acronis (for example)  
\- Redirect URI: leave blank

**4. Copy the generated `client\_id` and `client\_secret`.**

**5. Assign permissions to the application:**  
\- In the \*\*Permissions / Scopes\*\* section, check:  
```  
 resource\_management:read  
 policy\_management:read  
 backup\_management:read  
 ```

**6. Save the changes.**

Test access  
You can verify that authentication works with

```
curl -X POST https://<your-acronis-domain>/api/2/idp/token \
  -d “grant_type=client_credentials” \
  -d “client_id=<CLIENT_ID>” \
  -d “client_secret=<CLIENT_SECRET>”
```