How to find your DSN in Sentry

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

Quick answer

To find your DSN in Sentry, open Settings, then Projects, and select your project. In the project's settings sidebar, open Client Keys (DSN) under SDK Setup. The DSN field shows the full address your SDK uses to send events to that project, ready to copy into your configuration.

Steps at a glance

  1. Open Settings and go to Projects.
  2. Click your project name in the list.
  3. Open Client Keys (DSN) under SDK Setup.
  4. Find the DSN field on the Client Keys page.
  5. Copy the DSN into your SDK configuration.

Interactive demo

Loading demo…

Summary

A DSN is the address your Sentry SDK uses to send events to a specific project. Each project has its own, and it lives on the Client Keys page. Finding it quickly saves you from guessing or reusing the wrong project's key.

Step-by-step guide

  1. Step 1

    Open your project

    Go to Settings and open Projects in the Organization section. Click the name of the project you are instrumenting, such as javascript, to open its project settings.

  2. Step 2

    Open Client Keys (DSN)

    In the project settings sidebar, find the SDK Setup group and click Client Keys (DSN). This page lists the keys for the project.

  3. Step 3

    Copy your DSN

    Under the Default key, find the DSN field. It holds the full address that tells the SDK where to send events. Click into it, copy the value, and paste it into your SDK configuration.

Why this matters

You have just added the Sentry SDK to an app and it asks for a DSN before it will report anything. Knowing where the key lives lets you paste it in, send your first event, and confirm errors reach the right project.

Frequently asked questions

  • Does every project have its own DSN?

    Yes. The Client Keys (DSN) page belongs to a single project, so open the project you want before copying the value.

  • What does the DSN do?

    Sentry describes it on the page as telling the SDK where to send the events to.

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

Start for free →