> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bentolabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript SDK

> Send TypeScript traces to Bento today via direct export. The dedicated SDK is coming soon.

You don't have to wait for the dedicated SDK to use Bento from a TypeScript app. Because Bento is an OpenTelemetry collector, you can point your framework's own OpenTelemetry exporter straight at Bento — **no Bento package required**.

> [card] [Export from any framework](https://docs.bentolabs.ai/otel-export.md)
>
> Send traces from the Vercel AI SDK, Mastra, or any OpenTelemetry-emitting framework by pointing its JSON exporter at Bento. This is the recommended path for TypeScript today.

The short version: configure your exporter with the endpoint `${BENTOLABS_BASE_URL}/v1/traces` and the header `Authorization: Bearer ${BENTOLABS_API_KEY}`, using a **JSON** OTLP exporter (Bento doesn't accept protobuf yet). The [Export from any framework](https://docs.bentolabs.ai/otel-export.md) page has copy-paste examples for the Vercel AI SDK and Mastra.

## The dedicated SDK

> [!NOTE]
>
> A dedicated `@bentolabs/sdk` (a drop-in OpenTelemetry span processor, like the Python SDK's `BentoLabsSpanProcessor`) is in active development and not yet generally available. Want early access? Reach out at [support@bentolabs.ai](mailto:support@bentolabs.ai). Until then, use direct export above.

## See also

> [card] [Export from any framework](https://docs.bentolabs.ai/otel-export.md)
>
> Point Vercel AI SDK / Mastra at Bento with no SDK.

> [card] [Attributes](https://docs.bentolabs.ai/concepts/attributes.md)
>
> How OpenTelemetry attributes map to dashboard columns.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.