CSP Trusted Site
Email template files are stored on an Amazon S3 server instance. Therefore, you need to add the CSP Trusted Site in order to save the URL of the Amazon S3 server in Salesforce. See Create CSP Trusted Sites to Access Third-Party APIs.
To add the CSP Trusted Site
- Go to the CSP Trusted Sites in the setup menu.
- Click New Trusted Site. The CSP Trusted Site Definition page opens.
- Fill in the following fields:
- Trusted Site Name: The name of the setting.
- Trusted Site URL:URL of the Amazon S3 server. It is necessary to add two types of of trusted site URL:
- URL with myBucketName AWS bucket name the URL will be https://myBucketName.s3.amazonaws.com.
- URL with myBucketName AWS bucket name and myBucketRegion bucket region, the URL will be https://myBucketName.s3.myBucketRegion.amazonaws.com.
Note:
For China region, the URLs will be https://myBucketName.s3.amazonaws.com.cn and https://myBucketName.s3.myBucketRegion.amazonaws.com.cn
- Description: The description of the setting.
- Active: Select the check box to activate the setting.
Allow site for connect-src: Select the check box to activate the setting.
- Click Save.
Note: |
If the configured CSP Trusted Site setting does not work, try the setting with different Trusted Site URL (with or without bucket region). Or you can add both the setting with bucket region and the setting without it. Email template files are stored in the email folder of the the Amazon S3 server. The folder is available in the root directory. |