Guide

Creating Analytics Buckets

Set up your first analytics bucket using the SDK or dashboard.

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.

Creating an Analytics bucket

You can create an analytics bucket using either the Zuvo SDK or the Zuvo Studio.

Using the Zuvo SDK

JavaScript
import { createClient } from '@supabase/supabase-js'

const supabase = createClient('https://your-project-id.supabase.co', 'your-service-key')

const { data, error } = await supabase.storage.analytics.createBucket('analytics-data')

if (error) {
  console.error('Failed to create analytics bucket:', error)
} else {
  console.log('Analytics bucket created:', data)
}

Using the Zuvo Studio

  1. Navigate to the Storage section in the Zuvo Studio.
  2. Click Create Bucket.
  3. Enter a name for your bucket (e.g., my-analytics-bucket).
  4. Select Analytics Bucket as the bucket type.
  5. Click Create.

Create Analytics Bucket in Dashboard

Next steps

Once you've created your analytics bucket, you can: