To use Sentry with your Ember application, you will need to use @sentry/browser (Sentry’s browser JavaScript SDK).
On its own, @sentry/browser will report any uncaught exceptions triggered from your application. Also, you need to install ember-cli-cjs-transform with ember install ember-cli-cjs-transform.

Add this to your ember-cli-build.js file:

app.import('node_modules/@sentry/browser/dist/index.js', {
  using: [
    { transformation: 'cjs', as: '@sentry/browser' }

Then add this to your app.js:

import * as Sentry from '@sentry/browser'

  dsn: '___PUBLIC_DSN___',
  integrations: [new Sentry.Integrations.Ember()]
In this guide