Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the wizard endpoint as an onboarding tool for SDKs #26

Closed
bruno-garcia opened this issue Jun 24, 2022 · 3 comments
Closed

Use the wizard endpoint as an onboarding tool for SDKs #26

bruno-garcia opened this issue Jun 24, 2022 · 3 comments
Labels
enhancement New feature or request product Team: Mobile Platform team-mobile

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Jun 24, 2022

Installing Sentry is often as simple as adding a package and copy pasting a code snippet from Sentry.
In that code snippet, we already include the DSN for the project, so it's ready to go.

That's not exactly the case when the platform requires uploading something to Sentry. For example, native debug symbols, source maps or proguard mapping files. In these cases, besides the DSN, we need 3 things:

  1. Auth token
  2. org slug
  3. project slug

Those need to be given not to the SDK, but to some part of the build pipeline of the app. And the values are not to be made public (auth token in particular), differently than DSN which is public.

Sentry Wizard - https://github.com/getsentry/sentry-wizard

A project in Sentry was built to automate this set up, for React Native. It relies on an endpoint on the server:

Server support was added in this PR:

image

In product, onboarding wizard

The above is not to be configured with the "onboarding wizard in-product, which is maintained in the docs repo and pulled by Sentry when a new builds goes out.

image

Examples

This was done recently in the Unity SDK: getsentry/sentry-unity#780

wizard

The Sentry Wizard repo has a gif in the landing page showing how it works:

Wizard in action

@bruno-garcia
Copy link
Member Author

Another place to add the workflow is the Unreal package: https://github.com/getsentry/sentry-unreal

@mattjohnsonpint
Copy link

Note how the NextJS SDK team has done this https://docs.sentry.io/platforms/javascript/guides/nextjs/#install

@kahest kahest closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product Team: Mobile Platform team-mobile
Projects
Archived in project
Development

No branches or pull requests

3 participants