Sub topic 6
MuleSoft Anypoint Platform at a glance
This chapter assumes you know basic Salesforce objects and APIs, REST and JSON, and what a system-to-system integration is. It introduces MuleSoft's Anypoint Platform so you can recognize its parts when you weigh it against native Salesforce tools.
What Anypoint Platform is
Anypoint Platform is MuleSoft's product for building, running, and managing integrations and APIs. MuleSoft is owned by Salesforce, but the platform runs separately from your Salesforce org. It is a middleware layer. Salesforce, an ERP system, a database, and a partner service each talk to it, and it handles the work between them.
The platform is a set of components that cover the life of an integration, from design to monitoring.
| Component | What it does |
|---|---|
| Anypoint Studio and Flow Designer | Tools for building integration applications |
| Mule runtime | The engine that runs those applications |
| Anypoint Connectors | Prebuilt connections to systems such as Salesforce, databases, and SAP |
| Anypoint Exchange | A catalog where teams publish and find APIs and templates |
| API Manager | Applies policies such as authentication and rate limits to APIs |
| Anypoint Monitoring | Shows logs, metrics, and alerts for running applications |
How a Mule application is built
A Mule application is a set of flows. A flow starts with a source, such as an HTTP listener or a scheduler. It then passes a message through processors that route it, call other systems, and transform it. Data transformation uses DataWeave, MuleSoft's expression language. You saw an example of this in the earlier chapter on mapping data.
%dw 2.0
output application/json
---
payload map (customer) -> {
Name: customer.company_name,
BillingCity: customer.address.city,
External_Id__c: customer.id
}This mapping converts an external system's customer shape into Salesforce Account field names. Middleware keeps this logic in one place instead of in Apex code in each org.
Where applications run
A Mule application is deployed to a runtime. You have three common choices.
- CloudHub is MuleSoft's managed cloud. MuleSoft operates the servers, and you choose the size and number of workers.
- Runtime Fabric runs the runtime on your own container infrastructure, such as Kubernetes.
- Customer-hosted runtimes run on your own servers, which suits systems that must stay inside a private network.
The choice affects who patches servers and where data travels. The later chapter on cost and ownership returns to this.
What this gives you beyond native tools
Anypoint Platform adds capabilities that the native options cover only in part:
- Reusable APIs published in Exchange, so a second project does not rebuild the same connection.
- Central policies for security and traffic control, applied outside your application code.
- Built-in error handling, retries, and queues for reliability.
- One monitoring view across many integrations, not only those that touch Salesforce.
These capabilities matter most when you have many systems or strict operational needs. For one simple request to one endpoint, they add a platform to license, learn, and run. Compare that with the single Apex callout through a Named Credential shown in the native options chapter.
Common mistakes
- Treating MuleSoft as an extension of Salesforce. It is a separate platform with its own licensing, deployment, and operations.
- Buying the platform for one integration that a Flow or an Apex callout could handle.
- Building every flow as a one-off and never publishing reusable APIs to Exchange. This loses the main benefit of the platform.
Exercise
A team needs one Salesforce Flow to read an order status from a single REST endpoint. Another team plans ten integrations across five systems, with shared policies and central monitoring. Which Anypoint Platform components speak to the second team's needs that the first team does not need?
Show answer
The second team benefits from Exchange for reusing APIs, API Manager for central policies, and Anypoint Monitoring for a shared view across integrations. The first team's single request is likely covered by a native callout through a Named Credential, without a separate platform.