> For the complete documentation index, see [llms.txt](https://docs.libnova.com/labdrive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libnova.com/labdrive/cookbook/getting-your-s3-bucket-name.md).

# 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;

![](/files/-Mayn25bEAxDF8VVYG8I)

## 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:

![](/files/-MayoH3IeW2t9t1iDBJe)

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
```
