Skip to main content
Version: 4.7.65

Installation

🛑Alpha

OpenTelemetry support is currently in alpha and may undergo significant changes.

Installation​

Install the Gentrace SDK using your preferred package manager:

bash
npm install gentrace

Package Information​

The Gentrace SDK is available for multiple languages:

Requirements​

  • Node.js 16+
  • npm, yarn, or pnpm package manager

Next Steps​

After installation, you'll need to initialize the SDK with your API credentials:

  1. Initialize the SDK with your Gentrace API key
  2. Set up OpenTelemetry integration for automatic tracing
  3. Start using traced functions and interactions

Getting an API Key​

You can generate an API key by visiting https://gentrace.ai/s/api-keys