# Add a Connection in the Patch My PC Cloud Portal

*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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FHwiCfMmetCJsNNL55sOo%2Fimage.png?alt=media&#x26;token=e694702a-31ca-46c8-aac5-867e16163f6f" alt="Navigating to &#x27;Settings | Connections&#x27;" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FIzPkZffDSU4ccSYVl8FW%2Fimage.png?alt=media&#x26;token=68117f96-ba63-4eaf-be98-77ef957ffab8" alt="&#x27;Connections&#x27; page showing any existing connections" width="563"><figcaption></figcaption></figure>

2. Click **Connect Intune**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FYTGOiDi4pKXROoCmIMF1%2Fimage.png?alt=media&#x26;token=8508efa2-2763-451b-bfde-be7d567b104a" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FdOqC9Jz4IoOvgnD08wD9%2Fimage.png?alt=media&#x26;token=392a81fb-f26f-48f7-be19-f2dd8a769f3e" alt="&#x27;Sign in&#x27; prompt" width="329"><figcaption></figcaption></figure>

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

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FGPAV16qRhNOIrzQWxRD6%2Fimage.png?alt=media&#x26;token=e16a59fa-c1e2-4889-8865-16af3f575c9e" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F15oFnIRwK7zzBf6puIih%2Fimage.png?alt=media&#x26;token=94f185fe-e688-4484-955b-ec0e5d38a2eb" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FkfxceVVtO9qNqZYHqxxw%2Fimage.png?alt=media&#x26;token=71b675a4-e1c9-4cd2-979c-0f8200c85e08" 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](https://docs.patchmypc.com/patch-my-pc-cloud/custom-apps).
{% 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FiOzXkLEehjVSeE8p6H5b%2Fimage.png?alt=media&#x26;token=1ca65fd4-4061-4d16-9306-6b4bdb49c9a0" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FNmrr8XKVntXgbpJmJgeq%2Fimage.png?alt=media&#x26;token=3409c64a-b80d-41d9-a432-33ccd9138435" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F2PzmEk8CLRLheydrHypr%2Fimage.png?alt=media&#x26;token=f1fbd7f6-79dd-451f-a207-111f6804263d" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Ft4D9RR6hoTKAy1MfS45p%2Fimage.png?alt=media&#x26;token=8c7e778e-1ce0-48eb-84b9-cbc1fe7f3d4e" alt="&#x27;Microsoft Sign in&#x27; screen" width="329"><figcaption></figcaption></figure>

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

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FdjAYPdnhym8Xv7jSO7uD%2Fimage.png?alt=media&#x26;token=f25d6485-f253-4650-b938-28022fbd2e01" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FZ45e6xY5NQ0I835UPQMY%2Fimage.png?alt=media&#x26;token=a2bb989e-54b0-4651-bce7-a2e33308bc97" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F3klJgFwYc5qGx4Bgn6AL%2Fimage.png?alt=media&#x26;token=61082366-58f6-446a-99be-a84049a536d9" 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="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FrBkgm8JrGp0UvWLqKelz%2Fimage.png?alt=media&#x26;token=52c1693a-8fc4-4021-9036-ead3f1ee9123" alt="New Publisher connection" width="563"><figcaption></figcaption></figure>

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

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