Skip to main content

Getting Started

Welcome to 23blocks! This guide will help you integrate our backend blocks quickly and confidently.

What is 23blocks?

23blocks provides production-ready backend services (we call them "Blocks") that you can plug into any application. Each block includes:

  • Software - Production-ready APIs built to industry standards
  • Infrastructure - AWS-powered cloud hosting with everything included
  • Services - Ongoing support to keep your backend running smoothly

Quick Start

1. Install the SDK

npm install @23blocks/sdk

2. Initialize the Client

import { BlocksClient } from '@23blocks/sdk';

const client = new BlocksClient({
baseUrl: 'https://api.23blocks.com',
appId: 'your-app-id',
apiKey: 'your-api-key'
});

3. Use Any Block

// Auth Block - Register a user
const user = await client.auth.register({
email: 'user@example.com',
password: 'securePassword123'
});

// Files Block - Upload a file
const file = await client.files.upload({
file: fileBlob,
public: true
});

// Content Block - Fetch articles
const articles = await client.content.list('articles');

Available Blocks

Explore the blocks available to build your application:

BlockDescription
AuthAuthentication, users, MFA, SSO
OnboardingUser journeys, activation flows
CRMContacts and relationships
FilesCloud file storage and management
FormsDynamic form handling and validation
ContentHeadless CMS for any content type
ProductsProduct catalog and inventory
SalesSubscriptions and payments
RewardsLoyalty, coupons, and badges
GeolocationMaps, locations, and areas
Real TimeWebSockets and WebRTC
SearchFull-text search engine
AI / JarvisMachine learning features
UniversityLearning management system
CompaniesTeams and organizations

Next Steps