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:
| Block | Description |
|---|---|
| Auth | Authentication, users, MFA, SSO |
| Onboarding | User journeys, activation flows |
| CRM | Contacts and relationships |
| Files | Cloud file storage and management |
| Forms | Dynamic form handling and validation |
| Content | Headless CMS for any content type |
| Products | Product catalog and inventory |
| Sales | Subscriptions and payments |
| Rewards | Loyalty, coupons, and badges |
| Geolocation | Maps, locations, and areas |
| Real Time | WebSockets and WebRTC |
| Search | Full-text search engine |
| AI / Jarvis | Machine learning features |
| University | Learning management system |
| Companies | Teams and organizations |
Next Steps
- Browse the Blocks documentation to learn about each block
- Check out the API Reference for detailed endpoints
- Visit our GitHub for open source tools