- 22 May 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Integrate Whatfix with SAP SuccessFactors using JavaScript
- Updated On 22 May 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Integrating Whatfix with your SAP SuccessFactors account enables you to display Whatfix content and widgets on your application.
Use the following steps to integrate Whatfix with your SAP SuccessFactors instance:
The following steps need to be performed separately for your sandbox and production accounts.
Step 1: Configure Map Stages in your account
Step 2: Configure script-based integration on SAP SuccessFactors
Step 1: Configure Map Stages in your account
To ensure that content in the Ready and Production stages is visible to end users, you must first map the instances under Map Stages on each instance. Mapping each stage ensures that when you create content and move it to the Ready stage, the content is shown on your development instance, and when the content is pushed to production, the content displays on your production instance. For more information, see Use JavaScript code to show Whatfix content.
Ensure that you configure distinct environment details for the Ready and Production stages for your sandbox and production accounts, respectively to avoid any content visibility conflicts.
Once you have mapped stages, an account-specific Deployment Script is generated. Here is an example of how this looks:
Here is an example of how a generated script looks:
<script language='javascript' async='true' type='text/javascript' src='https://cdn.whatfix.com/prod/1234abc0-1234-11ab-1234-1234abc07abc/initiator/initiator.nocache.js'></script>
Note the following details from the generated script:
-
Data Center information: The URL domain in the src value determines the data center.
US data center: cdn.whatfix.com
EU data center: eucdn.whatfix.com -
Account ID: Each Whatfix account is identified by a unique 36-character alphanumeric string. The account ID is present in the same script. For example, in the above script, 1234abc0-1234-11ab-1234-1234abc07abc is the account ID.
Step 2: Configure script-based integration on SAP SuccessFactors
Contact your SAP Successfactors Admin with Company System and Logo Settings permission to perform this step.
Use the following steps to configure JS Embed:
-
On the SAP SuccessFactors dashboard, click your profile picture.
-
Click Admin Center.
-
In the Tools section, search and select Script-Based Integration Settings.
-
Click Add Supplier.
-
In the Enter Supplier ID field, add whatfix as the supplier.
-
In the Script-Based Integration Settings page, enter the following details against each of the input fields:
-
Whatfix Data Center: Choose the appropriate data center for your account.
-
Account ID: Enter the 36-character alphanumeric string obtained from the account-specific JS-embed script generated by Whatfix.
-
Enable Whatfix Integration: Enable this option to ensure Whatfix content shows up on your account.
If you currently use the Browser extension method as your delivery method, you can switch to the JS Embed method. For more information, see Switch from Browser Extension to JS Embed for SAP SuccessFactors.