# Private Cloud

Run Appsocom Live in your own Cloudflare account. Your calls, recordings and files stay in your account, you pay Cloudflare directly for traffic, and Appsotech deploys and updates the service for you. Your apps use the same SDKs, pointed at your own address.

Private Cloud suits schools, hospitals, telecoms and platforms that need their data in their own account or run at very large volume. For most apps, the [hosted service](/quickstart/) is quicker and cheaper to start with.

## How it works

1. You create a Cloudflare account (or use your existing one) on the **Workers Paid** plan.
2. You create an API token limited to that account and share it with us. You can revoke it at any time: calls keep running, only updates stop.
3. We deploy Appsocom Live into your account and give you its address, for example `https://video.yourschool.com`, plus an admin key that only you hold.
4. We test it with you, then schedule updates around your calendar.

The service's source code stays with Appsotech. What runs in your account is a built bundle, licensed to you for the term of your agreement.

## Pointing the SDKs at your deployment

Every SDK takes the server address as a setting. Use your deployment's address and its admin key instead of `api.appsocom.dev` and a project key.

```ts
// Your backend (Node)
import { SfuKit } from "@appsocom/node";
const kit = new SfuKit({ url: "https://video.yourschool.com", adminKey: process.env.LIVE_ADMIN_API_KEY! });
const { token } = await kit.createToken({ roomId: "class-101", userId: "teacher-1", name: "Ms Ada", role: "teacher" });
```

```ts
// Browsers
import { joinRoom } from "@appsocom/client";
const room = await joinRoom({ url: "https://video.yourschool.com", token });
```

Python, PHP, Go and Dart work the same way: pass your address as `url` and the admin key. Keep your server at least as new as the SDK versions your apps use; each release note says which SDK versions it supports.

## What you get

| | Private Cloud |
|---|---|
| Calls, classrooms, chat, whiteboard, reactions, polls | Yes |
| Recording to your own R2 storage | Yes |
| Live streaming, captions, AI Agent, AI Teacher | Yes, with your own provider keys |
| Phone dial-in | Yes, with your own Telnyx account |
| Webhooks to your backend | Yes |
| Console, project keys, prepaid billing | No: you manage rooms with the admin key and the REST API |

## Your own keys

Features that use outside services run on your accounts, never on ours. You add each key once and we store it as a secret in your deployment.

| Feature | Service |
|---|---|
| AI Teacher | Anthropic, Deepgram, Cartesia or ElevenLabs, Anam for a face |
| AI Agent | OpenAI, or Deepgram + Anthropic + Cartesia |
| Live captions | Deepgram, or Workers AI in your account |
| Phone dial-in | Telnyx |
| Live streaming | Cloudflare Stream in your account |

Leave a key out and only that feature is off.

## Costs

You pay Appsotech a one-off setup fee and an annual licence that includes updates and support. You pay Cloudflare directly for the Workers Paid plan (about $5 a month) and call traffic: the first 1,000 GB each month is free, then $0.05 per GB.

To get a quote, [talk to us](https://appsotech.com/contact).
