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 for the Consumer Key and Consumer Secret
What you can monitor
The following image and table list what OpenLM Broker reports for Salesforce.
What OpenLM Broker reports for Salesforce
The following table repeats those values:
| Item | Value |
|---|---|
| LM Type in the Broker | Salesforce |
| License totals | Yes |
| License usage | Yes |
| Denials | No |
| Borrowing | No |
| Expiration date | Yes |
| Redundancy | No |
| Report resolution | Depends 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.
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:
-
Open the Broker UI at
http://localhost:5090. If the default port is in use, try5091or5092. -
Select License Managers, then Add License Manager.
-
From the drop-down list, select Salesforce.
-
Enter any port number (required for setup even if unused), and select Add.
Add Salesforce as a license manager -
(Optional) Open the Vendors tab and add Salesforce as the vendor.
-
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.
-
Select Save.
Approve Salesforce in OpenLM Platform
To approve Salesforce in OpenLM Platform:
- Sign in to OpenLM Platform with the URL your administrator gave you.
- From the menu, select License Servers, then Pending Server.
- Select the Salesforce license manager, then select Approve and Merge.
Verify the integration
To verify that OpenLM Platform receives data from Salesforce:
- In OpenLM Platform, select License Servers Live, then Server Statistics.
- Confirm Salesforce appears with a green status indicator.
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.