If you always use the same credentials, you can use the three Settings on the library to configure your access credentials once per application. These authorization settings will only be used if no authorization configuration is set on the component (meaning component configuration will overrride default settings)
To use the component:1 - Add the component to the page2 - Set the S3AuthInfo property with your S3 Access information (Key Id, Secret Ket and Region) - Expand the structure to fill in individual properties or set the three Authorization Settings for the application3 - Set the FileContent and FileName properties to variables that contain the filename and content of the file to be uploaded4 - Set the BucketName property to identify the bucket where the file will be saved5 - Set a StartUpload property to be a local Boolean variable with a Default value to false6 - Configure the two events (OnProgress and OnComplete)7 - Optionally set a Directory (if you want to organize your files inside directories in S3). This should be in the format "directory/subdirectory"8 - Optionally set the Expiration minutes where your PreSigned URL will be active (default value is 5 minutes).
9 - Once you are ready to trigger the file upload process, you should set the StartUpload local variable to true
10 - Code the OnProgress and OnComplete events to inform the user of the progress and completion of the upload process.
For more information, download the S3PreSignedFileUploadHelper Demo Component from the forge for example usage