MuleSoft Composer
MuleSoft Composer for Salesforce enables Salesforce admins to connect apps and data to Salesforce and automate integrations quickly and easily with clicks, not code — all inside of the Salesforce UI.
NetSuite Connection in MuleSoft Composer
Whether you are using NetSuite as a data source (take a data from NetSuite and copy it to Salesforce) or a data target (when a Salesforce opportunity closes, create a NetSuite sales order), the details of how to work with data in a flow are specific to the data source or data target.
Connection Details
When connecting to NetSuite via MuleSoft Composer, in NetSuite:
- Ensure that token-based authentication is enabled by navigating to Setup > Integration Management > Manage Integration > Authentication.
- Ensure that the role used in the integration is not using two-factor authentication by navigating to Setup > User/Roles > Two-Factor Authentication Roles.

NOTE : Composer supports NetSuite instances of 2020.2 and later.
TEPS TO ESTABLISH THE NETSUITE CONNECTION IN MULESOFT COMPOSER
Connection Name
- Enter a connection name that will help you remember the details of this connection.
- You can reuse connections multiple times in a single flow, and in more than one flow, and the credentials are hidden after you create the connection.
- You must connect to NetSuite as a regular user (WSU), not a concurrent user (cWSU).
IMPORTANT
Only you can see the connection. Other users in your Composer app must create their own connections.
Connection Display Name
The connection display name is a unique name that you choose to identify the connection.
Account
The account ID of your NetSuite account
Consumer Key
The consumer key generated in NetSuite by accessing Setup > Integration > Manage Integrations
Consumer Secret
The consumer secret generated in NetSuite along with the consumer key
Token ID
The token ID generated in NetSuite
Token Secret
The token secret generated with the token ID in NetSuite
SOAP Port
The value can’t be edited at this time.
MuleSoft Setup to Connect with NetSuite
To use MuleSoft Composer to establish a NetSuite connection, you must have:
- The MuleSoft Composer User permission set to
perform integration tasks. - An account in Salesforce to store the internal ID of the associated customer in NetSuite. You must ensure that a custom field, NetSuite ID, has been created for the Account object in the organization.
Setup NetSuite Permissions – BUNDLE
MuleSoft provides a bundle that contains a role with the permissions required for integrating Composer with NetSuite.
To install the bundle, follow these steps:
- Go to Customization > SuiteBundler > Search & Install Bundles.
- Type
462515in the keyword search. - Click on MuleSoft Composer and review the Components tab.
- Click Install and then Install Bundle. The installation takes a few minutes.
After installing the bundle, generate credentials to configure the connection to Composer. Store the credentials securely since the credentials are visible only once for security purposes.
To generate credentials in the form of tokens, follow these steps:
- Assign the newly created MuleSoft Composer role to the desired user:
- Go to Setup > Users/Roles > Manage Users.
- Click on the user who will host the integration. You can use a generic account such as
it@company.comthat doesn’t need its own license.
- Create an integration:
- Go to Setup > Integration > Manage Integration > New.
- Enter a name and appropriate concurrency for the integration. You can start low and use 1-2 units lower than the maximum concurrency allowed.
- Select the Token-Based Authentication box.
- Generate access tokens:
- Go to Setup > Users/Roles > User Management > Access Tokens.
- Set the application to the integration created in the previous step.
- Assign the user and click Save.
- Identify the NetSuite account ID by going to Setup > Company > Company Information.