Configure admin-authorized access for Salesforce using Salesforce service account#

Revenue Grid supports admin-authorized access to Salesforce using a dedicated service account. This method enables secure, centralized authorization for all users, eliminating the need for individual user sign-ins and reducing the risk of connection loss due to expired tokens.

When combined with admin-authorized mailbox access, it enables a fully silent setup — ideal for Context Sync-only deployments and large-scale or zero-touch rollouts.

Important: When using both Context Sync and Context Panel, CRM access can be authorized through a service account. However, users must still sign in to Context Panel with their Salesforce credentials. Context Panel operates in the user’s context and cannot automatically identify users, so this scenario still requires user interaction and may not meet the goal of a fully silent deployment.

Before you begin#

Ensure the following prerequisites are met:

  • You are signed in as a platform admin or profile admin in Revenue Grid.

  • All required user profiles have been created in Revenue Grid.

For instructions on how to create profiles, see Create and configure user profiles.

Required permissions for the Salesforce service account#

To centrally authorize access for all users, the Salesforce service account must have full access to organizational data. We recommend assigning it a System Administrator profile or a custom profile with the following permissions:

System permissions#

Permission

Description

Notes

Access Activities

Access tasks, events, calendar, and email.

Access Libraries

Access Libraries.

Required for Content Documents.

Apex REST Services

Allow access to Apex REST services.

API Enabled

Access any Salesforce API.

Edit Events

Create, edit, and delete events.

Edit Read Only Fields

Edit fields that are read-only due to page layouts or field-level security.

Edit Tasks

Create, edit, and delete tasks.

Required if emails are shared via Tasks.

Modify All Data

Full control over all organizational data, regardless of sharing settings.

Required for impersonation scenarios.

View All Data

Read access to all organizational data, regardless of sharing settings.

Ensures visibility across all records.

Object-level permissions#

Object

Permissions

Notes

Accounts

Read, Create, View All.

Contacts

Read, Create, Edit, Delete, View All, Modify All.

Documents

Read, Create, Edit, View All, Modify All.

Required for Content Documents.

Opportunities

Read, View All.

Leads

Read, Create, Edit, View All, Modify All.

FAQs about permissions#

  • What is the “Access Libraries” permission, and why is it needed?

    The Access Libraries permission allows the service account to access Salesforce Libraries, which are used to store and share Content Documents. Without this permission, actions like attaching files to records or retrieving documents — especially when using impersonation — may fail.

    If your users interact with files or attachments, ensure this permission is enabled.

  • What is the “Modify All Data” permission, and why is it important?

    The Modify All Data permission gives the service account unrestricted access to modify any data in the Salesforce org, regardless of ownership or sharing settings.

    It’s critical for impersonation scenarios where the account needs to act on behalf of users across records and objects. Without it, you may encounter “insufficient access” errors when modifying records the service account doesn’t explicitly own.

  • What is the “View All Data” permission, and why is it required?

    The View All Data permission ensures the service account can view all records in the organization, regardless of visibility settings.

    Since impersonation involves accessing data across multiple users, this permission guarantees the service account can retrieve records even when normal user-based sharing rules would block access.

Authorize Salesforce access using the service account#

Follow these steps to configure admin-authorized Salesforce access in Revenue Grid:

  1. Prepare a Salesforce service account

  2. Connect the service account in Revenue Grid

Step 1: Prepare a Salesforce service account#

Create a dedicated Salesforce account that Revenue Grid will use to access user data on their behalf.

Requirements:

  • The account must be used only for Revenue Grid Salesforce access.

  • Do not provision this account as a user in Revenue Grid.

  • The account needs to have a valid Salesforce license assigned.

To create the service account:

  1. Open the Salesforce Setup page.

  2. In the Quick Find box, type Users, then click Users under the results.

  3. Click New User.

    ../../../../_images/NewSFUser.webp
  4. Fill in the required details. We recommend naming the user clearly (e.g., RG_ServiceAccount) so it’s easy to identify for troubleshooting or auditing.

  5. Assign the appropriate User License and a Profile that includes all required permissions.

  6. Click Save.

Step 2: Connect the service account in Revenue Grid#

  1. Open Revenue Grid administration settings.

  2. Select Profiles.

    ../../../../_images/ProfilesTab.webp
  3. Open the profile to configure and go to the Connectivity tab.

    ../../../../_images/ConnectivityTab.png
  4. In the CRM section, click Log in with Salesforce.

    ../../../../_images/CRM1.png
  5. In the Salesforce OAuth window, sign in using the dedicated service account credentials.

After successful login, the Connected status will appear next to Salesforce.

../../../../_images/sf-connected.png

Once connected, all users assigned to this profile will be authorized to access Salesforce without needing to log in individually. Synchronization will begin automatically after mailbox access is configured.

Note: If you also use Context Panel, users must still sign in with their Salesforce credentials. This is because Context Panel operates in the user’s context and cannot automatically identify them via the service account.