Contact Free trial Login

Share a Mule Application as a Template on Exchange

You can share a Mule application as a template on Exchange, which makes it easy for you and other people to create similar Mule applications in the future.

Benefits of sharing a Mule application as a template

Sharing Mule applications as templates is a great way to share your work with other people who are in your organization in Anypoint Platform. When they need to build a similar application, they can begin by downloading and using your template to start their own project. If you accompany your template in Exchange with a good description, screenshots, and perhaps even a video, those other people could get going even more quickly.

You might even find in the future that you need to create Mule applications that are similar to one that you’ve already created. Rather than search for a project in Design Center, clone it, and then try to remember what it does and how it works, you can read the page that you wrote for the corresponding template in Exchange.

Templates do not include the authentication credentials that are specified for the connectors used in Mule applications. Authentication credentials are never published. People who use a template to start their own Mule applications must provide their own credentials.

Before you begin

  • Ensure that your Mule application is free of errors.

  • Ensure that your user ID has permission to publish to Exchange in your Anypoint Platform organization. An administrator in your organization can grant you this permission by assigning your user ID the role of Exchange Contributor, Exchange Admin, or Organization Administrator.

  • Ensure that you have written notes in the Notes section of each card to explain the purpose of the card and any information that someone might need to configure the card.

  • Open the project in which you created the Mule application.

Procedure

  1. Click the Publish button, which is in the top-right corner of the Flow Designer screen.

  2. Specify a name for the template.

  3. Click Publish.

Result

You can view the new page in Exchange that has been created for your template.

If Flow Designer was unable to publish the template, check that your user ID has permission to publish to Exchange.

What to do next

On the template’s page in Exchange, provide a description, screenshots, or videos to explain the purpose of the template and how to use it.

Whenever you need to update the template, update your Mule application and click Publish. The version number increments automatically.

Whenever you want to update the information that is in Exchange about the template, edit the template’s page in Exchange. For example, you cannot change the name of the template when you publish updates from Flow Designer. However, you can change the name in Exchange.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub