How to create an auth token in Sentry
Create a personal auth token in Sentry with read-only project access: open Personal Tokens, name the token, set the Project permission, then create it.

Quick answer
Open Personal Tokens under Developer Settings in your Account Settings and click Create New Token. Enter a name, set the permissions the token needs, such as Read for Project, and click Create Token. Keep the permissions narrow so the token can only do what your script or CI job requires.
Steps at a glance
- Open Personal Tokens in Account Settings.
- Click Create New Token.
- Enter a name for the token.
- Open the Project permission menu.
- Choose Read access.
- Click Create Token.
Interactive demo
Summary
Personal tokens let scripts and CI jobs call the Sentry API on your behalf. Each token has permissions you choose when you create it, so you can limit it to exactly what the job needs.
Step-by-step guide
Step 1
Click Create New Token
Under Developer Settings in Account Settings, open Personal Tokens. Click Create New Token at the top right of the page. The list is empty if you have not made any tokens yet.
Step 2
Name the token
On the Create New Personal Token page, click the Name field and enter a name that tells you what the token is for, such as Acme Tasks CI.
Step 3
Open the Project permission
Under Permissions, every area starts at No Access. Click the Project menu, which covers projects, tags, debug files, and feedback.
Step 4
Choose Read access
The menu offers No Access, Read, Read & Write, and Admin. Pick Read so the token can only view project data. The Permissions Preview then lists project:read.
Step 5
Click Create Token
Check the Permissions Preview, then click Create Token. Sentry creates the token and shows it to you once, so copy it somewhere safe right away.
Why this matters
You are wiring a CI job or script to talk to Sentry and do not want to hand it your full account access. A named token with Read-only Project permission gives it just enough access, and you can identify it later.
Frequently asked questions
Which permission level should I pick?
The menu offers No Access, Read, Read & Write, and Admin. Choose the lowest level that covers what your script does, such as Read for Project.
Where can I see what scopes the token has?
The Permissions Preview on the form lists the scopes your token will have, for example project:read.
Related guides
Continue with more step-by-step guides for getting work done.
How to find your DSN in SentryFind your Sentry DSN in three clicks: open your project, go to Client Keys (DSN) under SDK Setup, and copy the value into your SDK config.
How to add a dashboard widget in SentryLearn how to add a dashboard widget in Sentry: open a custom dashboard, build an Errors line chart, name it, and see it appear on the dashboard.
How to add inbound filters in SentryLearn how to add inbound filters in Sentry: open project settings, toggle built-in data filters, block an IP address, and find custom filters.
How to create an issue alert in SentryCreate a Sentry issue alert for your javascript project that sends a notification when a new issue is created, from picking the project to naming it.
How to enable spike protection in SentryTurn on spike protection in Sentry so a sudden burst of events cannot use up your quota. Open Settings, pick Spike Protection and switch the project toggle on.
How to explore traces in SentryLearn how to explore traces in Sentry: change the aggregate to p75, group spans by span.op, and filter to pageload spans to see slow operations.
Create interactive demos like this one — free, no coding required.
Start for free →