Sync Attributes from Okta to Simpplr


Note:

This article provides steps for syncing Okta attributes to Simpplr. You must first have Okta enabled at the application level before performing the steps below. For information on how to initially set up Okta's SSO solution with Simpplr, click here.

 

Follow these steps to sync attributes from Okta to Simpplr using Simpplr's Okta API integration.

Enable Okta syncing

      1. Click on the user picture on the top right corner and Manage > Application.
      2. Go to Integrations > Single Sign on. Choose Okta from the list.
        sync_Okta_1.gif
      3. Enter the URL of Okta Tenant (like https://companyname.okta.com).
      4. Paste the Okta API token. You can generate the Okta API token by going to your org's Okta admin account. From the Okta Admin Panel > Security > API menu, copy the token. Head back to Simpplr to paste it.
        sync_Okta_2.gif
      5. In most cases, the Okta username format will be Salesforce account email*, but it can be changed. Click Save when finished.
        sync_Okta_4.png
      6. Back in your user menu, go to Manage > Apps & links.
      7. Select Okta under the Apps integration dropdown.
      8. Scroll down to the bottom and click Save.
        Sync_Okta_5.gif
      9. As the Salesforce System admin, go to Salesforce. In the Setup menu, type Remote into the Quick Find box. Choose Remote Site Settings. Then click New Remote Site.
        sync_Okta_6.gif
      10. For Remote Site Name, enter “Okta”.
      11. For Remote Site URL, enter your org's Okta URL.
      12. Click Save

 

Scenarios for syncing fields

All attributes are working, but changes are required for the manager attribute to sync. There are two possible scenarios you can run:

Scenario 1

This is applicable if Active Directory is the source account from which you're syncing user data. If you check the Manager attribute in Okta profile for the user, this field will be blank. If you scroll down further, you'll see the manager attribute from Active Directory reads Distinguish Name of manager. You'll need to change this Distinguishing name to Manager email. 

  1. Go to Directory > Profile Editor and look for Active Directory on the left hand side. Click Mappings.
  2. Ensure that changes are being made from from Active Directory to Okta. You can verify this by seeing the top.
  3. Scroll to Manager attribute.
  4. Add this function: getManagerUser("active_directory").email. This will convert the Manager DN to Manager email.
  5. Run the Full import from Active Directory to Okta.

Scenario 2

Option 1: If Okta is the source account from which you're syncing user data, then you only need to ensure that you have the manager's email address in the Manager attribute.

Option 2: You can create a custom attribute called managerEmail (This is case sensitive). One of these attributes should be a manager email.

Note: For encrypted orgs, mappings need to be as such:

  • FirstName - Simpplr__FirstName__c
  • LastName - Simpplr__LastName__c
  • Email - Simpplr__Email__c

To add a new attribute:

  1. In Okta, from Directory > Profile Editor, find the Okta User (default) profile. Select Add Attribute
  2. Select the data type
  3. Enter the Display name as managerEmail
  4. Enter the Variable name. This can match the Display name
  5. Give the attribute a Description; something short but informative
  6. Click Save
    okta_manager_attribute.png

Select Okta fields to sync from within Simpplr

Note:

Any custom field in Okta can be mapped in Simpplr.
      1. Go to Simpplr, go to Manage > Manage application. Click People in Manage Application. Go to User Syncing.
      2. Change the Syncing Source from Salesforce to Okta.
      3. Check the attributes you want to sync from Okta like Title, Manager, etc.

        Note:

        The Company field in Simpplr maps to the Organization field in Okta. 
      4. For the Hire Date field, enter the Okta field name that contains the hire date. The date must be in YYYY-MM-DD format.
      5. If you want to add any custom field, scroll down to Sync additional fields, click Add Field.
      6. Enter the Okta field name in Field to Sync field.
      7. Enter the field name that you want to display in Simpplr in Label singular and Label plural.
      8. If you want to display the field in the People directory as one of the searchable filters, select the Display filter on people listing for this field checkbox.
      9. Scroll down to Save.Sync_Okta_fields.gif

Force sync

      1. To run the sync scheduler, go to Manage > Application > Setup > Schedulers.
      2. Select SchedulerSimpplrServices and click on the dropdown.
      3. Click Run now. This is scheduled to run overnight daily, but Run Now allows you to manually sync with Okta right away.

Run_Okta_sync.gif

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more