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

# Set up your OneBucket

> One-time console setup: create your credentials, add an Endpoint, and wire them together with a policy.

OneBucket holds no data itself — your **Endpoints** (the object stores you already have: AWS S3, Azure Blob, GCS, Wasabi, Akave, on-prem, edge) do. Setup has three building blocks: **core keys**, the credentials your applications use to authenticate to OneBucket; **Endpoints**, each holding its own provider credentials; and **Policies**. A **policy** is a rule that maps one **OneBucket™** to one or more **Peer Buckets** at your Endpoints, so reads and writes signed with your credentials know where to go.

This is a one-time setup in your [OneBucket console](https://app.onebucket.io), and it applies account-wide — in every region. Once deployed, any S3 client or MCP connector can use your OneBucket — see the [Quickstart](https://docs.onebucket.io/quickstart.md).

> [!TIP]
>
> Prefer configuration as code? Everything on this page, from keys to backends to policies, can also be done through the [management API](https://docs.onebucket.io/reference/apis.md#management-api), so your setup can live in your own scripts and pipelines.

**1. Create your credentials**

These are your **core keys**. On the **Credentials** page, select **Add Credentials**. Pick **S3 protocol** or **Azure protocol**, then **Generate** an **Access Key ID / Secret Access Key** pair — or paste an existing one (at least 16 / 32 characters). Leave **Active** on, optionally enable **Download the credential upon creation**, and add a description so you recognize the key later.

> [!WARNING]
>
> Secret credentials are shown only once — copy or download them right away.

![Add Credentials in the OneBucket console](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-credentials.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=df356d507fb25509572b2eb521962292)

**2. Add an Endpoint**

On the **Endpoints** page, select **Create Endpoint** and enter the backend's friendly name, URL(s), protocol (S3 or Azure), and bucket style (virtual-hosted or path). Then add the Endpoint's own credentials — an existing Access Key ID / Secret Access Key (S3) or Account Name (Azure) for that store, e.g. your Wasabi keys — so OneBucket can reach it.

![An Endpoint with its credentials](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-endpoint.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=f7b18f94607b7f98309f67ef5954aaa8)

**3. Create a policy**

On the **Policies** page, select **Create Policy** and follow the four-step wizard: name your OneBucket™ (`*` matches any Peer Bucket at the Endpoints — the name cannot be changed later) and pick optional encodings (Gzip, Brotli); map it to one or more Peer Buckets at your Endpoints; set privileges, mode (`sync`, `async`, or `cache`), and the write **Quorum** — how many Peer Buckets with write permission must succeed; finish by selecting the **Core Access Keys** authorized to access the OneBucket™.

![Create Policy wizard, step 1](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-policy.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=9924108049461adf0a5c385476bdaef1)

![Create Policy wizard, step 4 — select Core Access Keys](https://mintcdn.com/onebucket/MrSaL6NnVHq77UZb/images/setup-policy-keys.png?fit=max\&auto=format\&n=MrSaL6NnVHq77UZb\&q=85\&s=5bb45e3dc7b9980ddbfd81cc9b8df06b)

**4. Deploy (coming soon)**

For now, active policies are applied automatically. A dedicated **Deploy** step is coming soon: a deployment will be a collection of policies that run, and policies without at least one active Core Access Key or one active Sync Peer Bucket will be ignored.

Prefer video? The [get started walkthrough](https://www.onebucket.io/see-it-work/get-started-with-onebucket) covers the same three steps.

## Next

> [card] [Quickstart](https://docs.onebucket.io/quickstart.md)
>
> Read and write your first object over S3 or MCP.


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