Copied
Docs

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

EMPLOYEE LOGIN
  • Home
  • Getting Started
    • User Management
    • Project Management
    • Asset Management
  • Annotate
  • Tasks
  • API
  • Recipes
  • Tutorials
  • Integrations

Uploading assets to Sama's AWS S3 bucket

Updated at October 24th, 2025

The annotation tasks that you create are most likely going to require assets, such as images and videos. Before you get started creating those tasks, you need to make sure that your assets are stored somewhere that the platform can access.

You can either upload your assets to our Sama's AWS S3 bucket, or have assets accessed from your own cloud storage.

Below are instructions if you'd like to upload assets to Sama's AWS S3 bucket directly. 

Read this first

There are two different ways to upload to Sama’s S3 bucket. Choose one:

  • Method 1 — AWS CLI (Recommended): Fastest and best performance for large uploads.
  • Method 2 — Cyberduck (GUI): Simple drag-and-drop interface; good for smaller or one-off uploads.

Gather your Sama info


For most clients, you’ll need your Sama API key, your Project ID, and a Sama account to upload assets to the S3 bucket. Reach out to your Sama Delivery Manager if you’re missing any of these.


Method 1 — Upload with the AWS CLI (Recommended)

Tip: You can also upload assets and create tasks using the Sama CLI.

Using the AWS CLI provides the best performance for uploading assets. The AWS CLI requires Python 3.

Install Python 3

Installation instructions from Python.org

On macOS, run Install Certificates.command after installation.

Install the AWS CLI

Installation instructions from Amazon

Configure the sama-aws tool

Download sama-aws.py. Then open a terminal and run the configure command below. It creates a Sama AWS profile and fetches temporary credentials from https://app.sama.com using your API key. Credentials auto-renew hourly.

python3 sama-aws.py configure

In the command output, copy the value labeled Assets S3 URL — you’ll need it later.

Test the AWS CLI sama profile

aws --profile sama sts get-caller-identity
aws --profile sama s3 ls <Assets S3 URL>

Upload assets

This command uploads a local folder to your dedicated S3 prefix.

aws --profile sama s3 sync ./<folder_name> <Assets S3 URL>/<folder_name>

Method 2 — Upload with Cyberduck (GUI)

Install Cyberduck.

Then run the command below to create or update the sama-cyberduck AWS profile:

python3 sama-aws.py update-credentials-file
  1. In Cyberduck, add a bookmark for S3 (Credentials from AWS Command Line Interface).
  2. Set the profile name to sama-cyberduck.
  3. Set the Path to the value of Assets S3 URL printed by the configure command, without the s3:// prefix.
Cyberduck S3 configuration
asset transfer s3 storage

Was this article helpful?

Yes
No
Give feedback about this article
Read this first Gather your Sama info API Key How to get your API key Project ID How to get your Project ID Method 1 — Upload with the AWS CLI (Recommended) Install Python 3 Install the AWS CLI Configure the sama-aws tool Test the AWS CLI sama profile Upload assets Method 2 — Upload with Cyberduck (GUI)

The first B Corp-certified AI company

  • Security
  • Terms
  • Privacy
  • Quality & Information

Copyright © 2023 Samasource Impact Sourcing, Inc. All rights reserved.


Knowledge Base Software powered by Helpjuice

Expand