Prerequisites
- Node.js 18 or newer
- A Penumbra API key (request one at shep@getpenumbra.ai)
Install the SDK
Set your key
Keys are prefixed withpnbr-. Keep them out of source control; read them from
the environment.
Create a client
https://pnbr.io/v1) by default. Override
baseUrl for a self-hosted or staging environment:
Projects
Your key is scoped to a single project or to your whole organization.- A key scoped to a single project makes
projectIdimplicit, so you can omit it. - A key that spans multiple projects requires
projectIdon calls that take it.