Amazon S3
Amazon S3 (Simple Storage Service) is a scalable object storage service provided by Amazon Web Services (AWS). It allows users to store and retrieve any amount of data at any time, making it ideal for backup, archiving, big data analytics, content distribution, and cloud applications.
How to Connect Amazon S3 to ZBrain Flow ?
To integrate Amazon S3 with ZBrain Flow, follow these detailed steps:
Step 1: Select Amazon S3 as Your Connection
Click on Amazon S3 in ZBrain Flow.
Choose between two available actions.
Step 2: Configure the Amazon S3 Connection
To establish a connection between Amazon S3 and ZBrain Flow, enter the following details:
Connection Name
Provide a unique and recognizable name for the connection.
Access Key ID
This is required to authenticate with Amazon S3.
To find your Access Key ID:
Sign in to the AWS Management Console and open the IAM (Identity and Access Management) console.
In the left navigation pane, select Users.
Choose the IAM user for whom you need to retrieve the access key.
Go to the Security Credentials tab.
Locate the Access Keys section, where you will see the Access Key ID listed.
If an access key does not exist, create a new one and store the Secret Access Key securely.
Secret Access Key
To find or generate a new Secret Access Key:
Sign in to the AWS Management Console and open the IAM console.
Navigate to Users and select the IAM user you want to create a key for.
Under the Security Credentials tab, locate the Access Keys section.
Click on Create Access Key.
The Access Key ID and Secret Access Key will be displayed.
Store the Secret Access Key securely, as it will not be shown again.
Bucket Name
To find your Amazon S3 bucket:
Sign in to the AWS Management Console.
Open the Amazon S3 console.
In the left navigation pane, select Buckets.
A list of available S3 buckets will be displayed. Select the bucket you want to connect with ZBrain Flow.
Endpoint
The endpoint is the URL required to access your Amazon S3 bucket.
To find the endpoint:
Log in to the AWS Management Console.
Navigate to Amazon S3.
Select the bucket you want to use.
Click on the Properties tab.
Locate the Bucket ARN and URL, which serves as the endpoint.
Alternatively, construct the endpoint URL using the region. Example:
https://s3.us-east-1.amazonaws.com
for theus-east-1
region.
Region
Choose the appropriate AWS region where your S3 bucket is hosted.
Save the Connection
Click on Save to complete the setup and establish the connection.
Triggers Available in ZBrain Flow
New File Upload: This trigger is activated whenever a new file is uploaded to the specified Amazon S3 bucket.
Specify the folder path within the S3 bucket where your files are stored (e.g., /root/subfolder/).
Actions Available in ZBrain Flow
Upload File – Uploads a file to an Amazon S3 bucket.
Enter the file: Specify the file you want to upload.
Provide a file name (without extension): Ensure the file name does not include an extension.
Select the ACL (Access Control List): Choose from predefined ACL settings to control access permissions.
Select the file type: Choose whether the file is an Image, Video, or Audio.
Read File – Reads a file from Amazon S3 for use in subsequent steps in ZBrain Flow.
Enter the file key: The key is the path to the file within the S3 bucket.
How to find the file key:
Sign in to the AWS Management Console and open the Amazon S3 console.
Navigate to the Buckets section and select the bucket containing the file.
Browse through the bucket to locate the specific file.
The Key is the full path of the file within the bucket, including folders.
Example: If the file
example.txt
is inside thedocuments
folder, the Key would bedocuments/example.txt
.
By following these steps, you can successfully integrate Amazon S3 with ZBrain Flow, enabling seamless file management and data retrieval for your workflows.
Last updated