Skip to Content

Prerequisites for the Salesforce Events connector in Jitterbit Integration Studio

Introduction

This page describes the prerequisites of the Salesforce Events connector.

To use the Salesforce Events connector, these prerequisites must be met:

  • To use the Publish event activity, a 10.61 or later agent is required. Either cloud or private agents may be used.

  • To use listening activities (Subscribe event, Subscribe insert cdc event, Subscribe update cdc event, or Subscribe delete cdc event), a private agent group is required.

    • Private agent version 10.78 / 11.16 or later is required.
  • An odd number of private agents in the agent group is required. A minimum of 3 is recommended.

  • \((N + 1) / 2\) of a total of \(N\) agents in the agent group must be running. For example, if 5 agents are in an agent group, 3 of them must be running.

  • TCP ports 5701 and 5801 open on all agent hosts.

    Note

    Depending on your system, the following commands can be used to test for open ports on an agent:

    • telnet <agent address> <port>
    • netcat -vz <agent address> <port> or nc -vz <agent address> <port>
    • Test-NetConnection <agent address> -Port <port> (PowerShell)

    Ensure your antivirus and firewall allow connections over ports 5701 and 5801 for accurate testing.

  • All agents on the same network.

  • Each private agent must have the listening service enabled as described in Enable the listening service on the agent. This is a manual step in configuration and is not enabled by default.

  • Once an operation is deployed, the Integration Studio project must have the listening service enabled at both the operation level and the activity level as described in Enable the listening service on the operation and activity. This is a manual step performed at the time of project design or project management.

  • A connected app must exist in the Salesforce organization and be configured as described on this page:

Configure a Salesforce connected app

A Salesforce connected app must be be configured as described below.

To create a new custom app in the Salesforce instance, follow these steps using the Salesforce Lightning UI:

  1. Navigate to Platform Tools > Apps > App Manager.

  2. Click New Connected App in the top right:

    Salesforce new connected app annotated

  3. Set up a connected app with a configuration similar to that shown below. Certain fields that are important for use with the Salesforce Events connector are identified and described below.

    Salesforce new connected app configuration annotated

    • In Basic Information, provide a Connected App Name that does not contain any spaces, such as JitterbitHarmonySalesforceEventsApp. The API Name field will become autopopulated.
    • In API (Enable OAuth Settings), select Enable OAuth Settings. Additional fields become available to configure:
      • Callback URL: Enter https://jitterbit.com/callback/oauth/connector.
      • Selected OAuth Scopes: Add Full access (full) to the Selected OAuth Scopes.
  4. Click Save and follow the prompt to continue. The Manage Connected Apps screen displays, where you can obtain the consumer key and consumer secret.

Obtain the consumer key and consumer secret

To obtain the consumer key and consumer secret in an existing app, follow these steps using the Salesforce Lightning UI:

  1. Go to Manage Connected Apps for the existing app.

  2. In API (Enable OAuth Settings), click Manage Consumer Details:

    Salesforce new connected app manage consumer details annotated

  3. The Consumer Key and Consumer Secret are displayed. Retain these for use in configuring the Salesforce Events connection.

    Salesforce new connected app consumer details annotated

Select the entities that generate events

To configure events to be generated, follow these steps using the Salesforce Lightning UI:

  1. Go to Setup. This can be accessed from the gear icon in the top right:

    Salesforce setup

  2. Navigate to Platform Tools > Integrations > Change Data Capture.

  3. On the Change Data Capture screen, select the entities (objects) for which you want events to be generated and add them to Selected Entities.

    Salesforce Events

    Important

    When using the Salesforce Events connector, if you try to enable events associated with an object that has not been selected here, a permissions error will be returned.