Quick Start
Get up and running with Boundary in under 5 minutes.
Installation
Install the SDK and set up your project environment.
Initialize Client
Configure Boundary with your providers and authentication tokens.
Make Requests
Start making resilient, typed API calls with standardized responses.
Core Concepts
Understand normalization, circuit breakers, and smart retries.
quick-start.ts
import { Boundary } from "boundary-sdk";
// 1. Initialize
const boundary = new Boundary({
providers: {
github: { auth: { token: process.env.GITHUB_TOKEN } }
}
});
// 2. Make Request
const { data, meta } = await boundary.github.get("/users/octocat");
// 3. Use Typed Data
console.log(data.login); // "octocat"
console.log(meta.rateLimit.remaining); // 4999