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

  1. Open Personal Tokens in Account Settings.
  2. Click Create New Token.
  3. Enter a name for the token.
  4. Open the Project permission menu.
  5. Choose Read access.
  6. Click Create Token.

Interactive demo

Loading 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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Create interactive demos like this one — free, no coding required.

Start for free →