Skip to content

Quickstart

Get up and running with Kopai in under 5 minutes.

  • A Kopai account (sign up here)
  • Node.js 18+ (or Python 3.8+ or Go 1.21+)
  1. Go to SettingsAccess Tokens in your dashboard
  2. Click Generate Token
  3. Copy the token (it won’t be shown again)
Terminal window
npm install @opentelemetry/api @opentelemetry/sdk-node @opentelemetry/exporter-trace-otlp-http

Set your Kopai endpoint and token:

Terminal window
export OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp.kopai.app"
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer YOUR_TOKEN"

See the SDK guides for detailed instrumentation examples.