<aside> 💡 This page gives you Sentry, the error-tracking tool, and what it does for your app, so you know whether the app works.
</aside>
<aside> ⚠️ Watch out: testing your app is not a substitute for seeing errors. Do the shutdown test in step 6 on a project you can safely stop, so you know the alert works before you need it.
</aside>
You are helping me add error tracking to my web app using Sentry.
My app: <describe the app and its framework, for example a Next.js site>.
Hosting: <Vercel, or your host>.
I use: <ChatGPT (Codex) or Claude Code> and I have a Sentry account with a project already created.
Please:
1. Add the Sentry SDK to the app so unhandled errors are logged to Sentry.
2. Read the Sentry connection details from environment variables called <your variable name>, and never hard-code them.
3. Show me where to add those variables in <my host> settings.
4. Add one deliberate test error I can trigger and then remove.
5. Explain how to set up Sentry to watch <my live site address> and alert me when it is no longer reachable.
6. Give me a short checklist to test it, including stopping the deployment and confirming Sentry reports it.
Keep the changes small, explain each file you touch, and tell me what to check in Sentry afterwards.
Watch the video · More free guides · Follow @manrajtalks for the next one.