To set up a sentry logging on a sapi-nt application you must create a project on sentry.io. Go to settings > project > create project.
In order to authenticate with sentry, you need the DSN key, copy this from the settings of the sentry project, under client keys.
To set the DSN in the application, you can set the environment variable SENTRY_DSN=<DSN>, set the property dsn=<DSN> in sentry.properties or pass it in with -Dsentry.dsn=<DSN>