---
schema_version: "1"
id: b26b12aceba8292ed79b49018fdc2216dcd7ad1d90de12798d2d09ca2b165435
title: Make a MuleSoft RPA Process Available to Flows
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_build_make_mulesoft_rpa_available_to_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_build_make_mulesoft_rpa_available_to_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 675af9fb329852f53085285534a2e7aa05d93df04aa16de641e45f95a470650e
description: Configure the connection between MuleSoft Anypoint platform and your org to import MuleSoft RPA APIs. Then, register the APIs as an external service to use them in flows.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Make a MuleSoft RPA Process Available to Flows

Configure the connection between MuleSoft Anypoint platform and your org to import MuleSoft RPA APIs. Then, register the APIs as an external service to use them in flows.

### Required Editions

<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: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note To use Mulesoft RPA with Flow Builder, you requires a MuleSoft Automation subscription and a MuleSoft RPA user with all necessary permissions. See [Anypoint Access Management RPA Permissions.](https://docs.mulesoft.com/rpa-home/automation-userrolesandpermissions-anypointrpapermissions) 

Before you can make a MuleSoft RPA process available to flows:

- In MuleSoft RPA Manager, [publish the RPA process as a REST API to Anypoint Exchange](https://docs.mulesoft.com/rpa-manager/processautomation-deploy#publish-automation).
- In MuleSoft RPA Manager, [create an API key](https://docs.mulesoft.com/rpa-manager/usermanagement-connect) for yourself and store it in a secure place. Optionally, copy the API key to use it in the creation of an external credential.
- In Salesforce, create and assign a permission set that enables users to invoke this MuleSoft RPA process in a flow.

1. [Connect Salesforce to MuleSoft Anypoint Exchange from Setup](https://help.salesforce.com/s/articleView?id=platform.external_services_setup_mulesoft_connect_to_anypoint_exchange.htm&type=5&language=en_US), create the initial connection between MuleSoft Anypoint platform and your org.
2. [Create an external credential](https://help.salesforce.com/s/articleView?id=xcloud.nc_create_edit_custom_auth_ext_cred.htm&type=5&language=en_US) for authenticating to MuleSoft RPA Manager with these values. The external credential details how Salesforce authenticates to MuleSoft RPA Manager. You link the external credential to a user’s permission set and to the named credential that specifies the URL for MuleSoft RPA Manager.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:25%">
              <col style="width:75%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d106745e111">Section</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d106745e114">Value</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e111 ">
                  <strong class="uicontrol">Label</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e114 ">A user-friendly name for the external credential that’s
                  displayed in the Salesforce user interface, such as in list
                  views.</td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e111 ">
                  <strong class="uicontrol">Name</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e114 ">
                  <p>A unique identifier that’s used to refer to this external
                    credential from callout definitions and through the
                    API.</p>
                  <p style="margin-bottom:0;">The name can contain only underscores and alphanumeric
                    characters. It must be unique, begin with a letter, not
                    include spaces, not end with an underscore, and not
                    contain two consecutive underscores.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e111 ">
                  <strong class="uicontrol">Authentication Protocol</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e114 ">
                  <strong class="uicontrol">Custom</strong>
                </td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e111 ">
                  <strong class="uicontrol">Principals</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e114 ">
                  <p>Create a principal with these values.</p>
                  <dl>
                    <dt style="font-weight:bold;padding-top:.25rem;">Sequence Number</dt>
                    <dd style="padding-left:1.5rem;padding-bottom:.5rem;"><kbd>1</kbd></dd>
                    <dt style="font-weight:bold;padding-top:.25rem;">Authentication Parameters</dt>
                    <dd style="padding-left:1.5rem;padding-bottom:.5rem;">Add an authentication parameter whose value is
                      the API key that you created before in RPA
                      Manager. You use the name of the authentication
                      parameter in the custom header for this external
                      credential.</dd>
                  </dl>
                </td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e111 ">
                  <strong class="uicontrol">Custom Headers</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e114 ">
                  <p>Create a custom header with these values.</p>
                  <dl>
                    <dt style="font-weight:bold;padding-top:.25rem;">Name</dt>
                    <dd style="padding-left:1.5rem;padding-bottom:.5rem;"><kbd>x-apikey</kbd>
                      <p style="margin-bottom:0;">This value is
                        case-sensitive.</p>
                    </dd>
                    <dt style="font-weight:bold;padding-top:.25rem;">Value</dt>
                    <dd style="padding-left:1.5rem;padding-bottom:.5rem;"><kbd>{!$Credential.<var>External_Credential_Name</var>.<var>RPA_API_Key</var>}</kbd>
                      <p><var>External_Credential_Name</var>
                        is the name of the external
                        credential.</p>
                      <div>
                        <p><var>RPA_API_Key</var>
                          is the name of the authentication parameter that
                          you created to store the API key that you created
                          before in RPA Manager.</p>
                        <dl>
                          <dt style="font-weight:bold;padding-top:.25rem;">Sequence Number</dt>
                          <dd style="padding-left:1.5rem;padding-bottom:.5rem;"><kbd>1</kbd></dd>
                        </dl>
                      </div>
                    </dd>
                  </dl>
                </td>

              </tr>
            </tbody>
          </table>
3. [Enable the external credential principals](https://help.salesforce.com/s/articleView?id=xcloud.nc_enable_ext_cred_principal.htm&type=5&language=en_US) using the permission set you created to enable users to invoke this RPA process.
4. [Create a named credential](https://help.salesforce.com/s/articleView?id=platform.external_services_mulesoft_create_named_credential.htm&type=5&language=en_US) that stores the URL for MuleSoft RPA Manager.
    
    You link the named credential to the external credential you created in the previous step.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:25%">
              <col style="width:75%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d106745e277">Section</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d106745e280">Value</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">Label</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">A user-friendly name for the named credential that’s
                  displayed in the Salesforce user interface, such as in list
                  views.</td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">Name</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">
                  <p>A unique identifier that’s used to refer to this named
                    credential from callout definitions and through the
                    API.</p>
                  <p style="margin-bottom:0;">The name can contain only underscores and alphanumeric
                    characters. It must be unique, begin with a letter, not
                    include spaces, not end with an underscore, and not
                    contain two consecutive underscores.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">URL</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">Your MuleSoft RPA Manager URL, for example,
                  <kbd>https://myOrg.rpa.mulesoft.com</kbd>.
                </td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">External Credential</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">Select the external credential that you created in the
                  previous step.</td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">Generate Authorization
                    Header</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">Deselect this option.</td>

              </tr>
              <tr class="">
                <td data-label="Section" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e277 ">
                  <strong class="uicontrol">Allow Formulas in HTTP
                    Header</strong>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d106745e280 ">Select this option.</td>

              </tr>
            </tbody>
          </table>
5. Import the MuleSoft RPA API into Salesforce and use the named credential you created in the previous steps in the Import Service window.
6. Select the startProcess and getProcessExecutionStatus operations for the MuleSoft RPA API.

Use the MuleSoft RPA process in a flow.

#### See Also

- [_Salesforce Help_ : Permission Sets](https://help.salesforce.com/s/articleView?id=platform.perm_sets_overview.htm&language=en_US)
- [_MuleSoft RPA:_ Publishing Automation Assets to Anypoint Exchange](https://docs.mulesoft.com/rpa-home/publish-process-automation-exchange)