> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onebucket.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Connect an S3 client or Claude and read and write your first object in minutes.

## Prerequisites

* A OneBucket account — [request one](https://app.onebucket.io/sign-up).
* Live configuration: **credentials**, an **endpoint**, and a deployed **policy** connecting them together. First time here? Do the one-time [setup](https://docs.onebucket.io/setup.md) first.
* From [OneBucket console](https://app.onebucket.io): your **S3 endpoint** and an **access key / secret key** pair.

> [!NOTE]
>
> Use the global endpoint `https://s3.onebucket.io`: each request is routed to the live region nearest you, and your policy is active in every region. To pin a region, use its endpoint, for example `https://s3.us-ashburn-1.onebucket.io`; see [Endpoints](https://docs.onebucket.io/reference/apis.md#endpoints) for the full list.

## Use it as S3

OneBucket speaks the S3 API with AWS SigV4 auth, so any S3 client or SDK works — just change the endpoint.

> [tab] AWS CLI
>
> ```bash theme={null}
> # Credentials
> aws configure set aws_access_key_id <ACCESS_KEY>
> aws configure set aws_secret_access_key <SECRET_KEY>
> export OB=https://s3.onebucket.io   # global, routes to your nearest region
>
> # Create a bucket, upload, list, and read back
> aws --endpoint-url $OB s3 mb s3://my-first-bucket
> echo "hello from onebucket" > hello.txt
> aws --endpoint-url $OB s3 cp hello.txt s3://my-first-bucket/hello.txt
> aws --endpoint-url $OB s3 ls s3://my-first-bucket/
> aws --endpoint-url $OB s3 cp s3://my-first-bucket/hello.txt -
> ```

> [tab] boto3 (Python)
>
> ```python theme={null}
> import boto3
>
> s3 = boto3.client(
>     "s3",
>     endpoint_url="https://s3.onebucket.io",  # global, routes to your nearest region
>     aws_access_key_id="<ACCESS_KEY>",
>     aws_secret_access_key="<SECRET_KEY>",
>     region_name="us-east-1",
> )
>
> s3.create_bucket(Bucket="my-first-bucket")
> s3.put_object(Bucket="my-first-bucket", Key="hello.txt", Body=b"hello from onebucket")
> print(s3.get_object(Bucket="my-first-bucket", Key="hello.txt")["Body"].read().decode())
> ```

Because it's standard S3, the same endpoint and keys work with SDKs in any language, `s3cmd`, rclone, and most S3-compatible tools.

## Connect an AI assistant

Prefer to work in natural language? Add OneBucket as an MCP server and let your assistant list, read, and manage your objects for you. Any MCP client works; see the [MCP overview](https://docs.onebucket.io/mcp/overview.md).

> [card] [OneBucket Connector for Claude](https://docs.onebucket.io/connectors/claude.md)
>
> Add `data.onebucket.io` as a custom connector, sign in, and ask Claude to work with your buckets.

> [card] [OneBucket Connector for ChatGPT](https://docs.onebucket.io/connectors/chatgpt.md)
>
> Add `data.onebucket.io` as a custom MCP server, sign in, and ask ChatGPT to work with your buckets.

> [card] [OneBucket Connector for Muse](https://docs.onebucket.io/connectors/muse.md)
>
> Ask Muse to connect to `data.onebucket.io`, sign in, and work with your buckets.

## Manage keys and tokens (CLI)

The `onebucket` CLI handles authentication and tokens — your data operations go through the S3 client above.

```bash theme={null}
onebucket login      # OAuth browser sign-in
onebucket keys       # list your access keys
onebucket sessions   # list or revoke active sessions
onebucket logout     # clear the stored login
```

## Next steps

* **Automate with AI** — [connect an MCP client](https://docs.onebucket.io/mcp/overview.md) for natural-language access to your data.
* **Watch it** — the [get started walkthrough](https://www.onebucket.io/see-it-work/get-started-with-onebucket) goes from a new account to a first working policy on video.
* **Span backends** — copy, migrate, and locate objects across clouds, on-prem, and edge from the same client.
* **Cut egress** — prefetch hot objects into the edge cache so repeat reads are served locally.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.