Getting Started With Sentry

Set up Sentry and configure the key features that help you find and fix problems faster.

Sentry captures errors, logs, traces, replays, profiles, and metrics from your application — and connects them all through distributed tracing. This page walks you through the steps to get the most out of Sentry after you've installed the SDK.

New to Sentry? → Sign up here or try the sandbox to explore the product without installing anything.

Connecting your source code repository is the single most impactful setup step. It unlocks:

  • Suspect commits — Sentry identifies the most likely commit that introduced an error
  • Seer AI debugging — root cause analysis, Autofix (automatic PR generation), and AI Code Review
  • Stack trace links — click from a stack trace directly to the line in your repo
  • Readable stack traces — upload source maps (JavaScript) or debug symbols (native) for de-minified/de-obfuscated stack traces

Set up your GitHub, GitLab, or Bitbucket integration in Settings > Integrations.

Alerts make sure the right people know when things go wrong. Sentry supports:

  • Alerts — notify on new errors, regressions, error spikes, or when thresholds like error rate, latency and crash-free session rate are crossed
  • Uptime monitors — watch your endpoints for downtime
  • Cron monitors — track scheduled jobs for failures or missed runs

Route alerts to Slack, Discord, PagerDuty, or your issue tracker (Jira, Linear, GitHub Issues). See alert best practices for tips on avoiding noise.

After basic error monitoring, these features add the debugging context that will help you find and fix problems faster:

FeatureWhat it addsSet up
TracingFollow requests across services, find slow queries and N+1sEnable tracesSampleRate in SDK config
LogsStructured logs alongside errors and tracesEnable enableLogs: true in SDK config — set up guide
Session ReplayVideo-like recordings of user sessions (web and mobile)Enable replay in SDK config
ProfilingCPU profiles showing which functions are slowEnable profiling in SDK config
Application MetricsCustom counters, gauges, distributionsAdd metric calls to your code
User FeedbackCollect bug reports from users, linked to errorsAdd the feedback widget

Check out Sentry's cookbooks to learn more about how others use Sentry, and how to go deeper with each of Sentry's tools.

Once data is flowing, use these tools to understand your application's health:

  • Dashboards — pre-built views for frontend, backend, mobile, and AI performance, plus custom dashboards
  • Trace Explorer — search, filter, and aggregate span data to find performance bottlenecks
  • Releases — track crash-free sessions, version adoption, and regressions by deploy

Our Guides cover real-world patterns for each feature:

The Sentry Cookbook has step-by-step recipes for common workflows, including debugging with MCP + Cursor, setting up AI observability, creating dashboards with AI agents, and more.

  • Sandbox — explore Sentry with pre-populated sample data

Follow along with a sample app to set up error monitoring or distributed tracing end-to-end:

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").