Welcome to MuleSoft, where you can deliver APIs and integrations at lightning speed. Whether you’re new to Anypoint Platform or want to start developing applications using Anypoint Studio but don’t know where to start - this series of tutorials is made for you!
Check out the following list of tutorials to get you started from developing, testing, and deploying your first Mule application; up to applying API policies and securing your applications.
#1 Build your first Hello Mule application
Learn how to develop, test, and deploy your first Mule application in just a few minutes! Once your application is deployed, test your application using your favorite REST client by making a simple request to your hosted API on CloudHub.
You’ll learn how to:
- Download and install Anypoint Studio
- Create a new project in Anypoint Studio
- Add and configure an HTTP Listener
- Test your application locally
- Deploy your application to CloudHub
Read this tutorial here or watch the following video:
#2 How to set up your global elements and properties files in Anypoint Studio
Learn how to apply best practices to your Mule projects by setting up a global XML file to keep your Global Elements and create properties files per environment.
You’ll learn how to:
- Create a global.xml file to keep the global elements
- Externalize hardcoded values into properties files
- Set up the properties files per environment
- Set up a global property to switch environments
Read this tutorial here or watch the following video:
#3 How to secure properties before deployment in Anypoint Studio
Learn how to create secure properties files per environment to keep important information such as private keys, tokens, or passwords. You can encrypt your properties files and you can hide the properties from Runtime Manager to add layers of security to your applications.
You’ll learn how to:
- Create secure properties files per environment
- Read secured properties using DataWeave
- Encrypt the properties’ values
- Set up the key property in Anypoint Studio
- Hide the secured properties in Runtime Manager
Read this tutorial here or watch the following video:
#4 How to set up API Autodiscovery in Anypoint Studio
Enable critical features such as security policies for your Mule applications using API Autodiscovery. This works by linking your Mule application deployed in CloudHub with your application available in API Manager. You can then enable various policies and see them working in real-time on your deployed Mule app.
You’ll learn how to:
- Create an API in API Manager
- Configure your application with API Autodiscovery from Anypoint Studio
- Set up your environment credentials from API Manager in Anypoint Studio
Read this tutorial here or watch the following video:
#5 How to apply Client ID enforcement policy to your Mule app in API Manager
Learn how to apply the Client ID enforcement policy to secure your Mule application with basic authentication. And how to retrieve the “client id” and “client secret” credentials from Exchange to send a request to your Mule app.
You’ll learn how to:
- Set the Client ID enforcement policy in API Manager
- Generate the Client ID and Client Secret credentials from Exchange
- Add the credentials to the REST Client application (Postman)
Read this tutorial here or watch the following video:
#6 Best practices to design your first API Specification
Learn what is an API and why we need API Specifications. Read some best practices to design your API Specifications.
You’ll learn:
- What is an API
- What is an API Specification
- Why are you building an API
- API Specification’s components and best practices
Read this tutorial here.
#7 Build your first API Specification with API Designer
Read about a fictional use case and how to create, test, and publish your first API Specification using Anypoint Platform’s Design Center, API Designer, the mocking service, and Anypoint Exchange.
You’ll learn how to:
- Create an API Specification in Design Center
- Define the specification resources
- Test your API using the mocking service
- Publish your API to Anypoint Exchange
Read this tutorial here or watch the following video:
Check out more of our developer tutorials to learn more use cases and fun examples to develop your Mule applications.
Finally, feel free to reach out to me with any questions you may have about MuleSoft!