Public DocsRoute-backed sectionsUpdated July 24, 2026

Clivly docs that match the product you ship today

Install the CLI, scaffold your routes, and connect your database to Clivly. Every step below is its own page, so you can deep-link straight to the one you need.

What Changed In This Refresh
The previous page was accurate in parts, but it no longer mirrored the current integration path closely enough.

Lead with `clivly@next`, not the older stable line.

Added `create-clivly`, `connect()`, `doctor()`, and `cursorStore` guidance.

Separated framework recipes from widget and auth setup.

Kept better-auth, remote sync, and serverless guidance current.

Package Surfacepackages

Packages

Understand the consolidated package story, the scaffolder, and the import surface the current product expects developers to use.

`create-clivly``clivly/sdk``@clivly/chat-widget`
What developers can install today
The public docs route should reflect the package surface that actually exists in the repository now.

clivly

Runtime imports + CLI

Consolidated runtime package plus the CLI command developers keep using after setup.

create-clivly

App creation bootstrap

Scaffolder for `npm create clivly`, wrapping the init flow for greenfield starts.

@clivly/sdk

Cloud connection SDK

Still the package-local README source for heartbeat, sync, serverless, and diagnostics guidance.

@clivly/chat-widget

Visitor chat widget

Embeddable React and script-tag widget with a host-side session bootstrap route.

@clivly/auth-clerk

Clerk auth adapter

Clerk adapter for host session resolution.

@clivly/auth-workos

WorkOS auth adapter

WorkOS adapter for host session resolution.

@clivly/auth-better-auth

better-auth adapter

better-auth adapter with no runtime dependency lockstep.

@clivly/core

Contracts + config

Entity config and schema discovery contracts that the runtime shares.

Imports that matter
The consolidated import story is important because the runtime package and CLI now share the same public mental model.
imports.ts
import { createClivlySDK, defineClivlyConfig } from "clivly/sdk";
import { fromDrizzle } from "clivly/drizzle";
import { clivlyVite } from "clivly/vite";
import { createClerkAuthAdapter } from "clivly/auth/clerk";
import { createWorkOSAuthAdapter } from "clivly/auth/workos";
import { createBetterAuthAdapter } from "clivly/auth/better-auth";
Previous
Auth
Next
Stability