Skip to main content

How To Onboard An Application Using MuleSoft API Gateway

Prerequisites

Create a Connected App in the MuleSoft API Gateway(Anypoint)

  • Log in to https://anypoint.mulesoft.com/

  • Visit Access Management Choose the MuleSoft Gateway

  • Click Connected Apps Choose the MuleSoft Gateway

  • Click Create App Choose the MuleSoft Gateway

  • Enter App name Choose the MuleSoft Gateway

  • Select App is of type App acts on its own behalf (client credentials) Choose the MuleSoft Gateway

  • Click Add Scopes Choose the MuleSoft Gateway

  • Assign the required scopes/permissions in the Connected App and click Next

    • API Governance → Governance Viewer
    • API Manager → View APIs Configuration
    • Data Gateway → Data Gateway Viewer

    Choose the MuleSoft Gateway

  • Select Business Groups for the scopes you choose to control which teams or organizational units have access to specific API permissions and Click Next Choose the MuleSoft Gateway

  • Select the Environments to deploy or manage an API, ensuring proper separation and control across development, testing, and production stages and Click Next Choose the MuleSoft Gateway

  • Review the scopes/permissions and click Add Scopes Choose the MuleSoft Gateway

  • Click Save Choose the MuleSoft Gateway

  • Retrieve the Client ID and Client Secret from the Connected App. Choose the MuleSoft Gateway


Mulesoft Gateway Integration with APIsec Product


Open your browser and visit: https://<your-tenant>.apisecapps.com


Start Adding a New Application

Click on the "Add Application" button.

Add Application


Select MuleSoft Gateway

  • Choose the "MuleSoft Gateway" option. Choose the MuleSoft Gateway

  • Click "Next" to proceed. Click Next


Enter Application Details

  • Fill the Form Name, Id, and Secret. alt text

  • Click "Test Connection" alt text

  • Test Connection Success alt text

  • Click "Create Connection" alt text

  • Select Business Group and Environment then select correct API alt text

  • Click "Continue" alt text

  • API Registered Successfully alt text

  • Select Endpoints alt text

  • Click "Onboard" alt text

  • Application creation successful alt text

  • MuleSoft API Integrations Application Dashboard alt text


Auto-Onboard

The Auto-Onboard feature streamlines API onboarding by automatically detecting and registering unregistered APIs from Mulesoft Gateway. This ensures that all APIs, including newly published ones, are consistently onboarded and tested for vulnerabilities with minimal manual effort.

Enable Auto-onboard

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    alt text

  • Click Onboard Applications adjacent to the Mulesoft

    alt text

  • Enable Auto-Onboard of any existing Mulesoft connection.

    alt text

  • Fill the Mulesoft AutoOnboard Details and click on Save Schedule

    • Frequency – How often the onboarding should occur. By default it is weekly.
    • Day of the Week – Select the specific day for onboarding.
    • Hour – The exact time (in hours and minutes) when the onboarding should start.
    • Timezone – The timezone in which the schedule should be applied
    • Business Group - Select Business Group
    • Environment - Select Environment

    alt text

    • Successfully saved auto-onboard details

    alt text

Update Schedule

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    alt text

  • Click Onboard Applications adjacent to the Mulesoft

    alt text

  • Click Auto-Onboard

    alt text

  • Update the details and Click on Update Schedule

    alt text

Disable Auto-Onboard

  • Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Integrations tab

    alt text

  • Click Onboard Applications adjacent to the Mulesoft

    alt text

  • Click the Auto-Onboard

    alt text

  • In Edit Mulesoft AutoOnboard Details, disable the Enable Automatic API Onboarding.

    alt text

  • Click Yes alt text

  • Auto-Onboard details deleted successfully!

    alt text