Quick Start

Get up and running with BaxCloud in under 5 minutes

1

Create a Project

Sign up for a free account and create your first project in the dashboard.

Free tier includes 1,000 participant minutes per month
Create Free Account
2

Get Your API Keys

Navigate to your project settings and generate API keys. You'll need:

  • Project ID: Your unique project identifier
  • API Key: For authenticating your application

Project ID: proj_abc123...

API Key: sk_live_xyz789...

3

Install the SDK

Choose your platform and install the BaxCloud SDK:

1npm install @baxcloud/react-client
4

Write Your First Code

Here's a simple example to connect to a video room:

src/App.tsx
1import { BaxCloudClient } from '@baxcloud/react-client';
2
3// Initialize client
4const client = new BaxCloudClient({
5  projectId: 'your-project-id',
6  apiKey: 'your-api-key',
7});
8
9// Connect to a room
10await client.connect({
11  roomName: 'my-first-room',
12  liveType: 'video_call',
13  participant: {
14    userId: 'user-123',
15    name: 'John Doe',
16    isHost: true,
17  },
18});
19
20// Enable camera and microphone
21await client.enableCamera();
22await client.unmuteMicrophone();
View More Examples