You are viewing an older version of this section. Click here to navigate to the latest version.

Connecting with Transports and Cloud Connectors

This topic provides a brief overview about Cloud Connectors and transports in general—​what they are, how to use them, and even a hint about how can you develop one.

Cloud Connectors

The main purpose of cloud connectors is to provide you with an easy way to connect to the thousands of software-as-a-service (SaaS) platforms out there without having to work with transports or dealing with the different protocols that each API uses.

MuleSoft’s goal is to facilitate how connectors are created, and for that we have developed a web kit. Connectors are essentially Java POJOs that our kit works with and that are converted into fully featured components for Mule.

How to Use Them

To use Cloud Connectors with a Mule flow, you can add them directly to your Mule app like this:


Or you can deploy the JAR produced by our kit into the lib/user folder to share the connector between multiple applications.

Once you have deployed the connector JAR, reference the schema inside your Mule app config. The following is an example for the S3 connector:

<mule xmlns=""

How to use each connector depends on the specific connector. You can find a list of available connectors on Anypoint Exchange.

Developing a Cloud Connector

Developing a connector is as straightforward as using them. MuleSoft provides a topic inside the documentation that explains the process on how to develop cloud connectors.


While development continues, cloud connectors have not yet reached their full potential, although progress is continually being made. The following are some tasks that you cannot accomplish with cloud connectors.

  • Request-Reponse Only: Cloud connectors are designed as request-response message processors. So every operation inside a message processor must have a request to generate a response. You cannot use endpoints with them.

  • Non-Dynamic Instancing: While you can have multiple cloud connectors defined inside your Mule app, and even multiple instances of the same connector, you cannot create new ones inside a flow.

  • Global Configuration: Connectors can be configured globally only, and that configuration applies to all operations supported by the connector. You cannot override configuration inside a flow.

In this topic: