Skip to main content

Salesforce

Follow these steps to configure OpenLM Platform to monitor license usage and retrieve statistics from Salesforce.

Before you begin​

Confirm these prerequisites:

  • An OpenLM Platform account

  • OpenLM Broker v25.x or higher, installed on the same machine as Salesforce and approved in Broker Hub.

  • A Salesforce account.

  • Salesforce API credentials (Consumer Key and Consumer Secret), generated through a Connected App. For the steps, see the Salesforce guide, How to generate Consumer Key and Consumer Secret of a Connected App.

When you create the Connected App, turn on the API OAuth setting and select Full OAuth scope. After setup, open Manage Consumer Details to retrieve and save your Consumer Key and Consumer Secret.

The Connected App settings with the API OAuth setting on and Full OAuth scope selected The Connected App settings for the Consumer Key and Consumer Secret

What you can monitor​

The following image and table list what OpenLM Broker reports for Salesforce.

The values that OpenLM Broker reports for Salesforce What OpenLM Broker reports for Salesforce

The following table repeats those values:

ItemValue
LM Type in the BrokerSalesforce
License totalsYes
License usageYes
DenialsNo
BorrowingNo
Expiration dateYes
RedundancyNo
Report resolutionDepends on API polling

With the Broker, you can also use buffered communication and start and stop the license manager service remotely.

Configure OpenLM Broker​

The following diagram shows how OpenLM Platform interfaces with Salesforce.

Diagram of how OpenLM Platform interfaces with Salesforce How OpenLM Platform interfaces with Salesforce

OpenLM Broker must be installed and configured to report to OpenLM Platform before you continue.

Add Salesforce to OpenLM Broker​

To add Salesforce to OpenLM Broker:

  1. Open the Broker UI at http://localhost:5090. If the default port is in use, try 5091 or 5092.

  2. Select License Managers, then Add License Manager.

  3. From the drop-down list, select Salesforce.

  4. Enter any port number (required for setup even if unused), and select Add.

    The Add License Manager dialog with Salesforce selected Add Salesforce as a license manager

  5. (Optional) Open the Vendors tab and add Salesforce as the vendor.

  6. Open the Advanced tab, select the Edit (pen) icon, and fill in these fields:

    • clientId: the Salesforce Consumer Key.
    • clientSecret: the Salesforce Consumer Secret.
    • username: the Salesforce username.
    • password: the Salesforce password.
  7. Select Save.

Approve Salesforce in OpenLM Platform​

To approve Salesforce in OpenLM Platform:

  1. Sign in to OpenLM Platform with the URL your administrator gave you.
  2. From the menu, select License Servers, then Pending Server.
  3. Select the Salesforce license manager, then select Approve and Merge.

Verify the integration​

To verify that OpenLM Platform receives data from Salesforce:

  1. In OpenLM Platform, select License Servers Live, then Server Statistics.
  2. Confirm Salesforce appears with a green status indicator.
Note

It can take up to 3 minutes for the status to update for a connection.

The documentation team might draft this page using a large language model. A technical writer reviews every page and verifies it against the product before publishing it. A human makes the final decision.