# Connect your tools (aws-cli, rclone, s3cmd, Cyberduck…)

> Endpoint and settings for aws-cli, rclone, s3cmd, Cyberduck, Transmit and WinSCP to use your Phluit S3 bucket.

Source: https://docs.phluit.com/products/object-storage/s3-connect-your-tools/

Any S3 tool works with your bucket. You need three things: the **endpoint**, an **access key** and its **secret key**.

## Your bucket's details

-   **Endpoint:** `https://REGION.digitaloceanspaces.com`, for example `https://fra1.digitaloceanspaces.com`.
-   **Bucket address:** `https://BUCKET.REGION.digitaloceanspaces.com`.
-   **Region:** if a tool asks for one, any value works (for example `us-east-1`). The endpoint decides where the files are.
-   If the app has a list of providers, choose **DigitalOcean Spaces**, otherwise **Other S3-compatible**.

Open the bucket and go to the **Connect** tab: it shows these settings already filled in, with copy buttons.

## aws-cli

```
aws configure --profile phluit
# Access key, secret key, region us-east-1
aws --profile phluit --endpoint-url https://fra1.digitaloceanspaces.com s3 ls s3://my-bucket
aws --profile phluit --endpoint-url https://fra1.digitaloceanspaces.com s3 sync ./backups s3://my-bucket/backups
```

## rclone

```
[phluit]
type = s3
provider = DigitalOcean
access_key_id = YOUR_ACCESS_KEY
secret_access_key = YOUR_SECRET_KEY
endpoint = fra1.digitaloceanspaces.com
acl = private
```

Then for example `rclone sync ./backups phluit:my-bucket/backups`.

## s3cmd

```
host_base = fra1.digitaloceanspaces.com
host_bucket = %(bucket)s.fra1.digitaloceanspaces.com
```

## Cyberduck, Transmit, WinSCP

Choose **Amazon S3** (or S3), server `fra1.digitaloceanspaces.com` (your region), port 443, then your access key and secret key.

Big files are uploaded in parts automatically by these tools. Unfinished uploads are cleaned up by themselves after 7 days.

For backup plugins and apps, see [Use your bucket for backups](/products/object-storage/s3-use-for-backups/).
