diff --git a/docs/product/ai-in-sentry/ai-privacy-and-security/index.mdx b/docs/product/ai-in-sentry/ai-privacy-and-security/index.mdx index 721ca2568603f..8626c7f27842e 100644 --- a/docs/product/ai-in-sentry/ai-privacy-and-security/index.mdx +++ b/docs/product/ai-in-sentry/ai-privacy-and-security/index.mdx @@ -1,6 +1,6 @@ --- title: AI Privacy and Security -sidebar_order: 30 +sidebar_order: 40 description: "Learn about how AI features in Sentry handle your data securely and protect your privacy." --- diff --git a/docs/product/ai-in-sentry/index.mdx b/docs/product/ai-in-sentry/index.mdx index 7b327d367fd40..5a082523742e4 100644 --- a/docs/product/ai-in-sentry/index.mdx +++ b/docs/product/ai-in-sentry/index.mdx @@ -15,10 +15,14 @@ Seer is Sentry's AI debugging agent that helps resolve errors and performance is - **[Issue Fix](/product/ai-in-sentry/seer/issue-fix/)**: Automated root cause analysis and suggested code fixes, for errors and performance issues. - **Issue Scan**: Scans issues as they are ingested in Sentry to determine an actionability score and run Seer's issue fix on them automatically. -## Issue Summary +### Issue Summary **Issue summary** provides a quick overview of an issue by highlighting key insights taken from event and issue-level metadata. You'll see a quick overview of what's going wrong, a potential cause, and if relevant, insights from trace-connected issues. +### [Sentry Prevent AI](/product/ai-in-sentry/sentry-prevent-ai/) + +Sentry Prevent AI is a generative AI assistant developed by Sentry, available in GitHub. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests. + ## Privacy and security Sentry includes strong guarantees for privacy and security of your data. At a glance: @@ -26,7 +30,7 @@ Sentry includes strong guarantees for privacy and security of your data. At a gl - Sentry does not train generative AI models using your data by default and without your permission. - AI-generated output is shown only to you and other authorized users in your account. -You can learn more about our data privacy practices [in the security and legal docs](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features). +You can get more details at [AI Privacy and Security](/product/ai-in-sentry/ai-privacy-and-security/). To learn more about all our data privacy practices go to [the security and legal docs](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features). ## Disabling Generative AI Features diff --git a/docs/product/ai-in-sentry/seer/index.mdx b/docs/product/ai-in-sentry/seer/index.mdx index fad131e7d7aa6..09419fd926e8d 100644 --- a/docs/product/ai-in-sentry/seer/index.mdx +++ b/docs/product/ai-in-sentry/seer/index.mdx @@ -1,7 +1,7 @@ --- title: Seer description: "Learn about Seer, Sentry's AI agent, and managing generative AI features." -sidebar_order: 21 +sidebar_order: 20 --- Seer is Sentry's AI debugging agent. It uses Sentry's rich context (issue details, tracing data, logs, and profiles) to help you troubleshoot and fix errors and performance issues faster. diff --git a/docs/product/ai-in-sentry/sentry-prevent-ai/img/sentry-prevent-review.png b/docs/product/ai-in-sentry/sentry-prevent-ai/img/sentry-prevent-review.png new file mode 100644 index 0000000000000..95430757a4819 Binary files /dev/null and b/docs/product/ai-in-sentry/sentry-prevent-ai/img/sentry-prevent-review.png differ diff --git a/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx b/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx new file mode 100644 index 0000000000000..c703a2f6d00aa --- /dev/null +++ b/docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx @@ -0,0 +1,51 @@ +--- +title: Sentry Prevent AI +sidebar_order: 30 +description: "Get code reviews and new tests for better code and coverage using Sentry Prevent AI." +--- + +Sentry Prevent AI is a generative AI assistant developed by Sentry. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests. + + + Sentry Prevent AI is currently in beta. Beta features are still a work in progress and may have bugs. Please join the [Discord conversation](https://discord.com/channels/621778831602221064/1385700674557444190) to share your feedback. + + +## Getting Started + +To enable Sentry Prevent AI in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry). This allows the assistant to analyze pull requests, provide insights, and write tests. + +If you're not an admin, copy the Sentry Prevent AI GitHub App Integration link and share it with your organization's admin or owner to install it. + +## Sentry Prevent AI Commands + +After installing the app, use these commands in your pull request comments: + +- `@sentry review` - The assistant will review the PR and make suggestions. + +- `@sentry generate-test` - The assistant will generate tests for your PR. + +Once you have added a comment, the assistant will reply, acknowledging the request. For code reviews, you will then see comments added to your PR. For test generation, you will see a comment with a link to the generated tests. + +![Sentry Prevent AI Overview](./img/sentry-prevent-review.png) + +## Frequently Asked Questions + +**What data does Sentry Prevent need access to for the AI system to function, and what information is sent to third-party AI providers?** + +Sentry Prevent requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. The file names, code diffs, and PR descriptions are sent to the AI provider for analysis. + +**Does Sentry Prevent run anywhere outside of GitHub, and does it run in the background?** + +Sentry Prevent AI only runs on GitHub, and only runs when triggered by a comment. + +The [Show Generative AI Features toggle](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures) does not currently apply to Sentry Prevent AI. if you don't want Sentry Prevent AI used on your projects, you can uninstall the [Seer app](https://github.com/apps/seer-by-sentry) at any time. + +You can learn more about AI privacy and security [here](/product/ai-in-sentry/ai-privacy-and-security/). + +## Feedback & Support + +Have feedback? Drop us a line on GitHub Issues or contact Sentry support. + +--- + +For more information, see the [Sentry Prevent documentation](https://docs.sentry.io/). \ No newline at end of file diff --git a/docs/product/sentry-toolbar/index.mdx b/docs/product/sentry-toolbar/index.mdx index 20a0b70c59a94..0e2aa44ab4677 100644 --- a/docs/product/sentry-toolbar/index.mdx +++ b/docs/product/sentry-toolbar/index.mdx @@ -1,6 +1,6 @@ --- title: Sentry Toolbar -sidebar_order: 120 +sidebar_order: 110 description: "Bring critical Sentry insights and tools directly into your web app for easier troubleshooting with the Sentry Toolbar." ---