Quick Start

Get up and running with Boundary in under 5 minutes.

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