Create a Named Credential for Event Relay Setup

A named credential stores your AWS account information. You use the named credential later to set up an event relay. You can create a named credential in the Salesforce user interface in Setup.

Required Editions

User Permissions Needed
To create a named credential: Customize Application
  1. From Setup, in the Quick Find box, enter Named Credentials, and then select Named Credentials.
  2. Expand the dropdown next to New, and then click New Legacy.
  3. Complete the fields.
    1. For Label, enter AWS US-West-2.
    2. For Name, enter AWS_US_West_2.
    3. For URL, enter a URL in the format arn:aws:aws_region:aws_account_number. Replace the aws_region placeholder with your AWS region. Replace the aws_account_number placeholder with your 12-digit AWS account ID.
      The URL is case-sensitive, and aws_region must be in capital letters. For example, the URL for an account in the US-WEST-2 region has this format: arn:aws:US-WEST-2:XXXXXXXXXXXX. (XXXXXXXXXXXX is a placeholder for the 12-digit AWS account ID.)
    4. Keep the default values for Identity Type and Authentication Protocol.
    5. Keep Generate Authorization Header selected.
    A named credential
  4. Save your changes.
Important
Important You can’t modify the AWS account information in a named credential if it has an associated event relay. The event relay doesn’t pick up the new settings and can fail to run properly. To change the AWS account information, delete the associated event relay first. Next, modify the named credential, and then recreate the event relay with the named credential.