Set up Respan
Set up Respan
- Sign up — Create an account at platform.respan.ai
- Create an API key — Generate one on the API keys page
- Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page
Use AI
Use AI
Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.
What is Mastra?
Mastra is a TypeScript framework for building AI agents and workflows. It provides structured agent orchestration, tool management, and built-in telemetry via OpenTelemetry.Example projects
Example projects
Setup
View your trace
Open the Traces page to see your agent traces.
Configuration
Mastra uses theRespanExporter from @respan/exporter-vercel. See the Vercel Exporter SDK reference for exporter configuration.
| Mastra config | Type | Description |
|---|---|---|
telemetry.serviceName | string | Application name for traces. |
telemetry.enabled | boolean | Enable/disable telemetry. |
telemetry.export.type | "custom" | Must be "custom" for Respan. |
telemetry.export.exporter | SpanExporter | RespanExporter instance. |