AWS S3

Install

Installation Steps

  1. Navigate to the Integrations page in Swallow settings

  2. Select Connect to Amazon S3 from the available integration

  3. Click on the +Add connection button

  4. Provide a name for the connection and paste your:

    • AWS Access Key ID

    • AWS Secret Access Key

AWS Access Key ID and AWS Secret Access Key

Setting up AWS Credentials

Create a new IAM user in your AWS account with access to S3 bucket that is going to act as your events object store and copy the AWS Access Key ID and AWS Secret Access Key from the Security credentials section of the user with following policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::<S3_BUCKET_NAME>/*"
        }
    ]
}

Quote Creation Integration

Integration Details

Currently, the S3 integration is triggered on quote creation. There is no event schema used for this integration. When a quote is created, the relevant data is automatically sent to the specified S3 bucket.

Working

  1. When a quote is created in Swallow, it triggers the S3 integration

  2. The quote data is formatted and prepared for S3 storage

  3. The data is uploaded to the specified S3 bucket using the provided AWS credentials

  4. The uploaded file in S3 can then be accessed and used as needed within your AWS environment

Last updated