Create an External Data Source for Salesforce Connect Adapter for GraphQL

Connect your Salesforce org to data that’s stored in external databases managed via GraphQL.

Required Editions

Available in: both Salesforce Classic and Lightning Experience (not for high-data-volume external objects)

Available in: Developer Edition

Available for an extra cost in: Enterprise, Performance, and Unlimited Editions

User Permissions Needed
To create and edit external data sources: Customize Application
  1. From Setup, enter External Data Sources in the Quick Find box, then select External Data Sources.
  2. Click New External Data Source, or click Edit to modify an existing external data source.
  3. Complete the fields.
    Field Description
    External Data Source A user-friendly name for the external data source. The label is displayed in the Salesforce user interface.
    Name A unique identifier that’s used to refer to this external data source definition through the API.
    Type Select GraphQL.
    Named Credential

    Enter the named credential URL you defined for GraphQL API.

    To access the external system, Salesforce Connect uses the authentication settings that are defined in the named credential.

    Connection Timeout Number of seconds to wait for a response from the external system before timing out. By default, the value is set to the maximum of 120 seconds.
    Writable External Objects Select this option only if you want to create, edit, and delete data that’s stored in the external data source. By default, external objects are read only.
  4. Click Save.