Skip to main content

Create Your First Cube

This guide walks you through creating a cube, defining columns, and adding your first records.

Step 1: Navigate to Your Project

Open the admin panel and select your project. If you don’t have a project yet, create one from the workspace dashboard.

Step 2: Create the Cube

  1. Click New Cube
  2. Enter a name (e.g., “Products”)
  3. The slug is auto-generated (e.g., products)
  4. Click Create

Step 3: Define Columns

Add columns to define your data schema:
ColumnTypeRequiredPublic
nameTextYesYes
priceNumberYesYes
descriptionRich TextNoYes
imageImageNoYes
internal_notesTextNoNo

Step 4: Add Records

Click New Record and fill in the fields. Your data is immediately available via the API.

Step 5: Test the API

curl "https://api.cubestack.app/api/v1/{project}/products" \
  -H "X-Api-Key: your-api-key"
You should see your records in the response.

Next Steps