Assigning a service account for Foresight#
In this article you’ll learn:
What a service user is and why it’s used in Foresight deployment.
The key requirements the service user must meet.
How to assign and configure the service user.
This article is aimed at administrators who are responsible for provisioning and configuring CRM and Revenue Grid environments.
What is a service user and why іs іt used?#
A service user is a dedicated CRM user account (e.g., in Salesforce) that the Revenue Grid system uses to connect to and import CRM data on behalf of other end users. This functionality is used only by the AI component of Revenue Grid Platform.
Why do we use a service account?#
Rather than having Revenue Grid import data for each individual user, the service user acts as one account that has broad access, and pulls in data centrally.
Then Revenue Grid applies visibility rules so that ordinary users only see what they’re permitted to see.
This streamlines setup, avoids per-user CRM connections, centralises maintenance, and saves you API calls.
How it works in practice#
The service user must have high privileges in the CRM so that it can access the records/objects that the rest of your users use.
Revenue Grid then uses that service user’s connection to read (and if needed) write data, and apply logic so the right data surfaces for each end-user.
Requirements for the service user#
Here are the key requirements and best practices you should ensure before assigning a service user for Revenue Grid.
Licence and user-account type#
Use a dedicated user account (do not use an ordinary active sales/marketing rep’s account).
The account should have the CRM licence equivalent to a full user (e.g., full Salesforce licence, not a community or limited-access license).
Access permissions and data visibility#
The service user should have permission to read all the objects required by Foresight and all the custom objects/fields you want our system to work with.
If your organization would like Foresight to update the CRM (e.g., save meeting summaries to the CRM), this user should also have the write permissions.
Minimum object and field list#
Below is the list of standard CRM objects and fields that the service user should have access to:
Object |
Fields |
|---|---|
Account |
Industry, IsPersonAccount, Name, ParentId, OwnerId, Website, Description |
Contact |
AccountId, Email, Name, Title, LastName |
ForecastingQuota |
IsAmount, PeriodId, QuotaAmount, QuotaOwnerId |
Lead |
Email, IsConverted, Name, Title |
Note |
Title, Body, ParentId |
OpportunityContactRole |
OpportunityId, ContactId, Role |
Opportunity |
AccountId, ContactId, OwnerId, CloseDate, IsClosed, IsWon, Name, NextStep, StageName, Amount, LeadSource, HasOpportunityLineItem, ForecastCategory, Probability, Description |
OpportunityHistory |
OpportunityId, CloseDate, StageName, Amount, Probability, ForecastCategory |
OpportunityStage |
ApiName, IsActive, IsClosed, IsWon |
Period |
StartDate, EndDate, FiscalYearSettingsId, FullyQualifiedLabel, Type |
User |
Email, IsActive, Name, Title, UserRoleId |
UserRole |
DeveloperName, Name, ParentRoleId |
Make sure to include any additional custom objects or fields specific to your organization’s CRM setup.
Service user account usage constraints
The service account should not be used as a normal user.
Use a strong password or managed identity.
Monitor for token expiry or disconnection.
Create and assign the service user for Foresight#
Follow these steps to successfully assign and configure your service user:
Create a dedicated service user in your CRM. Follow this Salesforce guide to add a new user account. Ensure this account has a full CRM license and is clearly labeled as a service user.
Set up user permissions and data visibility. Ensure visibility to all relevant records and objects through role settings or sharing rules as needed.
Provision the user in the Revenue Grid system by following this guide: Provisioning users.
Connect the service user in Revenue Grid:
In the Revenue Grid platform, go to Settings > Platform Settings > Data Processing > CRM Service Account.
In the dropdown menu, select the CRM user account you created and provisioned.
If the CRM service account has all the necessary permissions, Revenue Grid will start importing and analyzing your CRM data.