Create an analytics bucket
Set up your first analytics bucket using the SDK or dashboard.
Create an analytics bucket to store large analytical datasets as Apache Iceberg tables.
This feature is in private alpha. API stability and backward compatibility are not guaranteed at this stage. Request access through the Analytics Buckets request form.
Overview
Analytics buckets use Apache Iceberg, an open-table format for efficient management of large analytical datasets. You can interact with analytics buckets using tools such as PyIceberg, Apache Spark, or any client supporting the Iceberg REST Catalog API.
About replication
Replication into analytics buckets through Supabase Pipelines is no longer supported. To populate an analytics bucket, bring your own ingestion pipeline.
Procedure
You can create an analytics bucket using either the Supabase SDK or the Supabase Dashboard.
Using the Supabase SDK
To create the bucket in code, run the following in the language you use:
import { } from '@supabase/supabase-js'const = ('https://your-project-id.supabase.co', 'your-service-key')const { , } = await ...('analytics-data')if () { .('Failed to create analytics bucket:', )} else { .('Analytics bucket created:', )}from supabase import create_clientsupabase = create_client('https://your-project-id.supabase.co', 'your-service-key')response = supabase.storage.analytics().create('analytics-data')print('Analytics bucket created:', response)Using the Supabase Dashboard
To create the bucket in the Dashboard:
- Navigate to the Storage section in the Supabase Dashboard.
- Click Create Bucket.
- Enter a name for your bucket (e.g.,
my-analytics-bucket). - Select Analytics Bucket as the bucket type.
- Click Create.

Next steps
After you create your analytics bucket, you can:
- Connect with Iceberg clients like PyIceberg or Apache Spark
- Query data with Postgres using the Iceberg Foreign Data Wrapper
Related resources
To read more about Analytics Buckets, see these pages:
- Analytics Buckets: learn what they store and how they work.
- Limits: check the quotas that apply to your buckets.