---
schema_version: "1"
id: 872dde0f19ebe62c1f07be984848a6c20e3000d7b8d4b99b282a38da431f09bc
title: Connect Salesforce and MuleSoft Instances Using Connected App or User Credentials
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/connect_to_mulesoft_instance.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.connect_to_mulesoft_instance.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d57c75c859c95ad507d39f79dbb25ea7f25fc007810f82275becf64fc2c8babe
description: Securely connect your Salesforce and MuleSoft instances by logging in to your MuleSoft Anypoint Platform account or by using the credentials from a connected app in your MuleSoft instance.
products:
  - Industry Solutions
  - MuleSoft
release: "264"
---
# Connect Salesforce and MuleSoft Instances Using Connected App or User Credentials

Securely connect your Salesforce and MuleSoft instances by logging in to your MuleSoft Anypoint Platform account or by using the credentials from a connected app in your MuleSoft instance.

### Required Editions

[Enable access to MuleSoft Direct integrations](https://help.salesforce.com/s/articleView?id=ind.access_integrations.htm&release=264.0.0&type=5 "Before you connect your Salesforce and MuleSoft instances by using MuleSoft Direct, read and accept the terms and conditions of all the clouds that you’re subscribed to. Enable access to multiple clouds at once.") before you connect your Salesforce and MuleSoft instances.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d2284e60">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2284e60 ">To connect Salesforce and MuleSoft instances:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2284e60 ">
              <p>Salesforce Administrator profile</p>
              <p>AND</p>
              <p style="margin-bottom:0;">MuleSoft Administrator profile</p>
            </td>

          </tr>
        </tbody>
      </table>

1. In Setup, find and select **MuleSoft Direct**.
2. Click **Connect to MuleSoft**.
3. Select a server based on your region, and then click **Next**.
4. Select **User Credentials** or **Connected app credentials**, and click **Next**.
5. For the User Credentials option, enter the username and password of your MuleSoft Anypoint Platform account, and then click **Sign In**.
6. For the Connected App Credentials option,
    1. [Create a connected app](https://docs.mulesoft.com/access-management/connected-apps-developers) in your MuleSoft instance, and [add the required scopes](https://help.salesforce.com/s/articleView?id=ind.connected_app_scopes.htm&release=264.0.0&type=5 "Create a connected app in the root org of your MuleSoft instance with the specified scopes.") to generate a client ID and secret.
        
        If you're not a MuleSoft admin, request a MuleSoft admin to create the app and share its client ID and secret with you.
    2. On the Connected app credentials pane, enter the client ID and client secret, and then click **Next**.

Your Salesforce and MuleSoft instances are now connected. You can view the connection details and the available integrations.

- **[Scopes to Add When You Create a Connected App](https://help.salesforce.com/s/articleView?id=ind.connected_app_scopes.htm&release=264.0.0&type=5)**  
    Create a connected app in the root org of your MuleSoft instance with the specified scopes.