Huddle01 Cloud
Realtime Services

API & Authentication

Get your API keys, initialize the SDK, and configure security for your realtime projects.

To use our Realtime Services, you'll need to authenticate your application. This is done using API keys, which you can create and manage from the dashboard.

Getting Your API Keys

We provide two API keys for each project: a Production Key for your live application and a Test Key for development.

  1. Navigate to the Realtime Services section and click on the API Keys tab.
  2. Here you will find your "My Production Project" and "Test API Key" already created for you.
  3. Click the Copy icon to copy a key to your clipboard.

Keep Your Keys Secure

Your Production API key is a secret. Do not expose it in client-side code. It should be used on your backend server to generate temporary access tokens for your users.

Initializing the SDK

Once you have your Project ID (found under your project name), you can initialize the SDK in your application. Here's a basic example for JavaScript:

app.js
import { HuddleClient } from '@huddle01/web-core';

const client = new HuddleClient({
  projectId: 'YOUR-PROJECT-ID',
});