This article will take you through the integration process of APIMatic and MuleSoft Anypoint plaftorm. Anypoint portals now allow you to embed APIMatic widgets using markdown.

[![Java SDK]({TEMPLATE})]({TEMPLATE}&token={TOKEN}&url={RAML_URL})

This markdown, when rendered, creates an image button which on click will generate and download your SDK. You can see multiple such image buttons in the picture below.


Each image link will include the following:

  • {TEMPLATE}, which is your chosen language or platform.
    The allowed values are: java, windows, ios, android , php, ruby, python, golang, angularjs and nodejs.
  • {TOKEN}, which is your integration token value
  • {RAML_URL}, which is either RAML as YAML, or RAML as JSON. The later has advantages in terms of faster response times.

Embedding SDK Buttons

All you need to do is provide APIMatic with your Anypoint Portal URL and we’ll take care of the rest. Follow these simple steps to embed our widgets.

Step 1 - Open the Integrations Page

The integrations page can be found in the account section. The first tab on the page is for your Anypoint integration.

Mulesoft Anypoint

Step 2 - Input your Anypoint Portal URL

In the text area, input your Anypoint API Portal URL as shown below. Input Anypoint Portal URL

Step 3 - Generate Markdown

After you’ve entered your Anypoint API Portal URL, click on Update ID and Embed Script button. This will generate markdown for APIMatic widgets. A preview is also shown underneath. Markdown

Step 4 - Using Markdown

Copy this markdown code and paste it in a new markdown script section in Anypoint API Portal. If done correctly, the preview mode will show download icons as can be seen in the image below.


You can learn about the customization options and error handling of these widgets here.

Have questions? Submit a request.