# Bucket Exposure

> **Caution**
>
> Important: This feature is currently available in BETA for BigQuery projects and for
> Snowflake projects on your own Snowflake account ([BYODB](https://help.keboola.com/storage/byodb/)) or on an
> account Keboola runs for your organization alone.
> Contact Keboola support to have it enabled for your project.

**Bucket Exposure** lets you share data from a Keboola bucket with people outside your
Keboola project — directly inside their own Google BigQuery environment, or in Snowflake. No exports, no
data copies, no manual handoffs.

You pick a bucket, give it a friendly name, and list who should have access. Those people
or teams see the data appear in their BigQuery, and they can query it just like any other
dataset. The data is **always live**: as soon as it changes in Keboola, the new version is
visible to them.

On **Snowflake**, an exposure either gives existing roles in your own Snowflake account read
access to the bucket ([Snowflake grant mode](https://help.keboola.com/storage/bucket-exposure/snowflake-grant/)), or shares the bucket with
other Snowflake accounts ([Snowflake share mode](https://help.keboola.com/storage/bucket-exposure/snowflake-share/)).

To set up an exposure, follow [Create and manage a bucket exposure for BigQuery](https://help.keboola.com/storage/bucket-exposure/create/) or the page of the Snowflake mode you need.

## When to use Bucket Exposure

Bucket Exposure is the right choice when:

- You want to share **prepared, governed data** with a partner, a client, or another team
  in your organization — and they work in **BigQuery**, not in Keboola.
- You want a **single source of truth**: instead of emailing CSVs or running nightly
  exports, your consumers always see the latest version of the data.
- You want **control and visibility**: you decide who has access, you can revoke it at any
  time from Keboola, and every change is auditable.

Typical scenarios:

- The **Marketing team** maintains a curated customer segmentation in Keboola. The
  **BI team** consumes it directly in their BigQuery workspace, in real time.
- A **data provider** sells a cleaned, enriched dataset to **paying customers**. Each
  customer gets access to the same dataset in their own GCP project — no replication, no
  staging buckets.
- A **finance team** needs to give their **external auditors** a read-only view of
  specific reconciliation data, with the ability to revoke access at the end of the audit.

## How it differs from other sharing features

| Feature | What it does | Who can access |
|---------|--------------|----------------|
| [**Data Catalog**](https://help.keboola.com/catalog/) | Share a bucket with another **Keboola project** in the same organization. | Keboola users only. |
| [**External Datasets**](https://help.keboola.com/storage/byodb/external-buckets/) | Register a Snowflake schema or BigQuery dataset **you already own** as a bucket inside Keboola. | Keboola users only. |
| **Bucket Exposure** | Share a Keboola-owned bucket **out of Keboola**, into BigQuery or Snowflake, for people who don't use Keboola. | BigQuery: anyone with a Google account or Google Group. Snowflake: existing roles in your Snowflake account, or other Snowflake accounts in the same region and cloud. |

Bucket Exposure and Data Catalog sharing are independent — you can do both on the same
bucket if you want.

## What your subscribers see

Your subscribers do **not** need a Keboola account. Everything happens for them inside the
**Google Cloud Console**. They open **BigQuery → Analytics Hub** in the GCP Console, go to
**Search listings** and find your exposure by name. Then they click **Subscribe**, pick a
destination project, and choose a name for the linked dataset.

A **linked dataset** appears in their BigQuery project. From their point of view, it
behaves like any normal BigQuery dataset: they can query it, join it with their own
tables, use it in dashboards, etc. The one exception is that they cannot modify it.

The data they see is always live. Whenever the data in your Keboola bucket changes (a new
load, a transformation, a deletion), their queries reflect it on the next run. There is no
copy of the data on their side — it stays in your project.

## Things to keep in mind

- **One exposure per bucket.** Each bucket can have at most one exposure. If you need to
  share different slices of data with different audiences, create separate buckets.
- **Read-only.** Subscribers can query but never write. They cannot change, delete, or
  re-share the data.
- **Regular buckets only.** You can expose buckets that Keboola owns. You cannot expose
  [linked buckets](https://help.keboola.com/catalog/) (already shared from another Keboola project) or
  [external datasets](https://help.keboola.com/storage/byodb/external-buckets/) (registered from your own Snowflake or BigQuery).
- **BigQuery, and Snowflake on your own account.** On Snowflake, an exposure grants roles
  in your account read access ([Snowflake grant mode](https://help.keboola.com/storage/bucket-exposure/snowflake-grant/)) or shares the
  bucket with other Snowflake accounts ([Snowflake share mode](https://help.keboola.com/storage/bucket-exposure/snowflake-share/)).
  Each mode has its own list: [grant mode](https://help.keboola.com/storage/bucket-exposure/snowflake-grant/#things-to-keep-in-mind-on-snowflake)
  and [share mode](https://help.keboola.com/storage/bucket-exposure/snowflake-share/#things-to-keep-in-mind-in-share-mode).
- **One mode per exposure.** On Snowflake, you pick grant mode or share mode when you create the exposure,
  and you cannot change it later. To switch, delete the exposure and create a new one.
- **Manage subscribers from Keboola.** If you or someone else edits the listing's
  permissions directly in the GCP Console, those changes will be overwritten the next time
  the exposure is updated from Keboola. Keboola is the single source of truth.
- **Costs.** There is no extra storage cost — the data is not copied. Your subscribers
  pay for the queries they run in their own GCP project; you continue to pay for the
  storage in yours.

## This section

- [Create and manage a bucket exposure for BigQuery](https://help.keboola.com/storage/bucket-exposure/create/): create an exposure for BigQuery subscribers, then find, edit or delete it.
- [Snowflake grant mode](https://help.keboola.com/storage/bucket-exposure/snowflake-grant/): give roles that exist in your own Snowflake account read access to one bucket.
- [Snowflake share mode](https://help.keboola.com/storage/bucket-exposure/snowflake-share/): share one bucket with other Snowflake accounts, and the SQL the consumer runs there.

## FAQ

**Q: Is the data copied to my subscriber's project?**
No. Analytics Hub uses zero-copy sharing. Your subscribers see a live link to the original
data — there is no duplication and no extra storage to pay for.

**Q: Is the shared data always up to date?**
Yes. Subscribers always see the latest version. There is no refresh, no sync, no delay.

**Q: Can I share the same bucket with different groups at different access levels?**
Not directly. Each exposure has a single subscriber list and everyone on it gets the same
read-only access. If you need different access tiers, split the data into separate
buckets, each with its own exposure.

**Q: What happens if I delete the bucket?**
The exposure is removed automatically and your subscribers lose access. No leftover state
in BigQuery.

**Q: Can I take away access from a single subscriber?**
Yes. Open the exposure detail, click **Edit**, remove the subscriber from the list, and
save. The change is immediate. See [Edit an exposure](https://help.keboola.com/storage/bucket-exposure/create/#edit-an-exposure).

**Q: Will this work for Snowflake projects?**
Yes, for projects on your own Snowflake account. The exposure either gives roles in that
account read access to the bucket ([Snowflake grant mode](https://help.keboola.com/storage/bucket-exposure/snowflake-grant/)) or shares
the bucket with other Snowflake accounts in the same region and cloud
([Snowflake share mode](https://help.keboola.com/storage/bucket-exposure/snowflake-share/)).

**Q: What do my subscribers need on their side?**
A Google account or a Google Group that you've added as a subscriber, and access to any
GCP project where they can create a linked dataset. They do not need any Keboola license
or special Analytics Hub permissions — Keboola grants them everything they need to view
the listing and subscribe to it.

---

**Next:** [Create and manage a bucket exposure for BigQuery →](https://help.keboola.com/storage/bucket-exposure/create/)
