Integrations

Create an integration with AWS or GCP with SuperAnnotate to add items (images, videos, documents) from your cloud storage to SuperAnnotate. SuperAnnotate will have read-only access to your data; your items are stored in your cloud storage and are only displayed in SuperAnnotate.

Get integrations list

To get the list of your integration(s):

sa.get_integrations()

The returned data contains the name of your integration(s), the bucket’s name, and the type of storage:

[
    {
    "id": 10541,
    "name": "My S3 Bucket",
    "type": "aws",
    "root": "test-openseadragon-1212",
    createdAt: '2024-01-23T07:33:03.000Z',
    updatedAt: '2024-02-23T07:33:03.000Z',
    creator_id: '[email protected]'
  }
]

Attach items

To attach items via integrations:

project_name = 'Project Name'
integration_name = 'AWS-Integration'
aws_folder_path = 'data/folder_1'

sa.attach_items_from_integrated_storage(
    project = project_name,
    integration = integration_name,
    folder_path = aws_folder_path
)