Scope of Work
This guide will help you integrate Grayscale with SAP SuccessFactors for seamless SMS communication within our Employee module.
Integration Steps
API Server URL
SAP SuccessFactors Username
Company ID
API Key
Client Secret
1. Assign Permissions to the Integration User
To ensure Grayscale has access to the required data, assign specific permissions to the integration user in SAP SuccessFactors. You can either create a new user or if you already have a Grayscale Integration User you can add the permissions there.
Create or Select a Role
Assign Permissions
Within the role go to Permissions and locate the permissions under their respective categories as outlined below.
Administrator Permissions |
|
Employee Central API |
|
Metadata Framework |
|
Manage User |
|
Manage Integration Tools |
|
2. Gather Integration Values
We'll need the following items to connect the integration.
API Server URL
SAP SuccessFactors Username
Company ID
Client ID
Client Secret
API Server URL
Using your login URL, you can find the corresponding API Server URL by visiting this link.
Your SAP SuccessFactors API Server URL is a URL that is closely related to the login URL where you sign into your company's SAP SuccessFactors instance.
For example, if you log in at "https://acme.successfactors.com/login", your login URL is acme.successfactors.com (the value after "https://" and before "/login").
Typically, appending "api" before your login URL will result in the correct API Server URL (i.e. apiacme.successfactors.com)
SAP Username and Company ID
To find your SAP SuccessFactors username and company ID, you can look in your SAP SuccessFactors welcome email under "Company User Name" (see image below):
You can also find your SAP SuccessFactors company ID as part of your login URL, which is also sent to you in your SAP SuccessFactors welcome email (under "Company Link" - see image below)
For example, if your login URL is "https://successfactors.com/login?company=SFCPART00000", your company ID will be SFCPART000000.
Alternatively, you can find your SAP SuccessFactors Company ID by logging into SAP SuccessFactors, hovering over your profile photo to expand the dropdown, clicking "Show version information," and locating Company ID in the modal that pops up:
API Key and Client Secret
Log into your SAP instance.
Search Manage OAuth2 Client Applications in the search bar
Click Register Client Application
Fill out Application Name (Grayscale) & Application URL (https://app.gograyscale.com) and click Generate X.509 Certificate
Fill out Common Name (Grayscale) and hit Generate.
Once the screen refreshes, click Download.
Click Register.
Open up the "Certificate.pem" file that you downloaded previously in a text editor.
Rename the Certificate.pem to Certificate.txt and double click to open
Copy the string between ——BEGIN ENCRYPTED PRIVATE KEY——- and —-END ENCRYPTED PRIVATE KEY——- this is your Client Secret
Troubleshooting OData Permissions
Sometimes, in order to get the above permissions and authentication adjustments to take effect, there’s a need for an “OData Metadata Refresh”.
Log into SuccessFactors
If your organization's API has IP access restrictions in place, then an admin will need to allow our servers to speak to the SAP API. Do so by adding the values outlined in this SAP documentation.
To add the Grayscale IP Addresses:
In SuccessFactors, search and select Password & Login Policy
Click Set API Login Exceptions and expand it to find the Grayscale Admin User
Click on the Pencil Icon to Edit
Paste in these Comma-delimited IP Addresses:
3.225.131.100
52.205.52.97
3.75.58.147
35.159.188.68
Click Save and Close