---
title: "Connect Elixir with its Sentry SDK"
description: "Your Elixir app keeps its Sentry SDK. Xovris gives it your project’s DSN, and every error it sends becomes a Xovris issue with its stack and release."
url: https://xovris.ai/docs/connect/sdk/elixir/
---

# Connect Elixir with its Sentry SDK

Your Elixir app keeps its Sentry SDK. Xovris gives it your project’s DSN, and every error it sends becomes a Xovris issue with its stack and release.

```text
{:sentry, "~> 10.0"} in mix.exs
```

Already installed? Your code stays as it is – the DSN is the one change.

## Start it

Put this in config/runtime.exs:

```elixir
config :sentry,
  dsn: System.get_env("SENTRY_DSN")
```

It reads SENTRY_DSN, so your project’s address never sits in your code.

## Your project’s DSN

Xovris finds the SDK in your mix.exs, creates your project’s address and writes it as SENTRY_DSN in your env file, after showing you the change. It then sends a test event and waits until it is stored. In the project, run:

```sh
npx xovris@latest init
```

## See the first error

Send one from anywhere your app runs:

```elixir
Sentry.capture_exception(%RuntimeError{message: "first error for Xovris"})
```

Capture one error with the SDK’s own call and it appears as a Xovris issue:

- Errors and their stack traces, grouped into issues
- Messages you capture
- The release each event names

## What Xovris has run

Read through the Sentry protocol every Sentry SDK speaks. Xovris has not yet driven this SDK itself, so its own bytes are not in the tests yet.

Every option the SDK has is in its own documentation: https://docs.sentry.io/platforms/elixir/

