Mulesoft
  • 2 Minutes to read
  • PDF

Mulesoft

  • PDF

Article summary

About this document


This document provides the step-by-step procedure to onboard a Mulesoft asset in SAFE.

Important

Some steps while adding a Mulesoft asset in SAFE are needed to be performed using SSH credentials of the SAFE server. These steps need to be performed in sync with the SAFE support team member. Raise a service request by logging a ticket to the SAFE support team.

Prerequisite


To onboard a Mulesoft asset in SAFE you need the following privileges:

  • Users must have the SAFE Admin Role.
  • User must have the Admin Role in the Mulesoft console.

Onboard Mulesoft Asset in SAFE


1. Create an app SAFE-Mulesoft in your Master Organization in Mulesoft

  1. Login to Mulesoft as Admin and navigate to the Access Management  > Connected Apps.
  2. Click the Create App button.
  3. Enter the name as SAFE-Mulesoft.MuleSoft1
  4. Select Type - App acts on behalf of a user.
  5. Select Grant Types - Authorization Code and Refresh Token.
  6. Enter the Website URL - https://safe.security
  7. Enter the Redirect URL - http://integration.mulesoft.safe.security and click the Add button. This URL contains the authorization code as the query parameter.
    Note: The system displays a blank page when user go to this URL. Users only need the URL.
    MuleSoft2
  8. Select Members of this organization only option for Who can use this application? field.
  9. Add the scope for the App as Read-only Access and Background Access.
  10. Click the Save button.MuleSoft4

2. Get the Client ID and Client Secret

  1. Login to Mulesoft as Admin and navigate to the Access Management  > Connected Apps.
  2. Go to the connected app created in Step 1 "SAFE-Mulesoft".
  3. Get the Client ID and Client Secret by clicking the Copy Id and Copy Secret icon. You need these details while adding a Mulesoft asset in SAFE.

3. Add a Mulesoft asset in SAFE

  1. Log in to SAFE as Admin and navigate to Manage Assets.
  2. Click the Add Asset button available against the Cloud-SaaS Applications vertical.
  3. Enter the Asset name as SAFE-Mulesoft and other details.
    23
  4. Enter the IP address or Hostname.
    Example: anypoint.mulesoft.com.
    Note: https:// or http:// before the host name are not allowed.
  5. Enter the Client ID and Client Secret you get in step2.
  6. Enter the Username and Password.
    24
  7. Set the Region - NA.
    Note: Other fields are not required to be filled for this asset type and can be left with their default value.
  8. Click the Submit button.
Important
Further steps are needed to be performed using SSH credentials of the SAFE server. These steps need to be performed in sync with the SAFE support team member. Raise a service request to onboard mulesoft by logging a ticket to the SAFE support team.

4. Authorize App 

  1. In response to the service request you have raised, the SAFE team will SAFE Support team will send a URL to you.
  2. Copy and paste the URL received by the SAFE support team and login with the Mulesoft organization admin account.
    MuleSoft6
  3. Grant read-only and background access permissions to the app for the SAFE.
    MuleSoft7
  4. After landing on the redirected page, copy the authorization code from the URL and send it to the SAFE Support team. Refer to below screenshot highlighted part.
    MuleSoft8
  5. SAFE support team notifies you for the successful onboarding of the Mulesoft asset.


Was this article helpful?

What's Next