Langtrace Cloud ☁️

To use the managed SaaS version of Langtrace, follow the steps below:

  1. Sign up by going to this link.
  2. Create a new Project after signing up. Projects are containers for storing traces and metrics generated by your application. If you have only one application, creating 1 project will do.
  3. Generate an API key. This key will be used to authenticate your application with Langtrace Cloud. Generate API key

    You may also create new projects and generate API keys for each of them later.

  4. In your application, install the Langtrace SDK and initialize it with the API key you generated in the step 3. The code for installing and setting up the SDK is shown below:
// Install the SDK
npm i @langtrase/typescript-sdk

// Import it into your project. Must precede any llm module imports
import * as Langtrace from '@langtrase/typescript-sdk'

Langtrace.init({ api_key: '<LANGTRACE_API_KEY>'})

Congrats! You can now view your traces on Langtrace Cloud. 🚀

traces

Langtrace Self-hosted 🏠

For users/organizations that want to host Langtrace on their own infrastructure, follow these steps to get started.