Configure additional Revenue Grid organizations in the Salesforce integration#
The Revenue Grid managed package originally operated in a single-organization model. All Salesforce users in the same Salesforce organization communicated with the same Revenue Grid organization using the default Named Credential (REVGRD__RG_Named_Creds) and the External Credential (RG_Ext_Creds) included in the package.
Starting from version 1.97, Revenue Grid supports connecting different users or profiles in the same Salesforce organization to different Revenue Grid organizations.
This configuration supports two scenarios:
Single-organization integration – No additional setup is required. The system continues to use the default credentials.
Multi-organization integration – Administrators can create additional Named Credentials and External Credentials and assign them to specific users or profiles.
This guide explains how to configure additional credentials and assign them to users who should connect to another Revenue Grid organization.
Prerequisites#
Before starting the configuration:
Configure the Revenue Grid integration for the primary Revenue Grid organization.
Check your current package version to confirm that the installed Revenue Grid managed package version is 1.97 or later.
Ensure you have Salesforce administrator permissions and the Platform admin role in the additional Revenue Grid organization.
Configuration overview#
Repeat the following steps for each additional Revenue Grid organization:
Step 1: Obtain the Revenue Grid tenant URL#
Open the Revenue Grid platform for the additional organization in a web browser. Signing in is not required. Revenue Grid platform URLs are organization-specific.
Example:
https://acme.revenuegrid.com/settings/personal/account
If you do not know your organization’s Revenue Grid URL, contact Revenue Grid Support.
In the browser address bar, remove everything after
.comso that only the base URL remains.Ensure there is no
/after.com.Example:
https://acme.revenuegrid.com
Copy the resulting address to a text editor.
This base URL will be used when creating the Salesforce named credential.
Step 2: Generate the client ID and client secret#
Perform the actions in this section in the administration settings of the additional Revenue Grid organization.
Important
The client secret is displayed only once — immediately after the integration is created. Copy and store it securely, as it cannot be viewed again later.
Sign in to Revenue Grid platform and open settings.
Navigate to Administration > App integrations.
Click Create integration in the top-right corner of the page.
Fill in the integration details:
Field
Description
Title
Enter a name for the integration (for example,
RG managed package).Client ID
Leave this field empty. It is generated automatically.
Client Secret
Leave this field empty. It is generated automatically.
Active
This field is read-only during creation and is enabled by default. You can disable it later if needed.
Lifetime
This field is read-only during creation. The default credential lifetime is 370 days. After the integration is saved, admins can reduce the lifetime if needed.
Click Save at the bottom of the form. After saving, the system will display the client ID and client secret.
Copy the client secret immediately after creation and store it securely. It will not be shown again after you close the dialog.
Step 3: Create a new external credential#
In Quick Find, enter Named Credentials and open the page.
Go to the External Credentials tab and select New.
In Label and Name, enter recognizable values for the external credential.
Copy the external credential Name to a text editor. You will need it later when creating the named credential assignment.
Note
The External Credential API name can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, contain no spaces, not end with an underscore, and not contain two consecutive underscores.
In Authentication Protocol, select Custom.
Select Save.
In the Principals section, select New.
Enter the following values:
Parameter Name – Any value
Sequence Number – Any number
In the Authentication Parameters section, select Add two times to create two parameters.
Important
Use the parameter names exactly as shown:
client_secretandclient_id. These values are case-sensitive. Any variation will cause authentication to fail.For the first parameter, enter:
Name –
client_secretValue – The client secret generated in Step 2
For the second parameter, enter:
Name –
client_idValue – The client ID generated in Step 2
Select Save.
Step 4: Create a new named credential#
On the Named Credentials page, go to the Named Credentials tab and select New.
In Label and Name, enter recognizable values for the named credential.
Copy the named credential Name to a text editor. You will need it later when creating the named credential assignment.
Note
The Named Credential API name can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, contain no spaces, not end with an underscore, and not contain two consecutive underscores.
In URL, enter the Revenue Grid organization URL obtained in Step 1.
Ensure that Enabled for Callouts is turned on.
In External Credential, select the external credential created in Step 3.
Ensure that Generate Authorization Header and Allow Formulas in HTTP Body are turned on.
In Allowed Namespaces for Callouts, enter
REVGRD.
Select Save.
Step 5: Create a new permission set#
In Quick Find, enter Permission Sets, and open the page.
Select New.
In Label, enter a recognizable name for the permission set.
Select Save.
On the permission set page, select View Summary.
Under Permission Set Information, open the Object Permissions tab and select Edit.
Find the User External Credential object.
In the Read column, enable the permission.
Select Save.
Return to the permission set page and under Apps, open External Credential Principal Access.
Select Edit.
In Available External Credential Principals, select the external credential created in Step 3 and move it to the enabled list.
Select Save.
Step 6: Allow users to modify named credentials and external credentials#
Step 7: Assign the permission set to users#
Assign the permission set to all users who should connect to the additional Revenue Grid organization.
Step 8: Create a named credential assignment#
In Quick Find, enter Custom Settings, and open the page.
Select Manage next to Named Credentials Assignment.
Select New.
In Location, select one of the following:
User if you want to assign the named credential to specific users
Profile if you want to assign the named credential to all users with a specific profile
Click the lookup icon, search for the required user or profile, and select it.
In External Credentials Name, enter the external credential name created in Step 3.
In Named Credentials Name, enter the named credential name created in Step 4.
In Tenant URL, enter the Revenue Grid organization URL from Step 1.
Select Save.
Step 9: Add a new remote site#
Result#
After you complete these steps, users assigned to the additional credentials will connect to the specified Revenue Grid organization. All other users will continue using the default organization configuration without changes.