Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Upload Files to Amazon S3
Prerequisites
Set up an external data source for Amazon S3 bucket in Salesforce org. SeeS3 External Data Source Setup Guide.
Overview
The Bring Your Own Blob (BYOB) architecture offloads the storage and processing of files from Salesforce servers to Amazon S3 servers. By using a client-side LWC approach, files are uploaded directly from the browser to Amazon S3.
How It Works
The upload process includes three primary stages:
- Initialize Upload: Retrieve Amazon S3 upload parameters and signed URLs from Salesforce.
- File Upload Process: Transfer the file content directly from the browser to Amazon S3.
- Complete Upload: Notify Salesforce to create a ContentDocument record that links to the S3 file.