Setup
Install Langtrace’s SDK and initialize the SDK in your code.Usage
Here’s a quick example of how to use Langtrace with Vercel AI SDK:api/chat/route.ts
Recipes
To get started with integrating Langtrace in your NextJS application, you can refer to these NextJS examples in our recipes repository:
NextJS Integration Examples