Setting up auto-provisioning for Salesforce users Updated November 19, 2024 18:12 Note: This article is about the new beta Admin App, which is still in development. Changes may occur. Please provide feedback directly in the beta app. When you’ve set up a Salesforce instance in Showpad, it can save you a lot of time to automatically create users and groups if they already exist in Salesforce. There are two options you can select to set up the provisioning. You can use the just-in-time auto-provisioning feature to automatically create a Showpad account for users who use their Salesforce credentials when logging in to Showpad for the first time. Similarly, use automatic provisioning and de-provisioning via Nightly Sync to have Showpad user accounts and groups created or removed nightly. If you use just-in-time provisioning, edits or updates to the user in Salesforce will not update the user in Showpad the next time they log in. In addition, removing a user from Salesforce will not remove the user in Showpad. If you remove the user from Showpad but he or she logs in again with the Salesforce credentials, the user will be recreated in Showpad. If you use automatic provisioning and de-provisioning via the Nightly Sync, users and groups will be added or removed nightly to keep them true with your Salesforce record, and you will no longer be able to edit users in Showpad. You can still add, edit, or remove manual groups on synced users. The sync runs nightly at 3:00 AM UTC, but you can manually sync as needed. Note: If users who are synced via nightly sync have their email address changed, a new Showpad account will be created for them via the sync, and the original account will be deactivated. To avoid this, please reach out to our support team to have their email address updated in our system. This way all their historical account data will remain. You need this to succeed The beta Admin App enabled Admin privileges on both the Showpad and Salesforce platforms Showpad Plus or Ultimate plan Salesforce Enterprise or Unlimited plan Select your Salesforce Experience Classic Lightning See how it works on Salesforce Classic Create a Group Assignment Field in Salesforce Classic Configure auto-provisioning in Showpad Test the auto-provisioning Do this step by step 1. Create a Group Assignment Field in Salesforce Classic First, we need to create a Group Assignment Field to assign the auto-provisioned users to a specific User Group in Showpad. Click Setup. Click Customize, Users, Fields in the left menu. This will open the User Fields page where you can add the custom field we need for auto-provisioning. Scroll down on this page and click the New button. Under Data Type select Formula and click Next. Enter a Field Label for the custom field and select Text as a return type. Click Next. Open the Select Field Type drop-down list and select $Profile. Open the Insert Field drop-down list and select Name. If the user group does not yet exist in Showpad, this $Profile.Name is used to create a new group in Showpad with the same name the user belongs to in Salesforce. You can add a Description and a Help Text for the custom field at the bottom of the page, but this is not mandatory. Click Next. Click the Next button and Save your new Custom Field. Scroll down to the User Custom Fields list and copy the API name of your custom field. This is the value you'll need later to configure the Group Assignment Field of the Salesforce instance on the Showpad Online Platform. The field must match exactly and is case sensitive. It is important to verify the profile your users belong to in Salesforce. As mentioned before, the $Profile.Name will be used to create a group if that name doesn't exist yet in Showpad.If still necessary, you can create new profiles via Administer, Manage Users, Profiles. Save the profile and select this profile for the user(s). Back to Top 2. Configure auto-provisioning in Showpad In this example, we will configure auto-provisioning for a Salesforce instance that has already been connected. In the Admin App, click the gear icon to open Settings. Select CRM from the Integrations Menu. Click the instance for which you want to enable auto-provisioning. Scroll down to the Authentication section and click Edit for the SSO and User Provisioning field. First choose if you wish to allow Single Sign-On for users by checking the box. When enabled, users will see the option to log in with Salesforce using their Salesforce credentials on their login screen. When disabled, the Salesforce login button will be removed from the login screen. Users who logged in with Salesforce prior to removing the button will remain logged in until their session expires or their account is deactivated/deleted. Next, choose the type of user provisioning you'd like. You can select None, Just-In-Time automatic provisioning, or Nightly Sync provisioning. Just-in-time automatic provisioning means that Showpad user accounts will be automatically created when users log into Showpad for the first time using the Salesforce log in option. Nightly sync means that Showpad user accounts and groups will be created or removed through a nightly sync with Salesforce. If you've selected Just-in-time provisioning, create the default list of the group(s) that you want the new auto-provisioned users to be added to in Showpad. Add a Group Assignment Field for Salesforce that the newly provisioning users will be added to. Default Group for new users: Enter the user group newly provisioned users will be assigned to by default. Group Assignment Field in Salesforce: When a user is already assigned to a group in Salesforce, Showpad can auto-provision these users and add them to a specific user group in Showpad, based on any desired field information from Salesforce. Showpad will now automatically create the user group, based on the $Profile.Name we configured in Salesforce. Alternatively, you could use whatever value or lookup formula you want, such as a combination of country and role. Multiple groups are allowed, and need to be separated by a comma. If you selected the Nightly Provisioning option, select if you wish to pull in users based on their Salesforce Permission Set or by their Salesforce Profile. Select the corresponding permission set or profile from the dropdown menu.Then, use the Salesforce user fields input a comma-separated list of the Salesforce User Fields that you wish to create relevant user groups for. For example, if I add Division as a Salesforce user field, and a sales rep has Mid-market listed in their Salesforce Division user field, they will be added to a Mid-market group in Showpad. Essentially, values in the selected Salesforce user fields will be created as groups with the corresponding users in Showpad. Use the API name of the field. If you use the nightly sync option and want to update it without waiting for the nightly sync time, you can sync it as a one-off instance. Navigate to Integrations, then select CRM and open the applicable instance. In the Authentication section, click Sync Users. Back to Top 3. Test the Just-in-time Auto-provisioning If you've successfully configured automatic nightly provisioning, you will notice changes in your Showpad user tab the following morning. However, if you selected Just-in-time provisioning, you can verify that the integration works right away. To do so, create a new Salesforce user or use an existing user to test. The Salesforce user logs in on Showpad and will be created automatically in the configured group that we defined in the Salesforce instance in the Showpad Admin App. Create a new user or ask a user from the Users List in Salesforce to sign in on Showpad. Log in on a device with the Salesforce username. In the Admin App, you'll see that the user is now automatically created in Showpad, in the group we configured. See how it works on Salesforce Lightning Create a Group Assignment Field in Salesforce Lightning Configure auto-provisioning in Showpad Test the auto-provisioning Do this step by step 1. Create a Group Assignment Field in Salesforce Lightning First, we need to create a Group Assignment Field to assign the auto-provisioned users to a specific User Group in Showpad. Click the gear icon in the upper right corner of your screen, then select Setup. Under Platform Tools on the left-side column, expand Objects and Fields and select Object Manager. Select User from the label list. Select Fields & Relationships. Then click New. Under Data Type select Formula then scroll down and click Next. Enter a Field Label for the custom field and select Text as a return type. Click Next. Open the Select Field Type drop-down list and select $Profile. Open the Insert Field drop-down list and select Name. If the user group does not yet exist in Showpad, this $Profile.Name is used to create a new group in Showpad with the same name the user belongs to in Salesforce. You can add a Description and a Help Text for the custom field at the bottom of the page, but this is not mandatory. Click Next. Select your security fields as desired, then click Save. Select the page layouts that should include this new field. Click the Next button and Save your new Custom Field. Back on the Fields & Relationships list scroll down and click on the new field you just created. Copy the API name of your custom field. This is the value you'll need later to configure the Group Assignment Field of the Salesforce instance on the Showpad Admin App. It is important to verify the profile your users belong to in Salesforce. As mentioned before, the $Profile.Name will be used to create a group if that name doesn't exist yet in Showpad.If still necessary, you can create new profiles via Administer, Manage Users, Profiles. Save the profile and select this profile for the user(s). Back to Top 2. Configure auto-provisioning in Showpad You can enable and set up auto-provisioning in Showpad while setting up a Salesforce instance or after an instance has been created. In this example, we will configure auto-provisioning for a Salesforce instance that has already been set up. In the Admin App, click the gear icon to open Settings. Select CRM from the Integrations Menu.Click the instance for which you want to enable auto-provisioning.Scroll down to the Authentication section and click Edit for the SSO and User Provisioning field. First, choose if you wish to allow Single Sign-On for users by checking the box. When enabled, users will see the option to log in with Salesforce using their Salesforce credentials on their login screen. When disabled, the Salesforce login button will be removed from the login screen. Users who logged in with Salesforce prior to removing the button will remain logged in until their session expires or their account is deactivated/deleted. Next, choose the type of user provisioning you'd like. You can select None, Just-In-Time automatic provisioning, or Nightly Sync provisioning. Just-in-time automatic provisioning means that Showpad user accounts will be automatically created when users log into Showpad for the first time using the Salesforce log in option. Nightly sync means that Showpad user accounts and groups will be created or removed through a nightly sync with Salesforce. If you've selected Just-in-time provisioning, create the default list of the group(s) that you want the new auto-provisioned users to be added to in Showpad. Add a Group Assignment Field for Salesforce that the newly provisioning users will be added to. Default Group for new users: Enter the user group newly provisioned users will be assigned to by default. Group Assignment Field in Salesforce: When a user is already assigned to a group in Salesforce, Showpad can auto-provision these users and add them to a specific user group in Showpad, based on any desired field information from Salesforce. Showpad will now automatically create the user group, based on the $Profile.Name we configured in Salesforce. Alternatively, you could use whatever value or lookup formula you want, such as a combination of country and role. Multiple groups are allowed, and need to be separated by a comma. If you selected the Nightly Provisioning option, select if you wish to pull in users based on their Salesforce Permission Set or by their Salesforce Profile. Select the corresponding permission set or profile from the dropdown menu.Then, use the Salesforce user fields option to add a comma-separated list of the Salesforce User Fields that you wish to create relevant user groups for. For example, if I add Division as a Salesforce user field, and a sales rep has Mid-market listed in their Salesforce Division user field, they will be added to a Mid-market group in Showpad. Essentially, values in the selected Salesforce user fields will be created as groups with the corresponding users in Showpad. Use the API name of the field. If you use the nightly sync option and want to update it without waiting for the nightly sync time, you can sync it as a one-off instance. Navigate to Integrations, then select CRM and open the applicable instance. In the Authentication section, click Sync Users. Back to Top 3. Test the Just-in-time auto-provisioning If you've successfully configured automatic nightly provisioning, you will notice changes in your Showpad user tab the following morning. However, if you selected Just-in-time provisioning, you can verify that the integration works right away. To do so, create a new Salesforce user or use an existing user to test. The Salesforce user logs in on Showpad and will be created automatically in the configured group that we defined in the Salesforce instance in the Admin App. Create a new user or ask a user from the Users List in Salesforce to sign in on Showpad. Log in on a device with the Salesforce username. In the Admin App, you'll see that the user is now automatically created in Showpad, in the group we configured. Learn how this feature works in the current Online Platform. Related articles Set up intelligent Content recommendations Download and install the Showpad for Salesforce app Configure Coach reporting in Salesforce