Create a Remote Site Setting
Before any Apex callout can call the API Gateway endpoint, register the API Gateway endpoint on the Remote Site Settings page. Remote site settings authorize your org to access external websites.
| Required Editions |
|---|
| Available in: all editions that have Loyalty Management and Receipt Scanning enabled |
| User Permissions Needed | |
|---|---|
| To configure remote settings: | Customize Application or Modify All Data |
-
In the Quick Find box, enter
Remote, and then select Remote Site Settings. -
Click New Remote Site.
-
Enter
AWS Gateway Remote Siteas the remote site name. -
Enter the Invoke URL of your Amazon Web Services account.
For example, a sample Invoke URL looks like this:
https://*********.execute-api.us-east-2.amazonaws.com -
Save your changes.