---
schema_version: "1"
id: ff8835356d0fa177a3a425e08527297eee1307cb401a75e99a48b33a84c81e00
title: Configuring Anypoint Studio for Anypoint Platform PCE
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/private-cloud/4.1/config-studio.md
canonical_url: https://docs.mulesoft.com/private-cloud/4.1/config-studio
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 42c2cf5fc582e1d7f9d02976f2308ea1f5e53b424d579ec95801800a19013495
description: MuleSoft Documentation Site
release: "4.1"
latest: false
---
---
product: Anypoint Platform Private Cloud Edition
version: 4.1
---

# Configuring Anypoint Studio for Anypoint Platform PCE

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Studio 7.19 and later adds support for Anypoint Platform Private Cloud Edition (Anypoint
Platform PCE) version 4.0.0.

## Configure Your PCE Certificates into Studio

Integrate your Studio installation with the Anypoint Platform components in an Anypoint Platform PCE
deployment.

### Determine the Java Version and Location

1.  In Studio, go to **Anypoint Studio** > **Settings**.

2.  Select **Java** > **Installed JRES**.

3.  Check the location of the JRE you use: Java 8 or Java 17.

![JRE location in Anypoint Studio](/mulesoft/current/en-us/studio/_images/pce4-jre-location.png)

### Export the Certificate Using the Platform DNS

Run the following command by replacing `<ANYPOINT_DNS>` with your actual server URL:

`keytool -printcert -sslserver <ANYPOINT_DNS>:443 -rfc > /tmp/PCE_Certificate.cer`

For example:

```xml
keytool -printcert -sslserver $ANYPOINT_DNS:443 -rfc > /tmp/PCE_Certificate.cer
```

Starting with Anypoint Studio 7.17, the default JDK version for Studio is Java 17. To ensure proper
functionality, add the certificate to the default JDK version that Studio supports.

- If you use an external JDK, add the certificate to the external JDK that you use with Studio.

- If you use the default JDK Studio provides, add the certificate to the default JDK, regardless of
  the JDK version you use in your project. After installing the certificate, if you have Studio
  open, restart it.

### Import the Certificate

Run the following command by replacing `<JAVA_HOME>` with the path to your embedded Java in Studio:

`sudo keytool -import -trustcacerts -keystore <JAVA_HOME>/lib/security/cacerts -storepass changeit -file /tmp/PCE_Certificate.cer`

For example, if you’re using the embedded Java 17 on macOS:

```xml
sudo keytool -import -trustcacerts -keystore /Applications/AnypointStudio.app/Contents/Eclipse/plugins/org.mule.tooling.jdk.macosx.x86_64_1.3.0/Contents/Home/jre/lib/security/cacerts -storepass changeit -file /tmp/PCE_Certificate.cer`
```

For example, if you’re using the embedded Java 17 on Windows:

```xml
keytool -import -trustcacerts -keystore C:[...]\AnypointStudio\plugins\org.mule.tooling.jdk.win32.x86_64_1.3.3\lib\security\cacerts -storepass changeit -file /tmp/PCE_Certificate.cer (1)
```

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td>The path changes with each Studio version because the JDK plugin version is included in the Windows path, and Studio includes a different JDK plugin version with each release.</td></tr></tbody></table>

### Set a Private Cloud Instance URL

1.  In Studio, go to **Anypoint Studio** > **Settings**.

2.  Select **Anypoint Studio** > **Anypoint Platform**.

    ![Anypoint Studio highlighted in the navigation bar.](/mulesoft/current/en-us/reuse/_images/studio-anypoint-platform-settings.png)

3.  Select the **Use a Private Cloud Instance URL**.

4.  Type the URL of your PCE installation in **Private Cloud Instance URL**.

    ![\*Private Cloud Instance URL\* field highlighted in the in the \*PCE Settings\* section.](/mulesoft/current/en-us/studio/_images/pce-properties.png)

5.  Click **Apply and Close**.

6.  Restart Studio.

## Configure your PCE User Login

The first time you configure your user’s login, Studio asks you to confirm your PCE certificate:

1.  Open the preferences view.  
    Either navigate to **Anypoint Studio** > **Preferences…​** or press `cmd + ,`.

2.  Expand **Anypoint Studio** in the left navigation bar, select **Authentication** > **Add**.

    ![\*Authentication\* option and \*Add\* button highlighted in the \*Preference\* window.](/mulesoft/current/en-us/studio/_images/preferences-authentication-add.png)

3.  Select **Yes** in the **Invalid Certificate** message that appears.

    ![\*Yes\* button highlighted in the \*Invalid Certificate\* message window.](/mulesoft/current/en-us/studio/_images/invalid-certificate-pce.png)

4.  Add your PCE credentials and sign-in.

5.  Select **Apply and Close**.

6.  Restart Studio.

## See Also

- [Managing Anypoint Platform PCE](https://docs.mulesoft.com/private-cloud/4.1/operating-about)
