# Getting your S3 bucket name

Depending on the region and other settings, LABDRIVE keeps your data container inside a particular S3 Bucket. All data containers in your instance may use the same S3 bucket or not.&#x20;

To obtain the **Bucket Name** associated to the data container you want to use, follow this process:

## Using the LABDRIVE Management Interface

Go to the container you would like to upload to in the Management interface and get the **bucket name** in the **Storage** section.&#x20;

![](https://2290386118-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVFE6MnOK93sACDCxxx%2F-MayOQwvZ5b1BMasRxmk%2F-Mayn25bEAxDF8VVYG8I%2Fimage.png?alt=media\&token=61133051-4e50-49b9-9f01-23afe6cbb31c)

## Using the API

Alternatively, you can get the same information with the following method:&#x20;

```bash
$ curl --request GET \
      --url "$your_labdrive_url/api/container/{your container id}" \
      --header "authorization: Bearer $your_labdrive_api_key"
```

and locate the bucket name:

![](https://2290386118-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVFE6MnOK93sACDCxxx%2F-MayOQwvZ5b1BMasRxmk%2F-MayoH3IeW2t9t1iDBJe%2Fimage.png?alt=media\&token=16aa56f5-c314-482e-8eb4-1c9e3f8f719f)

The path for every file in the container is formed with:&#x20;

```bash
s3://{S3 bucket name}/{container id}/{path to your file}
```

For example:

```bash
s3://labdrive-acme/5/myfile.txt
```
