Integrating Salesforce with Ruddr provides numerous benefits as outlined in the Salesforce Integration Overview article. To install the Salesforce integration, follow the steps below. Note that you must be a Ruddr Workspace Admin to install integrations in Ruddr and that the Pipeline feature in Ruddr must be enabled.
There are three, distinct activities required for setting up the Salesforce integration:
- Set up and Configure a Salesforce Integration User
- Set up and Configure Salesforce Permission Set
- Install and Configure Salesforce Integration in Ruddr
The actions taken in the first two activities listed will produce a Username and Security Token, which will be used to install the Salesforce integration.
Set up and Configure a Salesforce Integration User
Before following the steps below, please be sure to consult the Salesforce literature on Best Practices for Configuring your Integration User. The steps outlined here will be tailored to the needs for Ruddr's Salesforce integration, but recommended best practices as documented by Salesforce should be followed.
The Salesforce integration user will be the account that Ruddr leverages for read-only access to Companies, Contacts, and Opportunities. There are four steps to creating this user:
- Create a new user
- Configure the user
- Verify the new user account
- Reset the security token for the new user account
- Convert user to a Salesforce integration license
Step 1: Create a new user
While logged in as a Salesforce administrator, navigate to the Users list page. From there, click the New User link / button.
Step 2: Configure the user
Generally, you will configure this user as you normally would (Figure 1). Note that the email address specified for this user will need to be a valid address that you will be able to access. You may want to consider setting up a system email account for this user. You will need to verify that account, where you will receive important information in a later step.
Figure 1 - Example User Information when Setting up Salesforce Integration User
As part of the user configuration, assign a role, license, and profile (Figure 2) as if this is a "typical" user with login capability. Default or disable other settings as needed.
Figure 2 - Supply a Role, License, and Profile for the New Salesforce Integration User
Step 3: Verify new user account
Once you have created the user, Salesforce will send an email (Figure 3) to the address specified for that user. To verify the account, access the email inbox provided in Step 2. Click the Verify Account link in the verification email from Salesforce.
Figure 3 - Click the Verify Account Link in the Verification Email to Activate the New Integration User
Upon clicking the Verify Account link, you will be prompted to enter a new password (Figure 4). Create a new password for the account. Ensure that this password is a secure password, as it will be used to in the connection to Salesforce from Ruddr as part of the Salesforce integration.
Figure 4 - Salesforce will Prompt for a New Password Once the New User Account is Verified
Step 4: Reset the security token for the new user account
Once you have provided a new password for the new user and are logged into Salesforce with that account, you will need to reset the security token for the account.
Navigate to My Settings > Personal > Reset My Security Token (Figure 5). From here, click the Reset Security Token button on that page.
Figure 5 - Reset the Security Token for the Integration User Account
A new token will be generated and sent (Figure 6) to the email address on the integration user's account. This token will used in providing credentials to Ruddr when installing the Salesforce integration.
Figure 6 - Example Security Token from Salesforce
Step 5: Convert the integration user to a Salesforce Integration license
Once you have received the new security token from Step 4, edit the user record in Salesforce (while logged in as a Salesforce administrator). Change the User License (Figure 7) on the user to a Salesforce Integration license. Additionally, set the Profile of the user to Salesforce API Only System Integrations.
Figure 7 - Specify a Salesforce Integration License for the Integration User
Applying this license will restrict the user from being able to log into Salesforce as a normal user. The user will now be limited to accessing / connecting to Salesforce via the API.
With the new user configured and a security token provided, you are now ready move on to the second activity where you will establish Salesforce permission sets for the integration user.
Set up and Configure Salesforce Permission Set
Once the integration user has been created, you will need to assign permissions to the user such that it can access specific Salesforce data via the API. This process will also result in establishing restrictions for the user, in that you will only be providing read access to companies, contacts, and opportunities in Salesforce and any related activity data for those entities.
The four steps to complete this activity are as follows:
- Create a new permission set
- Configure the object settings for the permission set
- Grant the permission set access to Salesforce activities
- Assign the new permission set to the integration user
Step 1: Create a new permission set
As a Salesforce administrator, access the Permission Sets for your Salesforce instance. Create a new permission set (Figure 8) for the Ruddr API Integration. Ensure that the permission set license is set to the Salesforce API Integration license (Figure 9) specified for the integration user in the steps above.
Figure 8 - Create a New Permission Set for the Integration User
Figure 9 - In Creating the Permission Set, Apply the Salesforce API Integration License
Step 2: Configure the Object Settings for the new permission set
Edit the new permission set (Figure 10), selecting to manage the Object Settings for the permissions set.
Figure 10 - Configure the Object Settings for the New Permission Set
Assign Object and Field permissions to Accounts (Figure 11), Opportunities, and Contacts to include the following for all fields:
- Read
- View All with Read Access
Only a subset of fields will be used for populating Ruddr data from Salesforce. However, any future enhancements to the Salesforce integration in Ruddr may include support for additional fields on the Account, Opportunity, and / or Contact objects, therefore it is recommended to apply the above settings for all fields on these objects.
Figure 11 - Setting Object and Field Permissions for Accounts
Step 3: Grant permission set access to Salesforce activities
Navigate to the Permission Set Overview and modify System Permissions (Figure 12) to give access to activities.
Figure 12 - Access System Permissions on the Permission Set
From within the System Permissions area of the permission set, enable Access Activities (Figure 13).
Figure 13 - Grant the Permission Set the Ability to Access Activities for Accounts, Contacts, and Opportunities
Step 4: Assign the permission set to the integration user
Navigate to the Permission Set Overview and click the Manage Assignments button (Figure 14) at the top of the overview. From here (Figure 15), you will assign the permission set to the newly created API user.
Figure 14 - Access the Manage Assignments Area of the Permission Set
Figure 15 - Assign the Permission Set to the Integration User that you Created
Install and Configure Salesforce Integration in Ruddr
With the Salesforce API user set up and configured, with the appropriate permission set assigned, you are now ready to provide the related credentials to Ruddr to install the Salesforce integration.
Step 1: Install the Salesforce Integration
As a workspace administrator in Ruddr, navigate to the Integrations area of workspace settings (Figure 16).
Figure 16 - Access the Integrations Area of Workspace Settings to Install the Salesforce Integration
From here, click on the Install button (Figure 17) found on the Salesforce tile under the available integrations. NOTE: this button will be disabled if the Ruddr Pipeline feature has not been enabled.
Figure 17 - Click the Install Button on the Salesforce Tile to Begin the Installation
Upon clicking the Install button, you will be prompted (Figure 18) for the Salesforce integration user's credentials for connecting to the Salesforce API for the first time.
NOTE: The security passphrase is a combination of the integration user's password and the security token that was sent to the integration user's email account from the Set Up and Configure a Salesforce Integration User activity above.
Figure 18 - Supply the Salesforce Integration User's Username and Passphrase
Step 2: Configure Integration
Once connected, you will be taken to the Salesforce integration settings page in Ruddr. Here, you will configure various Sync Settings to control the data that is synced from Salesforce to Ruddr.
Click the Change Settings button in the Sync Settings block (Figure 19) of the settings page.
Figure 19 - Configure the Sync Settings for the Salesforce Integration
This will present the Sync Settings drawer (Figure 20), where you will be able to set the following settings:
-
Automatically Sync: set whether or not the Salesforce integration will automatically sync data from Salesforce to Ruddr on an interval. You can also set the Frequency of the sync with one of the following values.
- Every Hour
- Every Two Hours
- Every Three Hours
- Every Four Hours
- Every Eight Hours
- Every Twelve Hours
- Daily
- Beginning Date: specify the earliest Start Date from which you want to sync opportunities. Any opportunity created prior to the Start Date will not be synced.
- Opportunity Minimums: any opportunities with a Probability less than the Minimum Probability or with an opportunity amount less than the Minimum Amount will not be synced.
-
Opportunity Types: any opportunities with the selected opportunity types will be synced. These opportunity types are based on the types in your Salesforce instance.
Figure 20 - Configure the Sync Settings for the Salesforce Integration
Step 3: Manually Run a Full Salesforce Synchronization
Once you have specified the various sync settings, click the New Manual Sync button found on the Sync Settings block (Figure 19) of the integrations settings page.
This will prompt you (Figure 21) to select whether or not you wish to run a Full synchronization, which will fetch all company, contact, opportunity, and activity data going back to the Start Date that you specified in Sync Settings in Step 2.
Once the initial, full synchronization has been run, you will be able to leave the Full synchronization setting unchecked, which will result in an incremental sync that will only bring over any updates since the most recent, successful sync was completed.
Figure 21 - Execute a Manual, Full Synchronization as a First Sync of Salesforce Data
Step 4: Review the Sync Results Log
For both Automatic and Manual syncs, Ruddr will provide a log of the synchronization results, which can be accessed from the Latest Sync Results section (Figure 22) on the Salesforce integration settings page.
Figure 22 - Ruddr Provides Log Files from Automatic and Manual Syncs