This is a Next.js project bootstrapped with create-next-app.
First, install all the necessary dependencies:
pnpm installNext create a .env.local file with the following:
OPENAI_API_KEY=<your-openai-api-key>
SIGNOZ_INGESTION_KEY=<your-signoz-ingestion-key>Then, run the development server:
pnpm devIn your terminal, you should see output from OpenTelemetry when the application starts, confirming that the instrumentation.ts file was loaded correctly.
Open http://localhost:3000 with your browser to see the result and interact with the application.
Go to the Dashboards tab in SigNoz.
Click on + New Dashboard
Import the Vercel Chatbot.json file from the repo.
Your dashboard should now be imported and look something like this:

