You are here:
Named Credential as Callouts for Salesforce Connect OData 2.0 or 4.0 Adapters
When you define an external data source for the Salesforce Connect OData 2.0 or 4.0 adapters, you can enter a named credential URL as the URL for reaching the OData producer. This example shows how Salesforce Connect OData 2.0 or 4.0 adapters can make callouts using the authentication settings defined in a named credential.
Define a named credential that specifies the endpoint URL and the JWT authentication settings.
When you’re defining an external data source with an Odata 2.0 or Odata 4.0 adapter,
specify the named credential you defined as the OData service root URL. In this
example, the URL is callout:Test_named_credential. And skip the
Authentication section for the external data source. To
access the external system, Salesforce Connect uses the authentication settings
defined in the named credential.

