Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Prerequisites
In order to To connect EmpowerID to Salesforce, you must have a Salesforce tenant with an account that EmpowerID can use to connect to Salesforce and do the following in the tenant:
Register a connected app for EmpowerID with a certificate in Salesforce using the OAuth 2.0 JWT bearer authorization flow. Give the app the following OAuth Scopes:
Access and manage your data Manage user data via APIs (api)
Manage user data via Web browsers (web)
Perform requests on your behalf at any time (refresh_token, offline_access)
Provide access to your data via the Web (web)
Upload the private key for the certificate to the EmpowerID certificate store.
Info |
---|
For directions on setting up a connected up app in Salesforce, please see the Salesforce documentation on the subject at https://help.salesforce.com/articleView?id=sf.connected_app_overview.htm&type=5. |
Step 1 – Create a Salesforce account store in EmpowerID
On the navbar, expand Admin > Applications and Directories and then select Account Stores and Systems.
On the Account Stores page, select the Actions tab and then click Create Account Store.
Image Removed
Insert excerpt IL:Common Images IL:Common Images name CreateAccountStoreAction nopanel true Under System Types, search for Salesforce Scim.
Click the Salesforce
Scim record to select the type and then click Submit.
- Image Added
This opens the Salesforce Settings form, which is where you enter the information needed to connect EmpowerID to the system.
Image Added Enter the following information in the form fields:
Name – Enter a name for the account store
Service URL – Enter the URL
of the Salesforce environment you are connecting to.
API Endpoint – Enter
/services/data/
v51.0/
Certificate Thumbprint – Enter the thumbprint of the certificate you uploaded to Azure for the service principal application created earlier.
User Name – Enter the username of the Salesforce service account you created in
Salesforce to authenticate to the Salesforce API.
Client Secret – Enter the
consumer secret generated by Salesforce for the
Service Account Token – Enter the value of the token generated by Salesforce for the selected user account.
connected app
SCIM URL – Enter the URL for the Salesforce SCIM app service created earlier. The base URL should include the version, e.g.,
https://salesforcescimmicroservice.azurewebsites.net/v1/
.
When you have added your settings, click Submit to create the account store.
EmpowerID creates the account store and the associated resource system. The next step is to configure attribute flow between the account store and EmpowerIDadd the consumer key for the Salesforce app to the Salesforce SCIM connector resource system configuration parameters.
Step 2 – Add the Salesforce app consumer key
Return to the Find Account Stores page and search for the Salesforce SCIM account store you just created.
Click the Account Store link for the account store.
Image Added
This directs you to the Account Store and Resource System page for the account store. This page contains several tabs related to the account store that you can access to view and manage the account store and resource system.Select the Resource System tab and then expand the Configuration Parameters accordion at the bottom of the page.
Search for the ConsumerKey parameter and click the Edit button for it.
Image AddedEnter the key in the Value field and click Save.
Image AddedVerify the other parameters are correct for your system.
Now that the Configuration Parameters have been updated, the next step is the configure Attribute Flow.
Step 2 – Configure Attribute flow
Tip |
---|
EmpowerID supports the configuration of attribute synchronization rules for flowing attribute changes between directories and the EmpowerID Identity Warehouse. Attribute Flow rules are visually configured and are always relative to the relationship between an attribute in a directory and the corresponding attribute in the EmpowerID Identity Warehouse. Attribute Flow rules define the specific fields and attributes that are synchronized between the EmpowerID Identity Warehouse person objects and the external user accounts to which they are linked. Additionally, Attribute Flow rules can be weighted by account store. For example, if you have connected EmpowerID to an HR system as well as Active Directory, and you want any changes made to an attribute in the HR system to take priority over changes made in Active Directory or EmpowerID (while allowing changes to be made in any system), you would give a higher score for each CRUD operation originating from the HR account store and correspondingly lower scores for the Active Directory account store. The following flow rules are available:
The following CRUD operations are available:
|
On the Account Store and Resource System page for Salesforce, click the Attribute Flow Rules tab to view the current rules for the account store. Please note that the attributes available depend on the account store.
To change the flow for an attribute, click the Attribute Flow drop-down located between the Person Attribute column and the External Directory Attribute column, and select the desired flow direction from the context menu.
To change the score for any of the available CRUD operations (Create, Update and Delete), enter the new score in the appropriate field. By default, scores are weighted evenly, which means that a change to an attribute originating in one connected external directory has the same authority as a change to an attribute occurring in another connected external directory.
Info |
---|
EmpowerID only considers scores for attribute CRUD operations when multiple account stores with the same user records are connected to EmpowerID, such as would be the case if an HR System and this account store were being inventoried by EmpowerID. |
Now that the attribute flow has been set, the next steps include configuring the account store and enabling EmpowerID to inventory it.
Step 3 – Configure account store settings
On the Account Store and Resource System page for Salesforce, click the Account Store tab and then click the pencil icon to put the account store in edit mode.
- Image Added
This opens the edit page for the account store. This page allows you to specify the account proxy used to connect EmpowerID to your Salesforce account as well as how you want EmpowerID to handle the user information it discovers in
Salesforce during inventory. Settings that can be edited are described in the below table
.
Insert excerpt IL:Account Store Settings
22 IL:Account Store Settings
22 nopanel true Edit the account store as needed and then click Save to save your changes
Step 4 – Verify Salesforce resource system parameters
On the Account Store Details page for the Salesforce account store, select the Resource System tab and then expand the Configuration Parameters accordion at the bottom of the page.
.
ApiEndPoint – Value should be
/services/data/v36.0/
certificateThumbPrint – Value should be the thumbprint of the certificate you uploaded to Salesforce for the connected application you created in Salesforce for EmpowerID.
ClientSecret – Value should be the secret generated by Salesforce for the connected application you created in Salesforce for EmpowerID.
LoginUrl – Value should be the login URL for Salesforce.
ServiceUrl – Value should be your Salesforce domain.
Username – Value should be the username of the Salesforce service account used by EmpowerID.
Next, enable the Account Inbox permanent workflow to allow the Account Inbox to provision or join the user accounts in Box to EmpowerID Persons as demonstrated below.
Tip |
---|
EmpowerID recommends using the Account Inbox for provisioning and joining. |
Step 4 – Enable the Account Inbox Permanent Workflow
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Step 5 – Monitor Inventory
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
See Also
Provisioning Policy for Salesforce Accounts
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Div | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
IN THIS ARTICLE
|