Skip to content

Commit e06c7cf

Browse files
Add sentry cli token mention to contributing docs. (#5054)
* Update CONTRIBUTING.md * Update CONTRIBUTING.md
1 parent e06d840 commit e06c7cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ yarn test:watch
4242

4343
## Running the sample
4444

45+
First, set up the Sentry CLI token.
46+
A recommended approach is to create a file named `.env.sentry-build-plugin` in the root folder of each sample and add:
47+
```sh
48+
SENTRY_AUTH_TOKEN=...
49+
```
50+
51+
To obtain the correct token, log in to Sentry.io, then visit: `https://docs.sentry.io/cli/configuration/#to-authenticate-manually` From there, generate a token following the documentation.
52+
4553
Now we can go into the sample project, install and build it:
4654

4755
```sh

0 commit comments

Comments
 (0)