Integrating using an AI prompt

The Integrate with AI section shows you a ready-made prompt for a simple integration of Better Stack error tracking into your app using Claude Code or Cursor.

  1. Navigate to Errors -> Applications -> Your application -> Data ingestion.
  2. Scroll to Integrate with AI and click on the prompt to copy it.
  3. Use it in Claude Code or similar tool to automatically integrate Better Stack into your application.

Integrate with AI

Not using Claude Code or similar agentic dev-tool?

You can integrate your app manually using Sentry SDK.

See the error in Better Stack

After running the prompt and triggering and error, you should see your first report in Errors 🚀

First error in Better stack