1. Create a project
Head to the Lark dashboard and sign in with Google. Click New Project and give it a name. This generates a project ID you’ll use to connect. In your project’s Settings page, note your Project ID. You’ll need it in the next step.2. Pick your SDK
Lark JS SDK
The native TypeScript SDK. Lightweight (~20KB), WebTransport support, volatile paths, modern API.
Firebase SDKs
Already using Firebase? Change one URL and your existing code works with Lark. Supports JS, Android, iOS, Flutter, C++, and Unity.
3. A quick example with the Lark SDK
If you’re starting fresh, here’s what it looks like end-to-end:Install
Connect and write data
anonymous: true option connects without authentication, which is useful for getting started quickly. You’ll add proper auth later.
Read data
Subscribe to real-time updates
Subscribe to a path and your callback fires every time the data changes, from any connected client.Clean up
Developer tools
Lark CLI
The Lark CLI lets you manage projects, databases, data, and security rules from the terminal:Claude Code plugin
If you use Claude Code, install the Lark plugin so Claude has full context on the Lark platform:/lark in any conversation to activate it, or Claude will load it automatically when you’re working with Lark. See the Claude Code plugin page for details.
What’s next?
Data structure
Understand how Lark organizes data as a JSON tree.
Security rules
Lock down who can read and write your data.
Subscriptions
Learn about real-time event types and how delta updates work.
Dashboard
Explore your project’s databases, metrics, and settings.

