> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elata.bio/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

> Browser SDKs for camera rPPG, EEG over Web Bluetooth, headband PPG, session recording, and analytics.

## Elata SDK

The Elata SDK is a set of npm packages for capturing and processing biosignals in the
browser. The packages are built on Rust crates compiled to WebAssembly, so signal
processing runs on the user's device.

> [!NOTE]
>
> **Repository**: [github.com/Elata-Biosciences/elata-bio-sdk](https://github.com/Elata-Biosciences/elata-bio-sdk) · **npm**: [`@elata-biosciences`](https://www.npmjs.com/org/elata-biosciences)

***

## Quick start

The fastest path is to scaffold a starter app:

```bash theme={null}
# Interactive template picker
npm create @elata-biosciences/elata-demo my-app

# Or pick one directly
npm create @elata-biosciences/elata-demo my-app -- --template rppg
```

```bash theme={null}
cd my-app
npm install
npm run dev
```

See [create-elata-demo](https://docs.elata.bio/sdk/create-elata-demo.md) for all five templates.

***

## Packages

"Live" packages are on npm. "Experimental" packages are available as source
code in the [SDK repository](https://github.com/Elata-Biosciences/elata-bio-sdk)
and not yet on npm. See [What's live](https://docs.elata.bio/overview/status.md).

### Sensors

| Package | What it does | Status |
| - | - | - |
| [`@elata-biosciences/rppg-web`](https://docs.elata.bio/sdk/rppg-web/getting-started) | Heart rate and pulse signals from a webcam (rPPG). The default starting point: no hardware needed. | Live |
| [`@elata-biosciences/eeg-web`](https://docs.elata.bio/sdk/eeg-web/getting-started) | EEG signal processing, band powers, and models (WASM), plus the shared headband frame contract. | Live |
| [`@elata-biosciences/eeg-web-ble`](https://docs.elata.bio/sdk/eeg-web-ble/getting-started) | Connect EEG headbands over Web Bluetooth. Muse built in; extensible to other devices. | Live |
| [`@elata-biosciences/ppg-web`](https://docs.elata.bio/sdk/ppg-web/getting-started) | Heart rate and HRV from a headband's optical (PPG) sensor. | Live |

### Recording and analysis

| Package | What it does | Status |
| - | - | - |
| [`@elata-biosciences/biosignal-session`](https://docs.elata.bio/sdk/biosignal-session/getting-started) | Record multi-sensor sessions to local storage with a fault-tolerant protocol and Arrow chunks. | Experimental |
| [`@elata-biosciences/biosignal-analytics`](https://docs.elata.bio/sdk/biosignal-analytics/getting-started) | EEG window features, HRV, robust statistics, and transparent headline scores. | Experimental |
| `@elata-biosciences/rppg-models-web` | Optional learned waveform reconstruction for `rppg-web`. You supply the model file. | Experimental |

### Elata

| Package | What it does | Status |
| - | - | - |
| [`@elata-biosciences/app-payments`](https://docs.elata.bio/apps/platform/in-app-purchases) | In-app purchases through Elata checkout | Live |
| [`@elata-biosciences/app-state`](https://docs.elata.bio/apps/platform/app-state) | Per-user key-value storage. Until it's on npm, use the [`elata:state:*` messages](https://docs.elata.bio/apps/platform/app-state). | Experimental |
| [`@elata-biosciences/app-metrics`](https://docs.elata.bio/apps/platform/metrics-and-scores) | Event records, scores, and biometric Score contribution | Live |

### Tooling

| Package | What it does | Status |
| - | - | - |
| [`@elata-biosciences/create-elata-demo`](https://docs.elata.bio/sdk/create-elata-demo) | Scaffold a starter app from a template | Live, known issue |

> [!WARNING]
>
> **Known issue:** the repository's `create-elata-demo` 0.12.1 fails when packaged without sibling workspace metadata: "Missing packaged SDK version metadata for @elata-biosciences/app-metrics". Verify a fixed release before using it. For now, add packages to an app directly (below).

***

## Add packages to an existing app

```bash theme={null}
# Camera heart rate
npm install @elata-biosciences/rppg-web

# EEG over Web Bluetooth
npm install @elata-biosciences/eeg-web @elata-biosciences/eeg-web-ble

# Headband PPG heart rate and HRV
npm install @elata-biosciences/ppg-web @elata-biosciences/eeg-web @elata-biosciences/eeg-web-ble @elata-biosciences/rppg-web
```

**Requirements**: Node.js 20 or newer for tooling, and a modern browser with WebAssembly support.

***

## Device support

| Device | Protocol | Signals | Status |
| - | - | - | - |
| Muse 2 | Classic BLE | 4 EEG (TP9, AF7, AF8, TP10), PPG | Supported |
| Muse S | Classic BLE | 4 EEG, PPG | Supported |
| Muse S (Athena) | Athena | 8 EEG, optics, accelerometer/gyro | Supported |
| Any webcam | Camera | rPPG pulse | Supported |

Want to add a headset? See [Device Integration](https://docs.elata.bio/integrate.md).

***

## Rust crates

The packages are built on public Rust crates you can also use directly:

| Crate | Purpose |
| - | - |
| `elata-eeg-hal` | Core device traits: `EegDevice`, `SampleBuffer` |
| `elata-eeg-signal` | FFT, band power, filtering |
| `elata-eeg-models` | Alpha bump detector, calmness model |
| `elata-rppg` | rPPG pipeline core |
| `elata-muse-proto` | Muse classic and Athena protocol decoding |

***

## Next

> [card] [Choose A Package](https://docs.elata.bio/sdk/guides/choose-the-right-package.md)
>
> Package decision guide

> [card] [Your First App](https://docs.elata.bio/sdk/tutorials/first-app.md)
>
> Scaffold and run a starter app

> [card] [Publish on Elata](https://docs.elata.bio/apps/build/overview.md)
>
> Ship it on Elata


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.