Set up with AI
Cursor, Claude Code, any agentCopy this into your coding agent to scaffold the SDK, env vars, and client init — it points the agent at the real spec instead of letting it guess. For deeper integration work, hand it the Mudbase Claude Skill — a complete, fact-checked reference for auth, collections, storage, realtime, MCP, add-ons, KYC, payment links, and wallet broadcasting.
Promptsetup-prompt.md
Set up Mudbase (backend-as-a-service) in this project.
1. Install the SDK:
- Node/JS: npm install mudbase-sdk
- Python: pip install mudbase-sdk
2. Create a .env with:
MUDBASE_API_KEY=<from Console -> Settings -> API Keys>
3. Initialize the client (Node/JS example — each SDK has one class per API
resource, e.g. AuthenticationApi, DataApi, no unified wrapper):
import { Configuration, HealthApi } from 'mudbase-sdk';
const configuration = new Configuration({
basePath: 'https://cloud.mudbase.dev',
apiKey: process.env.MUDBASE_API_KEY,
});
const health = new HealthApi(configuration);
4. Verify it works: await health.getHealth() should return a healthy status.
5. Before writing integration code, clone the Mudbase Claude Skill for the full,
fact-checked reference (auth flows, collections, storage, realtime, webhooks,
MCP, add-ons, KYC, payments, wallets):
git clone https://github.com/themudhaxk/mudbase-skill.git ~/.claude/skills/mudbase
Not using Claude Code? Read the same file directly:
https://raw.githubusercontent.com/themudhaxk/mudbase-skill/main/SKILL.md
6. Or read https://docs.mudbase.dev/llms.txt for the full page index, or
https://docs.mudbase.dev/openapi.yaml for the exact endpoint schemas — don't
guess at request/response shapes.Set up Mudbase (backend-as-a-service) in this project.
1. Install the SDK:
- Node/JS: npm install mudbase-sdk
- Python: pip install mudbase-sdk
2. Create a .env with:
MUDBASE_API_KEY=<from Console -> Settings -> API Keys>
3. Initialize the client (Node/JS example — each SDK has one class per API
resource, e.g. AuthenticationApi, DataApi, no unified wrapper):
import { Configuration, HealthApi } from 'mudbase-sdk';
const configuration = new Configuration({
basePath: 'https://cloud.mudbase.dev',
apiKey: process.env.MUDBASE_API_KEY,
});
const health = new HealthApi(configuration);
4. Verify it works: await health.getHealth() should return a healthy status.
5. Before writing integration code, clone the Mudbase Claude Skill for the full,
fact-checked reference (auth flows, collections, storage, realtime, webhooks,
MCP, add-ons, KYC, payments, wallets):
git clone https://github.com/themudhaxk/mudbase-skill.git ~/.claude/skills/mudbase
Not using Claude Code? Read the same file directly:
https://raw.githubusercontent.com/themudhaxk/mudbase-skill/main/SKILL.md
6. Or read https://docs.mudbase.dev/llms.txt for the full page index, or
https://docs.mudbase.dev/openapi.yaml for the exact endpoint schemas — don't
guess at request/response shapes.Start here
Moving in
Core Products
AUTH
Authentication
API keys, Bearer tokens, and user management.
APIREST API
Full reference with request/response schemas.
RTRealtime
WebSockets and Server-Sent Events for live data.
HOOKWebhooks
Signed, retried delivery of platform events.
SDKSDKs
JavaScript, Python, Go, Ruby, Java, C#, PHP, Swift.
SPECOpenAPI
Generate your own client, or import into Postman.
SDKs
8 languagesOne consistent API across every official SDK — same methods, same shapes, same errors.
Guides
Task-based guides to implement common features.
API Reference
Complete reference for all endpoints: base URL, authentication, rate limits, pagination, and errors.
View API Reference →