Create a named credential that specifies the endpoint URL of a GraphQL API and an external credential to provide the required authentication parameters.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: All Editions |
| User Permissions Needed | |
|---|---|
| To view named credentials: | View Setup and Configuration |
| To create, edit, or delete named credentials: | Customize Applications |
To create an external credential that uses AWS Signature Version 4 authentication protocol, see Create and Edit an AWS Signature v4 External Credential. To create a named credential and link it to the external credential, see Create and Edit a Named Credential.
If you’re
creating a named credential for GraphQL API URL hosted by AppSync, URL format would be
https://<unique
identifier>.appsync-api.REGION.amazonaws.com/graphql
For example, if
the AWS region is us-west-2, the URL would be https://<unique
identifier>.appsync-api.us-west-2.amazonaws.com/graphql
To get the GraphQL API URL hosted by AppSync, go to AWS AppSync Console > APIs and select the GraphQL API to use. Under Settings > API Details, copy the API URL.