Integrate with S3 Bucket¶
The S3 Storage Integration functionality broadens GALE's capabilities by enabling connectivity with your AWS S3 account. It empowers you to import files from S3 and leverage them in developing high-quality AI applications for enterprises.
To integrate with your S3 account, follow these steps:
-
Click the Settings icon on the top navigation bar of the application. The Integrations page is displayed.
-
Click the AWS S3 bucket option from the list of Integrations. The AWS S3 bucket section is expanded.
-
Click Add connection. The AWS S3 bucket dialog is displayed.
-
Enter the following details in the dialog to create a connection:
- Provide a Connection name.
- Enter an Access key which is a unique identifier associated with your AWS account.
- Enter a Secret key which is a confidential key paired with the Access Key ID.
- Enter a Bucket name which is configured in the S3 console.
- Click Confirm to create a connection.
Testing your connection to S3¶
You can test your connection after you provide the details to verify the accuracy of the details.
To test your connection, follow these steps:
-
Click the Test button on the AWS S3 bucket dialog.
Once the connection is tested, you will receive feedback information.
-
If the connection is successful, you can click Confirm and complete the connection process.
- If the connection fails, you can verify the details entered or cancel the set-up process.
-
From the connections table, you can test the connection by clicking the Play button.
Note
If the connection fails a red icon is displayed corresponding to the name of the connection on the Connections list.
How to use files from the connected S3 Buckets in the Agent Flow Builder¶
Once a connection is created and the integration of S3 Bucket is successful you can use the files in the Flow builder canvas.
To use the files in the agents flow builder, follow these steps:
-
Create an Input variable with type Remote File.
-
Add an API node and point to the remote file in the API node using the URL field.
The file content will be available in the context object. You can access the file content in any other nodes using the context object.