Official StitchDB clients for JavaScript, Python, C#, Kotlin, Dart/Flutter and Swift: database, auth, storage, realtime and Edge Functions.
Every SDK talks to the same project API (https://<project-ref>.p.stitchdb.com) with your project's anon key, so Row Level Security decides what each user can read and write. They all cover the database (REST), Auth, Storage, Realtime and Edge Functions.
| Language | Package | Install | Reference |
|---|---|---|---|
| JavaScript / TypeScript | stitchdb-js | npm install stitchdb-js | JavaScript SDK |
| Python | stitchdb | pip install stitchdb | Python SDK |
| C# / .NET | StitchDB | Project reference from GitHub | C# SDK |
| Kotlin (Android, JVM, iOS) | com.stitchdb:*-kt | Gradle included build from GitHub | Kotlin SDK |
| Dart / Flutter | stitchdb, stitchdb_flutter | Git dependency in pubspec.yaml | Dart and Flutter SDK |
| Swift (iOS, macOS, Linux) | StitchDB | Swift Package Manager | Swift SDK |
The source of each SDK is on GitHub under github.com/stitchdb. The Python, C#, Kotlin and Dart packages are installed from GitHub for now; the install line on each page is the one that works today.
#Keys
Find the project URL and keys in the dashboard under Settings → API keys. Use the anon key in browsers and apps. The service_role key bypasses Row Level Security: use it only on servers you control, never in an app you ship to users.
#JavaScript SDK
npm install stitchdb-jsInstall
npm or a script tag.
Create a client
Connect to your project.
Database queries
Select, filter, insert, update, delete and RPC.
Auth
Sign-up, sign-in, sessions, MFA and the admin API.
Storage
Upload, download and signed URLs.
Realtime channels
Changes, broadcast and presence.
Edge Functions
Call your functions with the user's session.
Errors
What each call returns when it fails.