C3 AI Documentation Home

S3 Output Node

The S3 Output node enables you to export dataframes from Visual Notebooks to CSV files in Amazon Web Services (AWS) S3 object storage. This node provides flexible configuration options for file formatting and storage organization.

Prerequisites

Before using the S3 node, you need to create AWS access credentials. Follow these steps to generate the required access key and secret key:

  1. Log into your AWS account
  2. Click your account name/number in the top right corner
  3. Select Security credentials AWS security credentials
  4. Expand the Access keys (access key ID and secret access key) section Access keys section
  5. Click Create New Access Key
  6. Download the key file Download access key
  7. Add the credentials to Visual Notebooks:
    • Add an S3 node to your workspace
    • Click the gear icon next to Credential Credential settings
    • Click the plus icon to add new credentials Add new credential
    • Enter a name for the credentials
    • Enter the access key and secret key from your downloaded file AWS credentials

For more information about AWS credentials, see the AWS documentation.

Configuration

FieldDescription
NameNode name displayed in the workspace Optional - Defaults to S3
CredentialAuthentication information for AWS S3 Required Select a saved credential or click the gear icon to manage credentials
BucketTarget S3 bucket Required Must be an existing bucket name See S3 bucket documentation
PrefixS3 storage prefix path Optional - Defaults to / See S3 prefix documentation
FileOutput CSV filename Optional - Defaults to auto-generated name
DelimiterValue separator character Optional - Defaults to comma (,) Options: comma, pipe, colon, semicolon, tab, space
QuoteCharacter to enclose values Optional - Defaults to single quote (') Delimiters within quotes are treated as text
Has HeaderInclude column names as CSV header Optional - Defaults to enabled

Node Inputs and Outputs

TypeDescription
InputVisual Notebooks dataframe
OutputNone - Data is exported to S3

Usage Example

  1. Connect the S3 node to any node that produces a dataframe output
  2. Configure the node:
    • Select your AWS credentials
    • Specify the target bucket
    • Set the desired file name and options
  3. Run the node to export your data

While the node doesn't produce a visible output in Visual Notebooks, it successfully exports your data to the specified S3 location.

S3 export example Figure 1: Configuring the S3 Output node for data export

Was this page helpful?