> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.usebridge.com/documentation/getting-started/eligibility-sdk/typescript/installation/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.usebridge.com/_mcp/server. The TypeScript SDK (`@usebridge/sdk`) runs eligibility checks on the server or in the browser, without React. ## Installation The SDK requires the [Bridge TypeScript API client](https://www.npmjs.com/package/@usebridge/api) as a peer dependency: **`npm`** ```bash title="npm" for="npm" npm install @usebridge/api @usebridge/sdk ``` **`yarn`** ```bash title="yarn" for="yarn" yarn add @usebridge/api @usebridge/sdk ``` ## Example project A working demo is available as the [`node` project](https://github.com/use-bridge/sdk-typescript/tree/main/examples/node) in the repository. Copy `.env.example` to `.env` and set your publishable key and service type IDs: ``` BRIDGE_PUBLISHABLE_KEY="********-****-****-****-************" BRIDGE_SERVICE_TYPES="svt_****,svt_****" ``` ```bash yarn workspace node-demo soft # soft eligibility yarn workspace node-demo hard # hard eligibility ``` ## Next Steps * Follow the [Setup](./setup) guide to configure a client * Review [Soft Check](./soft-check) --- #### [Setup](./setup) Configure `createBridgeClient` in your project