Skip to content
scroll to zoom · drag to pan

ServerClientOptions

type ServerClientOptions = Required<Pick<NitidaClientOptions, "endpoint" | "apiKey" | "tenantCode" | "tenantId">> & Pick<NitidaClientOptions, "cdnBase" | "signingKey">;

Defined in: packages/sdk/src/server/index.ts:62

Server-side constructor options — apiKey is REQUIRED here. Use this type whenever you build a client behind a process boundary (Node, Bun, Cloud Run, Vercel Functions, edge runtimes, BFFs).

const aq = new NitidaClient({ endpoint: process.env.AQUIENPZ_URL!, apiKey: process.env.AQUIENPZ_API_KEY!, tenantCode: “acme-co”, tenantId: 1, });