Skip to main content

Configure connected apps in Salesforce

Abstract

Learn how to create and connect a Salesforce app to Maxsight, assign permissions, and enable OAuth settings for secure integration.

Learn how to create and connect a Salesforce app to Maxsight, assign permissions, and enable OAuth settings for secure integration.

Prerequisites

You have already created a profile and integration user. See Configure integration users in Salesforce for the instructions.

You must have Salesforce Administrator access.

Create a connected app

To create the app in Salesforce:

  1. From the Home tab, go to Platform tools > Apps > External Client Apps > Settings.

  2. Activate Allow creation of connected apps.

  3. Select the New Connected App button.

  4. From the New Connected App page, filled in the required details, giving the app a unique name.

  5. Activate the Enable OAuth settings and select the following options:

    1. Add Manage user data via APIs (api) scopes from the Available OAuth Scopes list.

    2. From the checklist, select:

      • Require Proof Key for Code Exchange 

      • Require Secret for Web Server Flow 

      • Require Secret for Refresh Token Flow 

      • Enable Client Credentials Flow 

    Salesforce_AppManager_SelectScopes.png
  6. Select Save.

  7. Select Manage Consumer Details. An email is sent to you with a verification code.

  8. Enter the verification code in Salesforce to verify your identity and select Verify.

    You can now see your Consumer Key and Consumer Secret. Take note of these as you need them to configure webhooks in Maxsight.

    You can now connect the app.

Connect the app

To connect the app:

  1. From the Setup Home tab, go to Platform Tools > Apps > App Manager.

  2. Open the dropdown menu next to the app name and select Manage.

    Salesforce_AppManager_ManageAppMenu.png
  3. Select Edit Policies.

  4. Navigate to Client Credentials Flow and, in the Run as field, select the integration user you had previously created in Configure integration users in Salesforce.

  5. Select Save.

    You can now assign permissions to a user.

Assign permissions for the integration user

Assigning the correct permission sets gives users the access they need to fully take advantage of the Moody's Maxsight for Salesforce’s features, helping them work efficiently and ensuring everything stays secure and well-organized.

To assign Maxsight app permissions:

  1. From the Home tab, go to Administration > Users > Users.

  2. Select the user you previously created in Create an integration user.

  3. Assign the Maxsight Connector Read-Write permission set:

    1. Select Permission Set Assignments.

      Highlight of the location of the Permission Set option in Salesforce.
    2. Select the Permission Set you want to edit.

    3. Navigate to and select Assigned Connected Apps.

    4. Select Edit.

    5. Select the Connected app that you created in the previous section.

    6. Select your app from the list, select Add until the app appears in Enabled Connected Apps.

      Salesforce_ConnectedApps_EnableConnectApp.png
    7. Select Save.

      You are now able to configure webhooks in Maxsight for Moody's Maxsight for Salesforce.

Additional information