Salesforce Logo

Salesforce Plugin Real Time Configuration

The following provides instructions for configuring the Salesforce Real Time Plugin.

Supported Versions

The Salesforce plugin uses the Salesforce API v52.0 and is compatible with both Salesforce Classic and Salesforce Lightning. Real time schedules are supported for discovered schemas and custom schemas that do not contain a Salesforce Relationship Query.

Salesforce Plugin Configuration within Aunsight Golden Record

The Salesforce plugin requires the user to create a Salesforce Push Topic within Salesforce and enter the name of the created push topic in the plugin configuration.

  1. On the Configure Connection, click Connect to Oauth.

    Connect to Oauth

  2. In the prompt, enter your Salesforce username and password and click Login.

    Salesforce Login

  3. Once logged into Salesforce, click Done and proceed through the remaining connection steps.

  4. At the Schedule step of the Golden Record setup, select Real Time from the Schedule drop down and then click Configure.

    Real Time

  5. Complete the fields in the Real Time slide out, populating the Channel Name from Salesforce and Batch Window.

    Channel Name

Note

If you do not know your channel name, below are instructions to create a push topic channel or find an existing push topic channel.

Creating a Push Topic

  1. Log into Salesforce and navigate to the Developer Console from the gear in the upper right corner.

    Developer Console

  2. From the Developer Console, select Execute Anonymous Window under the Debug menu. Ctrl + E is the keyboard shortcut.

    Anonymous Window

  3. Enter your version of the sample code into the Enter Apex Code window.

    PushTopic pushTopic = new PushTopic();   
    pushtopic.Name = '<YourChannelName>';    
    pushtopic.Query = '<YourQuery>';  
    pushTopic.ApiVersion = 52.0;  
    insert pushTopic;
    

    Apex Code Window

    The query entered will define what data is defined in real time. These pages may be helpful: Supported PushTopic Queries and Unsupported PushTopic Queries.

Note

Save your pushTopic.Name value for use as your Channel Name for real time read schedule configuration.

Finding Existing Push Topics

  1. Log into Salesforce and navigate to the Developer Console from the gear in the upper right corner.

    Developer Console

  2. Enter the following query inside the Query Editor tab at the bottom of the Developer Console, and click Execute.

    SELECT Id, Name, Query FROM PushTopic Execute

Note

The value in Name will be your Channel Name for real time read schedule configuration.