Create the Data Federation API Named Credential
Create a named credential for the Data Federation API. You can use the Data Federation
API in APEX callouts to create custom components that can retrieve data across clouds or orgs.
| User Permissions Needed | |
|---|---|
| To view named credentials: | View Setup and Configuration |
| To create, edit, or delete named credentials: | Customize Applications |
| To add the named credential URL | DfsDataSourceProvider |
These are the steps necessary to create a named credential for the Data Federation Service (DFS).
- From Setup, enter Named Credentials in the Quick Find box, then select Named Credentials.
- Click New Named Credential, or click Edit to modify an existing named credential.
-
Complete the fields.
Field Description Label Salesforce recommends you include “DF” in the name. Only one DF named credential is needed for any custom components you create. Name DataFederationServiceAPI URL callout:sfdc:DataFederationServiceAPI
Certificate No certificate is required. Identity Type Named Principal: Cloud to Cloud - Make sure these options are enabled.