Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/organization/integrations/source-code-mgmt/github/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_order: 1
description: "Learn more about Sentry's GitHub integration and how it can track and resolve bugs faster by using data from your GitHub commits, and streamline your triaging process by creating a GitHub issue directly from Sentry."
---

There are two types of GitHub integrations, so make sure you're choosing the correct one:
There are three types of GitHub integrations, so make sure you're choosing the correct one:
- [GitHub](#installing-github) - For individual GitHub users/organizations (as well as most GitHub Enterprise Cloud customers), so long as they are hosted on `github.com`. Follow the '[Installing GitHub](#installing-github)' instructions, **Please begin the installation from Sentry**.

- [GitHub Enterprise](#installing-github-enterprise) - For GitHub Enterprise instances that **cannot be accessed from `github.com`**. Usually these will have a custom domain, for example:
Expand All @@ -13,6 +13,7 @@ There are two types of GitHub integrations, so make sure you're choosing the cor

For these accounts, follow the '[Installing GitHub Enterprise](#installing-github-enterprise)' instructions.

- [Seer GitHub App](#installing-the-seer-github-app) - For [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes and for [AI Code Review](/product/ai-in-sentry/ai-code-review) to analyze your Pull Requests.

### Check Your Domain

Expand Down Expand Up @@ -216,6 +217,16 @@ Occasionally, Sentry will request additional permissions to your GitHub account

GitHub Enterprise should now be enabled for all projects under your Sentry organization.

## Installing the Seer GitHub App

The [Seer GitHub App](https://github.com/apps/seer-by-sentry) is used by [Seer](/product/ai-in-sentry/seer) to make Pull Requests for Issue Fixes and for [AI Code Review](/product/ai-in-sentry/ai-code-review) to analyze your Pull Requests.

To install the Seer GitHub App, simply follow the installation steps to install the GitHub App for the specified organization/repositories you need. You can find the Seer GitHub App [here](https://github.com/apps/seer-by-sentry).

- For [Issue Fix](/product/ai-in-sentry/seer#issue-fix), you will now be able to create pull requests in the installed locations.

- For [AI Code Review](/product/ai-in-sentry/ai-code-review), continue following the instructions in the [Sentry Prevent AI](/product/ai-in-sentry/sentry-prevent-ai#getting-started) documentation.

## Configure

Use GitHub to [track commits](#commit-tracking), identify [suspect commits](#suspect-commits-and-suggested-assignees), [resolve via commit or PR](#resolve-via-commit-or-pull-request) and [manage issues](#issue-management).
Expand Down
4 changes: 2 additions & 2 deletions docs/product/ai-in-sentry/ai-code-review/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ AI Code Review helps you generate new tests for uncovered code and reviews your

## Getting Started

To enable AI Code Review in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry GitHub app](https://github.com/apps/seer-by-sentry). This allows the assistant to analyze pull requests, provide insights, and write tests. **You must also have the [Sentry Github integration](/organization/integrations/source-code-mgmt/github/) enabled.**
To enable AI Code Review in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry GitHub app](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app). This allows the assistant to analyze pull requests, provide insights, and write tests. **You must also have the [Sentry Github integration](/organization/integrations/source-code-mgmt/github/) enabled.**

1. Install the [Seer by Sentry GitHub app](https://github.com/apps/seer-by-sentry) in your GitHub organization or specific repositories.
1. Install the [Seer by Sentry GitHub app](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app) in your GitHub organization or specific repositories.
2. Enable these required settings in your Sentry [organization settings](https://sentry.io/orgredirect/settings/:orgslug/):
- `Show Generative AI Features`
- `Enable AI Code Review`
Expand Down
5 changes: 3 additions & 2 deletions docs/product/ai-in-sentry/seer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,16 @@ Seer is a powerful debugging agent, with access to a wide variety of data source
To start using Seer's capabilities in your Sentry-enabled projects, follow these steps:

1. **Enable generative AI features**: Make sure "Show Generative AI Features" is enabled in your [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures)
2. **Set up GitHub Integration**: For issue fix capabilities, [connect your GitHub repositories](/organization/integrations/source-code-mgmt/github/)
2. **Set up GitHub Integration**: For issue fix capabilities, [connect your GitHub repositories](/organization/integrations/source-code-mgmt/github/).
- *Optional:* To make Pull Requests with Seer, [configure the Seer GitHub App](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app).
3. **Configure Settings**: Customize Seer's behavior in your project settings under `Seer Automation`. Seer is enabled by default using these settings:
- **Automatic issue scans**: Enabled
- **Automatic issue fixes**: Enabled for highly actionable issues and above

> **Note**: You can monitor your Seer usage in the [Stats & Usage tab](https://sentry.io/settings/stats/) and can learn more about managing your Seer budget [here](/pricing/quotas/manage-seer-budget/).
4. **Start Using**: Look for Seer options in your issue details pages

To start using Seer to for AI code reviews, [configure the Seer GitHub App](/product/ai-in-sentry/ai-code-review/#getting-started).
To start using Seer to for AI code reviews, [configure the Seer GitHub App](/organization/integrations/source-code-mgmt/github/#installing-the-seer-github-app).

## Privacy and security

Expand Down
3 changes: 2 additions & 1 deletion docs/product/ai-in-sentry/seer/issue-fix/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ Seer already automatically parses rules files from [Cursor](https://docs.cursor.

## Best Practices

- Setup the GitHub integration, allowing Seer access to your codebase and enabling it to generate code fixes. Enabling the GitHub integration will help Seer to provide better results. See the [Sentry GitHub integration](/organization/integrations/source-code-mgmt/github/) to learn how
- Setup the GitHub integration, allowing Seer access to your codebase and enabling it to generate code fixes. Enabling the GitHub integration will help Seer to provide better results. See the [Sentry GitHub integration](/organization/integrations/source-code-mgmt/github/) to learn how.
- Setup the Seer GitHub integration, so Seer can create PRs for you.
- The more Sentry context you have, the better equipped Seer will be to help: consider instrumenting your application to collect traces, profiles and logs, and send them to Sentry.
- For JavaScript / TypeScript projects that are minified in production, upload [source maps](/platforms/javascript/sourcemaps/) to Sentry for the best results

Expand Down
Loading