> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/pam/pam-with-devolutions-cloud/install-the-devolutions-cloud-services-to-enable-pam-and-encryption-integration.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Install the Devolutions Cloud Services to enable PAM and encryption integration

Install Devolutions Cloud Services to enable PAM and encryption integration by creating application identities, permissions, and application services.

The Devolutions Cloud Services installer facilitates the installation and configuration of different features such as the Privileged access management module, the [Encryption service (SSO-enabled feature)](https://docs.devolutions.net/cloud/web-interface/administration/configuration-and-security/access-and-authentication/encryption-service) and the [Devolutions Cloud reporting service](https://docs.devolutions.net/cloud/web-interface/reports/scheduled-reports). The installed service will establish communication between your Devolutions Cloud and your internal resources.

{% hint style="info" %}
Multiple instances of Devolutions Cloud Services can be run simultaneously for higher availability. Devolutions Cloud will simply use the one executed first and leave the others on standby. Should one fail, Devolutions Cloud will automatically use the next service in line.

A ***Friendly name*** can be attributed to each service during installation to help differentiate them.
{% endhint %}

### Create an Application identity

1. In Devolutions Cloud, click on ***Administration*** – ***Application identities***.
2. Select ***Add application identity (+)***.
3. Enter a name and click ***Add***.
4. Copy the ***Application secret*** and ***Application key***, and paste them somewhere safe. Alternatively, you can download them as a PDF file. These will be needed during Devolutions Cloud Services installation later on.

### Edit permissions for application identities

1. In Devolutions Cloud, Click ***Administration*** – ***System permissions***.
2. Click the ***Edit*** icon (***+***).
3. In the ***System*** tab, give the ***Manage privileged access tasks***, ***Manage privileged access providers***, ***Manage system configuration***, and ***Manage scheduled reports*** permissions to your application identity created during step 1. Click on ***Update***.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>You need to grant permission on the vault either at <em><strong>System level</strong></em> or <em><strong>Individual PAM vault level</strong></em>.</p></div>

#### For all system vaults

1. In Devolutions Cloud, go to ***Administration*** – ***Configuration and security*** – ***System permissions***.
2. Click the ***Edit*** button.
3. Select ***Vaults*** and choose your ***Application user*** in the drop-down menu under the ***Contributor*** section.
4. Click ***Update*** to close the window.

#### For a specific PAM vault

1. In Devolutions Cloud, go to ***Administration – Management – Vaults***
2. Click the ***Add*** button (***+***).
3. Select ***PAM vault*** in the menu to create your PAM vault. Its ***Vault content type*** is ***PAM***, which requires the ***High*** security level. See [PAM vaults](https://docs.devolutions.net/pam/pam-with-devolutions-cloud/pam-vaults.md#pam-vault-creation).
4. Go to the ***Security*** menu and select the ***Edit*** tab.
5. Choose your ***Application user*** in the drop-down menu under the ***Contributor*** section.
6. Click ***Add*** to close the window.

### Installation of Devolutions Cloud Services

1. [Download Devolutions Cloud Services](https://devolutions.net/download-center/#pam:cloud), and launch the installer.
2. After reading and accepting the ***End-user license agreement***, check ***PAM*** from the ***Custom setup*** feature list.
3. Enter your ***Host*** URL, as well as the ***Application secret*** and ***Application key*** you saved at the end of step 1. You can then test your connection to see if everything is working properly. Click on ***Finish***.

### Create an application service

To create an application service, go to ***Administration***, then select ***Application services*** under ***Configuration and security***.

Click on the ***Add (+)*** button and select ***PAM service***. Some information is needed, such as an ***Application service*** ***name***, a ***Description***, and the ***Application identity***.

### Check Devolutions Cloud Services logs

Devolutions Cloud Services' logs are available in ***Windows Event Viewer***. The service should be able to connect to the created provider. The provider needs to be added in Devolutions Cloud.

It is also possible to see the Devolutions Cloud Services as a service in the Services window of Windows which shows the current status and where it can be started or stopped.

### Configuration of the PAM service

The Windows service is named ***Devolutions Hub PAM Service***. Its installation folder, configuration file, account and log files are described in [Devolutions Cloud Services](https://docs.devolutions.net/cloud/devolutions-cloud-services). The configuration file (`appsettings.json`) holds these settings, which can also be set with environment variables (a double underscore replaces each level, for example `Hub__Url`):

<table><thead><tr><th width="250">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><code>Hub:Url</code></td><td>URL of the Devolutions Cloud workspace (the <em><strong>Host</strong></em> entered in the installer).</td></tr><tr><td><code>Hub:ApplicationKey</code>, <code>Hub:ApplicationSecret</code></td><td>The application identity used by the service.</td></tr><tr><td><code>Hub:FriendlyName</code></td><td>The <em><strong>Friendly name</strong></em> that identifies this instance.</td></tr><tr><td><code>Hub:MachineID</code></td><td>Identifier of this instance.</td></tr><tr><td><code>Logging</code></td><td>Log levels. Events are written to the Windows Event Viewer under the source <em><strong>Devolutions Hub PAM Service</strong></em>.</td></tr></tbody></table>

When the service is uninstalled (not upgraded), the installer asks "Do you want to remove the following Hub service(s) configuration file(s)?" (***Remove configuration file(s)***).

### Automatic updates

In the PAM application service, ***Update service to latest version*** and the ***Enable automatic updates for this service*** setting (see [Application services](https://docs.devolutions.net/cloud/web-interface/administration/configuration-and-security/application-services)) update Devolutions Cloud Services through **Devolutions Agent**:

* With automatic updates on, the service checks every 10 minutes for a newer version and requests the update when a connected instance runs another version.
* The update is handed to Devolutions Agent, which must be installed on the same machine. Without it, the update fails with "Cannot run update without having Agent installed". If the service cannot write the update request, the message ends with "Ensure PAM Service has write permissions."
* The installed Devolutions Agent version is read every 2 minutes.

### Notifications

The ***Notify when no PAM service is connected***, ***Notify when a PAM service disconnects*** and ***Notify when a PAM service is updated*** notifications are set in [Notifications](https://docs.devolutions.net/cloud/web-interface/administration/configuration-and-security/notifications).

### See also

* [Application services](https://docs.devolutions.net/cloud/web-interface/administration/configuration-and-security/application-services)
* [Manage application identities](https://docs.devolutions.net/cloud/web-interface/administration/management/application-identities/manage-application-identities)
* [Quickly deploy AD PAM in your environment](https://docs.devolutions.net/pam/knowledge-base/how-to-articles/quickly-deploy-ad-pam-in-your-environment.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/pam/pam-with-devolutions-cloud/install-the-devolutions-cloud-services-to-enable-pam-and-encryption-integration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
