Using Anypoint Studio to Configure Salesforce Connector 10.22 - Mule 4 (2024)

Table of Contents
Authentication Apex Settings

When you configure a connector, configure a global element that all instances of that connector in the app can use. Configuring a global element requires you to provide the authentication credentials the connector uses to access the target Salesforce system.

You can reference a configuration file that contains ANT-style property placeholders (recommended), or you can enter your authorization credentials in the global configuration properties. For information about the benefits of using property placeholders and how to configure them, see Anypoint Connector Configuration.

To configure a global element for Salesforce Connector, follow these steps:

  1. Select the name of the connector in the Studio canvas.

  2. In the configuration screen for the operation, click the plus sign (+) next to the Connector configuration field to access the global element configuration fields.

  3. In the General tab, select one of these authentication methods for your connection:

  4. In the Apex tab, optionally configure Apex Settings.

  5. In the Advanced tab, optionally specify reconnection information, including a reconnection strategy.

  6. Click Test Connection to confirm that Mule can connect with the specified server.

  7. Click OK.

Authentication

For all OAuth connections, you can specify an object store that stores each resource owner’s ID data. If you don’t specify an object store, Mule automatically provisions the default object store. The app interacts with the object store automatically when a new resource owner is authenticated, the access token is refreshed, or the access token is invalidated.

All authentication types support mutual TLS. To use mutual TLS, you need a keystore file and a password for the file. See Generate a Keystore File for more information.

In Studio, when you configure the connector’s authentication method, specify the path to the keystore file and the TLS password on the Security tab.

To set up a mutual TLS certificate in your Salesforce environment, see Set Up a Mutual Authentication Certificate.

Basic Authentication

Basic authentication uses a username and password for authentication.

Important fields in the General tab include the following:

FieldDescription

Username

Salesforce username.

Password

Corresponding password.

Security token

Corresponding security token.

Callback path

Path for the callback, for example, /callback.

Authorization URL

Web service URL responsible for user authentication. This is the URL for the endpoint configured to handle SOAP authentication requests. It defaults to the URL that contains the latest API version supported by the connector, for example, https://login.salesforce.com/services/Soap/u/60.0.

OAuth 2.0 Authentication

Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more information, refer to Configuring OAuth 2.0 for Connectors or Configuring OAuth 2.0 for Connectors on CloudHub.

OAuth 2.0 delegates user authentication to the service hosting the user account.

Important fields in the General tab include the following:

FieldDescription

Consumer key

Consumer key for the Salesforce-connected app. See the Salesforce documentation for information about generating a consumer key.

Consumer secret

Password for the keystore.

Listener config

Configuration for the listener, for example, `HTTP_Listener_config.

Callback path

Path for the callback, for example, /callback.

Authorize path

Path for authorization, for example, /authorize.

External call back url

Callback URL, for example, http://localhost:8085/callback.

Important fields in the Advanced tab include the following:

FieldDescription

Api version

API version used. Defaults to the latest API version supported by the connector.

OAuth JWT Authentication

OAuth JWT uses OAuth 2.0 with a JSON Web Token (JWT) request for user authentication.

Important fields in the General tab include the following:

FieldDescription

Consumer key

Consumer key for the Salesforce-connected app. See the Salesforce documentation for information about generating a consumer key.

Key store

Path to the keystore that signs data during authentication. See Generate a Keystore File.

Store password

Password for the keystore.

Password

Corresponding password.

Certificate Alias

Alias of the certificate to use if the specified keystore contains multiple certificates.

Principal

Username of the Salesforce user.

Important fields in the Advanced tab include the following:

FieldDescription

Api version

API version used. Defaults to the latest API version supported by the connector.

OAuth SAML Authentication

OAuth SAML currently uses only Salesforce as an identity provider. Refer to Salesforce as a SAML Identity Provider to enable Salesforce as an identity provider.

OAuth SAML uses OAuth 2.0 with a signed SAML 2.0 assertion to request an access token.

Important fields in the General tab include the following:

FieldDescription

Consumer key

Consumer key for the Salesforce-connected app. See the Salesforce documentation for information about generating a consumer key.

Key store

Path to the keystore that signs data during authentication. See Generate a Keystore File.

Store password

Password for the keystore.

Password

Corresponding password.

Certificate Alias

Alias of the certificate to use if the specified keystore contains multiple certificates.

Principal

Username of the Salesforce user.

Important fields in the Advanced tab include the following:

FieldDescription

Api version

API version used. Defaults to the latest API version supported by the connector.

OAuth Username Password Authentication

OAuth Username Password authentication uses OAuth 2.0 with a user and password for authentication.

Important fields in the General tab include the following:

FieldDescription

Consumer key

Consumer key for the Salesforce-connected app. See the Salesforce documentation for information about generating a consumer key.

Consumer secret

Consumer secret for the connector to access Salesforce.

Username

Salesforce username.

Password

Corresponding password.

Security token

Corresponding security token.

Important fields in the Advanced tab include the following:

FieldDescription

Api version

API version used. Defaults to the latest API version supported by the connector.

Apex Settings

Salesforce Connector gets the names of the Apex classes and the associated methods that can be invoked when you connect to Salesforce.

To configure Apex settings in Studio:

  1. Click the Apex tab in the global element properties screen.

  2. Enter the following information:

    FieldDescription

    Fetch All Apex SOAP Metadata

    Fetches the metadata of all the Apex SOAP classes. Takes precedence over Apex Class Name settings.

    Fetch All Apex REST Metadata

    Fetches the metadata of all the Apex REST classes. Takes precedence over Apex Class Name settings.

    Apex Class Names

    List of Apex class names to use for limiting the set of classes you fetch and the methods that they expose. This setting can accelerate the fetch process if you don’t need to fetch many classes. Valid values:

    • None

      No classes are specified for DataSense to acquire.

    • From a message

      Enables you to specify the class name using an expression.

    • Create object manually

      Enables you to create a list of class names for DataSense to acquire. DataSense acquires only those classes and their associated methods.

Using Anypoint Studio to Configure Salesforce Connector 10.22 - Mule 4 (2024)
Top Articles
How To Change Your IP Address in 2023 | Security.org
Clear cache & cookies - Android
AMC Theatre - Rent A Private Theatre (Up to 20 Guests) From $99+ (Select Theaters)
Unit 30 Quiz: Idioms And Pronunciation
Plaza Nails Clifton
Tx Rrc Drilling Permit Query
Craigslist Nj North Cars By Owner
Cosentyx® 75 mg Injektionslösung in einer Fertigspritze - PatientenInfo-Service
Zendaya Boob Job
Accuradio Unblocked
What is Cyber Big Game Hunting? - CrowdStrike
10-Day Weather Forecast for Florence, AL - The Weather Channel | weather.com
Aldine Isd Pay Scale 23-24
No Hard Feelings - Stream: Jetzt Film online anschauen
Nordstrom Rack Glendale Photos
Where Is George The Pet Collector
Wsop Hunters Club
The Ultimate Guide to Extras Casting: Everything You Need to Know - MyCastingFile
Phoebus uses last-second touchdown to stun Salem for Class 4 football title
Ecampus Scps Login
Finding Safety Data Sheets
Ficoforum
January 8 Jesus Calling
Craigslist Pasco Kennewick Richland Washington
Generator Supercenter Heartland
Christmas Days Away
60 Second Burger Run Unblocked
How to Use Craigslist (with Pictures) - wikiHow
Flixtor Nu Not Working
Truckers Report Forums
New York Rangers Hfboards
Cross-Border Share Swaps Made Easier Through Amendments to India’s Foreign Exchange Regulations - Transatlantic Law International
Ket2 Schedule
Hisense Ht5021Kp Manual
Petsmart Northridge Photos
Muziq Najm
Instafeet Login
Raising Canes Franchise Cost
Stafford Rotoworld
Second Chance Apartments, 2nd Chance Apartments Locators for Bad Credit
M Life Insider
Worcester County Circuit Court
Lake Andes Buy Sell Trade
Anderson Tribute Center Hood River
Tfn Powerschool
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Okta Login Nordstrom
Phunextra
Runescape Death Guard
Rocket Bot Royale Unblocked Games 66
Cognitive Function Test Potomac Falls
7 National Titles Forum
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 6290

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.