Skip to content

Quickstart Guide

Follow this guide to get up and running with the workshop environment in the fastest way possible.

Prerequisites

Before you begin, ensure you have the following installed:

Additionally, you’ll need a Sentry account to follow along with the tracing and monitoring portions of this workshop:

Setup Instructions

  1. Fork the repository

    Go to https://github.com/getsentry/sentry-academy-ai-workshop and click the “Fork” button in the top right. We’ll do this instead of simply cloning the repo because we’ll demo features of AI agent, Seer which can open PRs to fix code for us.

    Forking the repository
  2. Leave the fork network

    Go to the settings of your forked repo, scroll all the way down to the Danger Zone, click “Leave fork network”, and follow the prompts to convert your forked repo into a standalone repo, all nice and isolated from the original.

    Leaving the fork network
  3. Clone your no-longer-forked repo:

    Terminal window
    git clone https://github.com/<your-username>/sentry-academy-ai-workshop.git
  4. Navigate to the project directory

    Terminal window
    cd sentry-academy-ai-workshop
  5. Install dependencies with PNPM

    Terminal window
    pnpm i
  6. Set up environment variables

    Terminal window
    touch apps/server/.env
    echo "PORT=3001" >> apps/server/.env
    cd apps/server
  7. Database Setup

    We’ll be using NeonDB for this workshop, so we need to set up the database. Navigate to the apps/server directory and run the following commands and select the defaults when prompted:

    Terminal window
    pnpx neondb
  8. Seed the Database

    Terminal window
    pnpm db:generate
    pnpm db:push
    pnpm db:seed
  9. Start the Project (from the root)

    Terminal window
    cd ../..
    pnpm dev
  10. Access the application project

    The project will now be running at http://localhost:5173 with the backend API running on http://localhost:3001.

What’s Available After Setup

Once you’ve completed the setup, you’ll have access to:

This setup will allow you to progress through the workshop and start implementing Sentry. This workshop will take you through setting up Error Monitoring, Logging, Tracing, and building visualizations in dashboards!