Sentry Integration

# Track Errors to  
Specific Deployments

Automatically create a new Sentry release with every deployment. Link exceptions to the exact code version that caused them.

[Start Free Trial](/signup?cta=Start+Free+Trial)

Auto release tracking

Error-to-deploy linking

Free plan available

Last updated on 22nd February 2026

Error Events

TypeError: Cannot read property

2m ago

app/controllers/users.js:142

Linked to deploy #847

Deploy #847 completed

5m ago

main → production • 6 files changed

## Which Deployment Caused This Error?

When errors appear in production, you waste time guessing which deployment introduced them.

ErrorIn productionWhich deploy caused it?Check git log manuallyCompare timestampsStill guessing...ResolutionHours later...No link between errors and deployments

Without release tracking, every error becomes a detective game — sifting through git logs and deploy history to find the culprit.

## Errors Linked to Deployments Automatically

DeployHQ creates a Sentry release on every deploy. Errors are instantly linked to the code version that caused them.

DeployCode shippedDeployHQCreates SentryReleaseSentryRelease ✓Errors linked to releasesAutomatic!

## How It Works

Connect Sentry to DeployHQ in minutes, then forget about it.

1

 ![Key icon](/assets/icons/lock-48b3d7ebf5f212e8180911da69709706b0e40554862fbd4f7bd4da2edfabfacb.svg)

### Generate API Key

Create an API key in your Sentry account to give DeployHQ access to create releases.

2

 ![Link icon](/assets/icons/link-8a603022ae63ac39632fb80b724b15efe10ee196c06ce0af7d627654a5147eaa.svg)

### Configure Project

Add the API key to your DeployHQ project and set your Sentry organisation and project details.

3

 ![Check icon](/assets/icons/check-a44bf1dbe680e7b7d11c6ba4f27febd17fde07a1f0bab9f93608e0e1d9acee9b.svg)

### Deploy and Track

Every deployment automatically creates a new Sentry release. Errors are linked to the exact version.

## Why Use the Sentry Integration

Find and fix errors faster with automatic release tracking.

 ![Zap icon](/assets/icons/zap-17eaa1be55c76d539c8ab6b4c667d86fc6478529af6fc62d282cf996beda3fe0.svg)

### Automatic Releases

A new Sentry release is created with every deployment. No manual steps required.

 ![Sentry icon](/assets/icons/sentry-9e88d68984de1e3919ff6431077ccb7d183966aeaaea4975801a7c9899bfe5cd.svg)

### Error-to-Deploy Linking

Know exactly which deployment introduced an error. Stop guessing and start fixing.

 ![Shield icon](/assets/icons/shield-check-a41a13fb7948321ec9c27cc6c623578153c9caa1fc75851bcd93afbe7dbe79f1.svg)

### Cloud & Self-Hosted

Works with both Sentry cloud and self-hosted instances. Use whichever setup you prefer.

 ![Check icon](/assets/icons/check-a44bf1dbe680e7b7d11c6ba4f27febd17fde07a1f0bab9f93608e0e1d9acee9b.svg)

### Minutes to Set Up

Just add your Sentry API key and project details. You'll be up and running in under five minutes.

Getting Started

## Link Sentry to your deployments in minutes

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Get Your Sentry API Key

Generate an API key from your Sentry account settings to authorise DeployHQ.

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Add the Integration

Configure the Sentry integration in your DeployHQ project with your organisation and project details.

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Deploy with Confidence

Every deployment creates a release in Sentry, linking errors to the exact code version.

[Read the documentation →](https://www.deployhq.com/support/integrations/sentry)

SENTRY RELEASE TRACKINGdeployv2.4.1 deployed to productionDoneSentry release createderrorTypeError linked to v2.4.1✓ Error traced to exact deployment

## Frequently Asked Questions

### How does Sentry release tracking help identify which deployment caused an error?

DeployHQ automatically creates a new Sentry release with every deployment. When an error occurs in production, Sentry links it to the specific release (code version) that introduced it. This means you can instantly see which deployment caused the error, eliminating the need to manually search through git logs and deployment history.

### What is required to set up the Sentry integration with DeployHQ?

Setting up the integration takes just a few minutes: (1) Generate an API key in your Sentry account settings, (2) Add the API key to your DeployHQ project configuration, (3) Enter your Sentry organisation and project details. Once configured, releases are created automatically with every deployment—no further manual steps required.

### Does the Sentry integration work with self-hosted Sentry instances?

Yes, the DeployHQ Sentry integration works with both Sentry cloud and self-hosted instances. You can use whichever setup you prefer. The integration simply requires a valid API key and your Sentry organisation and project details to establish the connection, regardless of whether your Sentry instance is cloud-based or self-hosted.

## Ready to track errors to deployments?

Connect Sentry to DeployHQ and never guess which deployment caused an error again.

[Start Free Trial](/signup?cta=Start+Free+Trial)

10-day free trial • No setup fees • Cancel anytime

## Explore More Features

Discover all the tools that make DeployHQ the easiest way to deploy your code.

[

### Zero Downtime Deployments
→](/features/zero-downtime-deployments)[

### One-Click Rollback
→](/features/one-click-rollback)[

### Turbo Deployments
→](/features/turbo-deployments)[

### Build Pipelines
→](/features/build-pipelines)[

### Build Cache
→](/features/build-cache)[

### Scheduled Deployments
→](/features/scheduled-deployments)[

### Deployment Availability
→](/features/deployment-availability)[

### Docker Builds
→](/features/docker-builds)[

### Deployment Checks
→](/features/deployment-checks)[

### Deployment Targets
→](/features/deployment-targets)[

### Automatic Deployment
→](/features/automatic-deployments)[

### Deployment Templates
→](/features/deployment-templates)[

### Deploy Behind Firewalls
→](/features/deploy-behind-firewalls)[

### SSH Deployment
→](/features/ssh-deployment)[

### Deployment Zones
→](/features/deployment-zones)[

### Team & Permissions
→](/features/team-permissions)[

### Single Sign-On
→](/features/sso)[

### Custom Actions
→](/features/custom-actions)[

### Server Management
→](/features/server-management)[

### CLI & Agents
→](/agents)[

### Powerful Integrations
→](/features/integrations)

## Get started today for just $9/month

That's unlimited deployments and 3 projects.

[Start your free 10 day trial](/signup?cta=Start+your+free+10+day+trial)
