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

Start Adding a New Application

Select MuleSoft Gateway

  • Choose the "MuleSoft Gateway" option.

    Choose the MuleSoft Gateway

Enter Application Details

  • If existing connections are available, they will be displayed in the Connections list. To create a new connection, click New Connection.

  • If no connections exist, a connection form is displayed, allowing you to enter the required details and create a connection.

    alt text

  • 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

  • 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 enabled toggle

    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 Auto-Onboard enabled toggle

    alt text

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

    alt text

  • Click Yes to confirm alt text

  • Auto-Onboard details deleted successfully!

    alt text

Edit Mulesoft Connection

To Edit Mulesoft connection

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

  • Click Integrations tab

    alt text

  • Click Onboard Applications adjacent to the Mulesoft

    alt text

  • A list of existing Mulesoft connections is displayed.

    alt text

  • Select the Pencil icon next to the connection you want to edit.

    alt text

  • Update the required details and Click on Test Connection

    alt text

  • once Test connection successfull then Click on Update Connection

    alt text

  • The updated connection is now displayed in the connections list.

    alt text

Delete Mulesoft Connection

To delete Mulesoft connection

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

  • Click Integrations tab

    alt text

  • Click Onboard Applications adjacent to the Mulesoft

    alt text

  • A list of existing Mulesoft connections is displayed.

    alt text

  • Select the Delete icon next to the connection you want to delete.

    alt text

  • Click Delete to confirm

    alt text

  • The deleted connection is no longer displayed in the connections list.

    alt text