Uploads from your build: releases, source maps and debug files
Keep sentry-cli and the Sentry build plugins: point them at Netwarden with a build token, and every deploy uploads releases, source maps, dSYMs and ProGuard mappings.
Uploads from your build
The build tooling you already use with Sentry keeps working with Netwarden. sentry-cli, the webpack, Vite, Rollup and Metro plugins, and the Xcode and Gradle upload steps all talk to the same /api/0/… endpoints, which Netwarden serves.
1. Create a build token
In Netwarden, open the project, then Settings → Sentry, and create a build token. It starts with nw_tok_. The same tab shows your account id, which takes the place of the Sentry organization.
2. Point the tooling at Netwarden
Either a sentry.properties file:
propertiesdefaults.url=https://api.netwarden.com defaults.org=<your account id> defaults.project=<project slug> auth.token=nw_tok_…
or the environment variables your CI already sets:
bashSENTRY_URL=https://api.netwarden.com SENTRY_ORG=<your account id> SENTRY_PROJECT=<project slug> SENTRY_AUTH_TOKEN=nw_tok_…
Keep the token in your CI provider's secrets (Vercel, Netlify, Railway, Fly, Cloudflare Pages and GitHub Actions all have them), never in the repository.
3. Upload on every deploy
bashVERSION=$(sentry-cli releases propose-version) sentry-cli releases new "$VERSION" sentry-cli sourcemaps upload --release "$VERSION" ./dist sentry-cli releases set-commits "$VERSION" --auto sentry-cli releases finalize "$VERSION" sentry-cli releases deploys "$VERSION" new -e production
sourcemaps uploadaccepts artifact bundles and debug ids.debug-files uploadtakes dSYM, ELF, PDB and ProGuard files for native crashes.set-commits --autorecords the commits in the release, so an issue lists the commits that touched the crashing file.
With a bundler plugin (for example @sentry/vite-plugin or @sentry/webpack-plugin), set the same four values and the plugin uploads during the build.
Linking stack traces to your code
On the project's Sentry tab, set the repository URL and source root. In-app frames then link to the line in GitHub, GitLab or Bitbucket at the release's commit.