Documentation Center
Explore implementation blueprints, API references and troubleshooting playbooks crafted by our engineering team. Everything here is production tested and continuously updated.
Support Center
Contact our specialists or open a ticket in under a minute.
Status Dashboard
Monitor real-time uptime, planned maintenance and incident history.
API Explorer
Try every endpoint directly in the browser with your workspace token.
Integration snapshots
React
Jump to guide
Hooks, suspense helpers and context-aware caching.
- Client-side hydration safe
- Automatic type inference
- Optimistic UI helpers
Next.js
Jump to guide
App Router compatible utilities for server and client.
- Route handlers ready
- Edge runtime support
- ISR friendly
Mobile
Jump to guide
Swift, Kotlin and React Native SDKs with offline sync.
- Secure credential storage
- Retry with exponential backoff
- Crash-safe queuing
Quick Start Guide
Launch your first workflow in minutes. Follow the guided path below to authenticate, configure the SDK and trigger your inaugural request.
- 01
Create your workspace
Register in the dashboard, invite your teammates and copy your workspace API key from Settings → Access tokens.
- 02
Install the toolkit
Add the CRLabz SDK or preferred integration to your project using your package manager of choice.
- 03
Configure environment
Add the CRLABZ_API_KEY variable to your environment file and select the target environment (sandbox, staging or production).
- 04
Trigger your first call
Use the `projects.create` helper or the REST endpoint to create a sample project and validate connectivity.
Quick Start
Initialize the SDK and create your first project.
// Install the package
pnpm add @crlabz/sdk
// Initialize the SDK (commented out for deployment)
// import { CRLabzSDK } from '@crlabz/sdk'
// const sdk = new CRLabzSDK({
// apiKey: process.env.CRLABZ_API_KEY!,
// environment: 'production',
// })
// Make your first API call (commented out for deployment)
// const project = await sdk.projects.create({
name: 'My Project',
type: 'web-app',
})React Provider
Wrap your application with the provider and start using hooks.
import { CRLabzProvider, useProjects } from '@crlabz/react-sdk'
function Projects() {
const { data, isLoading } = useProjects()
if (isLoading) return <span>Loading...</span>
return (
<ul>
{data?.map((project) => (
<li key={project.id}>{project.name}</li>
))}
</ul>
)
}
export function App() {
return (
<CRLabzProvider apiKey={process.env.NEXT_PUBLIC_CRLABZ_KEY || 'demo-key'}>
<Projects />
</CRLabzProvider>
)
}Installation
Install the SDKs, CLIs or language clients that match your stack. Every artifact is published with semantic versioning and signed builds.
Requires Node.js 18+, Bun 1.0+ or Deno 1.39+
Supports ESM and CommonJS consumers
Available for browser, server and edge runtimes
pnpm
pnpm add @crlabz/sdknpm
npm install @crlabz/sdkyarn
yarn add @crlabz/sdkConfiguration
Configure authentication, retries and logging for each environment. The SDK automatically loads configuration from environment variables.
- 01
Create environment files
Set CRLABZ_API_KEY and CRLABZ_ENVIRONMENT per environment. Never commit secrets—use your platform's secrets manager.
- 02
Tune retries
Define retry strategy with exponential backoff and jitter using the sdk.client.configure method.
- 03
Enable observability
Forward logs and metrics using the built-in logger integrations for Datadog, OpenTelemetry or custom transports.
First Project
Use curated templates to bootstrap new projects. Roll back instantly with preview environments tied to every branch.
- 01
Select a template
Choose from web app, data pipeline, automation workflow or bring your own stack via custom templates.
- 02
Provision services
CRLabz orchestrates storage, secrets and background workers. Track provisioning live inside the dashboard.
- 03
Promote to staging
Validate using preview URLs with automatic seed data and share with stakeholders before going live.
Resources
Authentication
Authenticate with OAuth 2.1, API keys or signed JWTs. All requests must include TLS 1.3 with strong cipher suites.
OAuth flow with PKCE for user-level access
Service tokens with granular scopes
Automatic token rotation and revocation API
Resources
Endpoints
Discover every REST and GraphQL endpoint with sample payloads, expected responses and schema diffs between versions.
REST base URL: https://api.crlabz.dev
GraphQL endpoint: https://api.crlabz.dev/graphql
Real-time webhook events for project, billing and audit changes
Resources
Rate Limits
Plan-aware limits keep the platform responsive for everyone. We provide soft warnings, adaptive scaling and transparent quota resets.
Burstable quotas with graceful throttling
Webhook notifications at 80% consumption
Custom enterprise agreements on request
Includes sandbox endpoints
Resets every minute
Request adaptive scaling
Resets every 30 seconds
Custom SLA available
Resets every 15 seconds
Error Handling
Consistent error envelopes keep debugging simple. Pair them with observability hooks to surface actionable insights instantly.
Structured error codes prefixed with CRL
Machine-readable hints for quick remediation
Correlation IDs for every request and webhook
Pro tips
- Log the `traceId` header to join platform telemetry with your logs.
- Use the `x-crlabz-retry` header to honour safe retries.
- Subscribe to incident webhooks to automate escalation.
React Integration
Ship dynamic interfaces using React hooks and server components powered by CRLabz.
First-class support for Suspense and streaming
Automatic cache invalidation via mutations
Type-safe hooks generated from your schemas
Next.js Setup
Use CRLabz within the Next.js App Router. Deploy edge-ready APIs without extra boilerplate.
Compatible with Route Handlers and Middleware
Edge runtime support with web standard fetch
Server actions with automatic streaming updates
Vue.js Integration
Compose reactive dashboards with Vue 3, Pinia and CRLabz composables.
Use `useCRLabz` composable for data fetching
Nuxt module with SSR-aware caching
Script setup compatible typings
Mobile SDKs
Offline-first mobile SDKs with delta sync and encrypted persistence.
Swift and Kotlin packages published weekly
React Native bridge with TypeScript typings
Background sync scheduler with push notifications
Security Guidelines
Protect your workspace with defense-in-depth controls and audit trails.
Performance Tips
Unlock millisecond responses with caching, batching and streaming primitives.
Leverage query batching to reduce network hops
Enable CDN caching for public project assets
Use background jobs for heavy computations
Code Standards
Adopt conventions that keep teams productive and codebases consistent.
Testing
Test everything from unit logic to end-to-end workflows with production-like fixtures.
Mock CRLabz responses using our official MSW handlers
Spin up ephemeral sandboxes in CI via the CLI
Leverage contract testing for mission critical APIs
Common Issues
Resolve the most reported issues in minutes using curated playbooks.
401 Unauthorized — verify scopes and rotate tokens
429 Too Many Requests — inspect rate-limit headers
Webhook signature mismatch — resync signing secret
Debugging
Trace requests across services and triage incidents with precision.
- 01
Capture correlation IDs
Every response includes an `x-crlabz-trace` header. Log it to stitch platform telemetry with your system.
- 02
Replay in the explorer
Paste the trace ID into the API explorer to replay the failing request with redacted secrets.
- 03
Escalate with context
Attach HAR files, logs and screenshots when contacting support to jump to the resolution stage.
Support
Our specialists respond 24/7 for production incidents. Browse playbooks, open tickets or join office hours.
Pro tips
- Enable PagerDuty or Opsgenie integrations for automatic routing.
- Set up webhook alerts for SLA thresholds.
Community
Connect with thousands of builders shipping with CRLabz. Share knowledge, attend livestreams and access private betas.
Weekly live build sessions
Design partners program for roadmap influence
Community forum with staff moderation
Resources
Join the community
Share learnings, request features and collaborate with other builders. Our team hosts weekly livestreams and office hours.