# Add a Connection in Patch My PC Cloud

*Applies to: Patch My PC Cloud and Publisher*

From the **Connections** page of the Patch My PC (PMPC) Cloud Portal, you can add the following connections:

* [Connection to Intune](#intune)
* [Connection to Publisher](#publisher)

## Add an Intune Connection

To add an Intune connection:

1. Navigate to **Settings | Connections**

<figure><img src="/files/TzKVEpohHoFPuBNbhQ7S" alt="Navigating to &#x27;Settings | Connections&#x27;" width="563"><figcaption></figcaption></figure>

The **Connections** page is displayed showing any existing connections

<figure><img src="/files/3g2x1zl5Yh47jnmcc8t1" alt="&#x27;Connections&#x27; page showing any existing connections" width="563"><figcaption></figcaption></figure>

2. Click **Connect Intune**

<figure><img src="/files/Nb3kqAjJDiWEC1jL8HPf" alt="Clicking &#x27;Connect Intune&#x27;" width="563"><figcaption></figcaption></figure>

3. Enter the Entra ID you used to onboard to PMPC Cloud or click to select the relevant account from the list of already signed-in accounts. Then click **Next**.

<figure><img src="/files/zXtPb29i2tDaIPbvhayK" alt="&#x27;Sign in&#x27; prompt" width="329"><figcaption></figcaption></figure>

4. Enter the password and click **Sign in**.

<figure><img src="/files/C5n8xTK29OcXKWFvAcbF" alt="Entering the password" width="329"><figcaption></figcaption></figure>

5. On the **Permissions requested** screen, click **Accept**.

{% hint style="info" %}
**Note**

To connect with Intune, the signed-in user must have the **Cloud Application Administrator** or the **Application Administrator** role to allow creation of the Enterprise app, and the **Privileged Role Administrator** role to approve the Graph API permissions we require. A **Global Administrator** can also perform both steps.

See [Permissions required for the Intune Apps](https://docs.patchmypc.com/patch-my-pc-cloud/cloud-reference/cloud-permissions-reference/permissions-required-for-intune-apps) for more details.
{% endhint %}

<figure><img src="/files/fvFPKr1BNUzzDwISFBvk" alt="Clicking &#x27;Accept&#x27; on the &#x27;Permissions requested&#x27; screen" width="330"><figcaption></figcaption></figure>

{% hint style="success" %}
**Tip**

You can click the down arrow beside each permission to get more information.
{% endhint %}

The **Connections** page is redisplayed, showing the newly added Intune connection.

<figure><img src="/files/AwnZjmZlEzzbNs6QANlK" alt="New Intune connection" width="563"><figcaption></figcaption></figure>

## Add a Publisher Connection

{% hint style="info" %}
**Note**

Only follow this process if you plan to connect our on-premises Publisher to your Patch My PC (PMPC) Cloud portal to package [Custom Apps](/patch-my-pc-cloud/custom-apps.md).
{% endhint %}

Adding a connection between our on-premises Publisher and PMPC Cloud is done from Publisher.

If you click **Connect Publisher** on the **Connections** page of the Cloud Portal, you will see the **Publisher connection** screen, which outlines the process explained in detail below.

<figure><img src="/files/wYxslKVMSC2TeaZ8se4H" alt="&#x27;Publisher connection&#x27; screen" width="291"><figcaption></figcaption></figure>

To connect our on-premises Publisher to PMPC Cloud, you need to:

1. Load the **Patch My PC Publishing Service** (Publisher) and verify you are running at least version 2.1.20.0. If you are not, upgrade to the latest version.
2. Click the **Cloud** tab.

{% hint style="success" %}
**Tip**

If the **Cloud** tab is not present, check that you have entered your license key and clicked **Validate**.
{% endhint %}

<figure><img src="/files/YvZaNiWZw8Ev3mmSGbQO" alt="Clicking the &#x27;Cloud&#x27; tab" width="545"><figcaption></figcaption></figure>

3. In the **Connection Name** field, enter a unique name for the connection. For example, **Patch My PC Custom Apps**, then click **Connect**.

{% hint style="info" %}
**Note**

The name you enter here determines how this connection shows on the **Connections** page of the Cloud Portal.
{% endhint %}

<figure><img src="/files/yRqoBJ00QfYGwlJ8Ueeb" alt="Entering a &#x27;Connection Name&#x27; and clicking &#x27;Connect&#x27;" width="545"><figcaption></figcaption></figure>

4. In your browser, enter the Entra ID you used to onboard to PMPC Cloud or click to select the relevant account from the list of already signed-in accounts. Then click **Next**.

<figure><img src="/files/Jo9ygr2kiyc5kf9rYRpR" alt="&#x27;Microsoft Sign in&#x27; screen" width="329"><figcaption></figcaption></figure>

5. Enter the password and click **Sign in**.

<figure><img src="/files/MqEv79i3DZfccVE9ml30" alt="&#x27;Enter password&#x27; screen" width="329"><figcaption></figcaption></figure>

If the connection is successful, a new browser tab opens with the following message:

**Authentication complete. You can return to the application. Feel free to close this browser tab.**

You can close this tab at this point.

6. If the **Edit a customer** screen is not displayed, proceed to Step 8.
7. If the **Edit a customer** screen is displayed, click to select the customer you want to connect to, then click **OK**.

<figure><img src="/files/p9Gt4XXFq7jykkbZ7sWt" alt="&#x27;Edit a customer&#x27; screen " width="365"><figcaption></figcaption></figure>

8. In Publisher, verify the **Connection Status** shows as **Connected**, then click **Save and Close**.

<figure><img src="/files/2awQ2QAOFabH3bF8DAHz" alt="Verifying the &#x27;Connection Status&#x27; shows as &#x27;Connected&#x27;, then clicking &#x27;Save and Close&#x27;" width="545"><figcaption></figcaption></figure>

The new Publisher connection will be shown on the **Connections** page of the Cloud Portal.

<figure><img src="/files/nII2fEuIxXNClepPqcUS" alt="New Publisher connection" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**

You can also use the [View Connections](/patch-my-pc-cloud/manage/settings/connections/view-connections.md) process to verify that your Publisher is connected to the portal.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-cloud/manage/settings/connections/add-connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
