# Set Up

##

If you're a user of both Codecov and Sentry, you can enable the Codecov integration with 1 click in your **Organization Settings** page in the Sentry app. You'll be able to see whether you have partial or full test coverage for the line of code that's causing an error, directly in your stack trace in Sentry.

## [Prerequisites](#prerequisites)

There are a few prerequisites that have to be fulfilled in order for Codecov to work in Sentry. You have to have:

* Owner or manager-level permissions in Sentry.io.

* The [GitHub Integration](/organization/integrations/source-code-mgmt/github/) installed in Sentry with [Code Mappings](/organization/integrations/source-code-mgmt/github/#stack-trace-linking) enabled.

  If you have the GitHub integration set up correctly, your stack traces will show an “Open this line in GitHub” prompt that will take you to your app's code.

* A [Codecov](https://about.codecov.io/) account with [Source Code Coverage](https://about.codecov.io/product/feature/source-code-coverage/) enabled.

## [Enable Codecov Insights](#enable-codecov-insights)

Once the prerequisites have been met, you can enable Codecov by going to the **Settings** page in Sentry and toggling “Enable Code Coverage Insights” to on.

[![Codecov in Org Settings](/_next/image/?url=%2Fmdx-images%2Fcodecov-setup-in-ui-ZCVSEA2I.png%231400x351\&w=3840\&q=75)](/mdx-images/codecov-setup-in-ui-ZCVSEA2I.png)

Sentry automatically checks to see if you have your GitHub Org in Codecov every 24 hours. If Codecov hasn't been enabled and we find that you've met all the prerequisites listed above, we'll turn it on for you.
