Named credentials offer a declarative and secure way to store and manage the credentials needed for HTTP callouts so that Salesforce can authenticate with external APIs.
Required Editions
| Available in: Developer, Enterprise, Performance, and Unlimited editions that have Loyalty Management enabled. |
For more information about creating named credentials, see Create or Edit a Named Credential.
You need named credentials for Google Wallet API and Google Sign JWT API to complete the integration. Use the following information to create the named credentials:
| Field | Value | Value |
|---|---|---|
| Name | Google_Wallet_API Don’t alter this value. |
Google_Sign_JWT_API Don’t alter this value. |
| URL | https://walletobjects.googleapis.com. Don’t alter this value. |
https://iamcredentials.googleapis.com. Don’t alter this value. |
| External Credential | Select the external credential that you created. | Select the external credential that you created. |
| Generate Authorization Header | Enable | Enable |
Enable External Credential Principals
After you create external credentials and principals, you must give permission sets and profiles access to the principals of the external credential. For more information on enabling external credentials, see Enable External Credential Principals.
For the external user profile or community user profile, enable permissions for the following objects in Setup:
- User External Credential
- Digital Pass Template
- Digital Pass Template Parameters
- Digital Pass
For more information about object permissions, see Edit Object Permissions in Profiles.
Make sure that you assign sharing settings as Public Read Only for Digital Pass Template and Digital Pass objects. For more information on sharing settings, see Edit Sharing Rules.