Home/Documentation

Cube Documentation

Everything you need to build with the Cube Platform.

Introduction

Cube is a revolutionary platform that enables data-free internet access while creating a new economy for digital engagement. Our platform consists of several key components:

  • Cube Browser - Access the internet without data costs
  • DPO (Data Promotion Offering) - Businesses sponsor user data in exchange for engagement
  • DVU (Digital Value Unit) - Reward tokens earned through platform engagement
  • Cube Studio - Tools for businesses to create and manage their presence

Quick Example

JavaScript
// Initialize Cube SDK
import { CubeSDK } from '@cube/sdk';

const cube = new CubeSDK({
  apiKey: 'your-api-key',
  environment: 'production'
});

// Create a DPO campaign
const campaign = await cube.dpo.create({
  name: 'Summer Promo',
  budget: 10000, // DVU
  targetAudience: ['tech', 'gaming']
});

console.log('Campaign created:', campaign.id);