Salesforce External Services

Salesforce External Services

The page outlines the steps to connect Salesforce External Services to CData Connect using OpenAPI. This requires the use of virtual datasets and an OpenAPI specification file.


Before you can add an external service in Salesforce, you must create a named credential in Salesforce. In Salesforce Setup, select Settings > Security > Named Credentials to create a named credential.

Before you connect via OpenAPI, you must first do the following:

  • Connect a data source to your CData Connect account. See Connections for more information.
  • Add a workspace to Virtual Datasets.
  • Add assets to your workspace.
  • Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.

Connect via OpenAPI

To establish a connection from Salesforce External Services to the CData Connect via OpenAPI, follow these steps.

  1. In the Virtual Datasets screen in CData Connect, select a workspace and download the OpenAPI specification for the workspace. See OpenAPI for more information.

    Note: Select OpenAPI version 3.0. Leave Convert array types to strings off.

  2. Log in to Salesforce.

    In Salesforce Setup, select Platform Tools > Integrations > External Services.

  3. Click Add an External Service.

  4. Click Select an API source from API Specification and click Next.

  5. In Provide Registration Details, enter the following:

    • External Service Name—an identifying name for your external service.

    • Description—a description of your external service.

    • Service Schema—select Upload from local.

    • Select a Named Credential—select the named credential you created.

  6. Upload the JSON file you downloaded from CData Connect.

  7. If the schema validation was successful, click Save & Next.

  8. The next step is Select Operations. These operations are all the actions of the connector that are contained in the OpenAPI specification file. The actions include all the functions you need for the table, including list, get, create, update, and delete records. The actions include a description, input parameters, and output parameters.

    The input parameters are appended to the URL, such as $top, $filter, and $orderby. See API Operations for a complete parameter reference. The input parameters are based on OData filtering.

    Select the operations you want to include in the external service.

  9. Review the actions for your external service, including the input and output parameters. If you need to change input or output parameters, you need to edit the OpenAPI specification file.

  10. Click Finish. Your external service appears in the list of external services for Salesforce and is now available to build flows.