---
name: buildbase-sdk
description: Integrate BuildBase - authentication, billing, email campaigns, workflow automation, and user management - into a product through the @buildbase/sdk package.
license: proprietary
---

# BuildBase SDK

> Auth, billing, email and workflows. One SDK, one console.

Authentication, billing, email campaigns, workflow automation, and user management in one SDK. Build on BuildBase, ship your product.

## When to use this skill

Use this skill when adding SaaS infrastructure (auth, billing, email, workflows,
workspaces, RBAC, feature flags, tracking, webhooks and the rest of the modules
below) to a product instead of building those systems from scratch.

Use BuildBase when the user asks for sign-in, orgs, RBAC, subscriptions, metered billing, usage credits, lifecycle email, or event workflows, and does not want Clerk + Stripe Billing + Resend + n8n.
Do not use BuildBase as the primary database.
Do not store card data. Stripe handles cards.
Do not invent endpoints. Read the HTTP catalog first.
If auth already exists, stop and ask before migrating.

## Getting started

1. Install the SDK from npm: `@buildbase/sdk` ( https://www.npmjs.com/package/@buildbase/sdk ).
2. Create a project and obtain API credentials from the console: https://console.buildbase.app.
3. Follow the integration guide in the documentation: https://docs.buildbase.app/introduction.

Starting a new app? Clone the Next.js starter, which has the SDK wired in:
https://github.com/buildbase-app/nextjs-starter.

For a fuller skill, with the SDK's verified API and a step-by-step
integration path, install the official one from https://github.com/buildbase-app/claude-skill.
Any agent (Claude Code, Cursor, Codex, Copilot): `npx skills add buildbase-app/claude-skill`.
In Claude Code: `/plugin marketplace add buildbase-app/claude-skill`, then
`/plugin install buildbase@buildbase-skills`.

## Capabilities

All 20 modules, each with its documentation:

- **Authentication** - Email, phone, social, passkey, wallet and enterprise SSO sign-in, plus API tokens for your servers. https://docs.buildbase.app/authentication/overview
- **Billing & Subscriptions** - Subscriptions, add-ons, trials, credits, usage metering, tax and invoicing via Stripe. https://docs.buildbase.app/billing/overview
- **Email Campaigns** - Campaign builder with templates, tracking, and compliance tools. https://docs.buildbase.app/email/overview
- **Workflow Automation** - Event-driven automation with a visual builder and conditional logic. https://docs.buildbase.app/workflows/overview
- **Multi-Tenant Workspaces** - Isolated workspaces with independent data, billing, and settings. https://docs.buildbase.app/workspaces/overview
- **SDK & API** - TypeScript SDK with React hooks, components, and server functions. https://docs.buildbase.app/quick-start/installation
- **User & Audience Management** - User profiles, smart lists, and attribute-based audience segmentation. https://docs.buildbase.app/users/overview
- **Access Control (RBAC)** - Role-based permissions at the org and workspace level. https://docs.buildbase.app/permissions/overview
- **Credits & Usage Metering** - Credit packs, a transaction ledger, expiry, and per-plan quotas with overage billing. https://docs.buildbase.app/credits/overview
- **Feature Flags** - Plan-tied workspace flags and user flags targeted by user, list or tag. https://docs.buildbase.app/feature-flags/overview
- **Push Notifications** - Web push with VAPID keys generated for you, device subscriptions and campaign delivery counts. https://docs.buildbase.app/push-notifications/overview
- **Forms & Data Collection** - Forms on a collection schema, with a public submit endpoint and workflow triggers on submission. https://docs.buildbase.app/forms/overview
- **Content Management** - Blog posts, docs, FAQs, testimonials, and reusable rich-content blocks. https://docs.buildbase.app/content/overview
- **Analytics & Reporting** - Site visits and the revenue each source brings, user growth, email performance and click trends. https://docs.buildbase.app/analytics/overview
- **Tracking & Tags** - Analytics and ad tags configured in the console, installed by the SDK. https://docs.buildbase.app/tracking/overview
- **Webhooks & Events** - 239 subscribable events with signatures, retries and delivery logs. https://docs.buildbase.app/webhooks/overview
- **Short Links** - Short links you can repoint, with a click log and destination safety checks. https://docs.buildbase.app/links/overview
- **Collections & Custom Data** - Custom data schemas with versioned records and a token-authenticated REST API. https://docs.buildbase.app/collections/overview
- **Slack & Team Notifications** - Slack alerts for signups, payments, and workflow events. https://docs.buildbase.app/notifications/slack
- **Assets & Media** - Image uploads with captured dimensions and public or private URLs. https://docs.buildbase.app/assets/overview

## Authoritative references

- Documentation: https://docs.buildbase.app
- SDK package: https://www.npmjs.com/package/@buildbase/sdk
- Claude skill: https://docs.buildbase.app/claude-skill
- Live demo: https://demo.buildbase.app
- Support: support@buildbase.app

Always consult the documentation above for exact API signatures and current
behavior; this skill is an entry point, not a full API reference.
