Overview
In this course, you'll learn how to set up SonarQube Remediation Agent in SonarQube Cloud so it can generate, verify, and deliver fix suggestions as pull requests. You'll connect your DevOps platform, add an LLM provider key, enable remediation modes, and verify your setup.
Learning objectives
After completing this course, you’ll be able to:
- Explain how Remediation Agent generates and verifies fix suggestions before delivering them for review.
- Connect Remediation Agent to GitHub or Azure DevOps.
- Control which repositories Remediation Agent can access.
- Add an OpenAI or Anthropic LLM provider key for Remediation Agent.
- Select an LLM provider key for Remediation Agent.
- Enable Remediation Agent for selected SonarQube Cloud projects.
- Configure automated backlog, manual backlog, and pull request remediation modes for your team's workflow.
- Verify your Remediation Agent setup by reviewing an agent-created pull request.
Key topics
- Remediation Agent features
- LLM provider keys
- DevOps platform connection
- Remediation modes
- Pull request review
- Troubleshooting
- Best practices
Target audience
- Administrators
- DevOps engineers
- Engineering leaders
Prerequisites
- A SonarQube Cloud Team plan or Enterprise plan with a Sonar Agent Essentials subscription
- A SonarQube Cloud project that is bound to GitHub or Azure DevOps with automatic analysis or CI-based analysis enabled
- Administrator permissions for your SonarQube Cloud organization
- An OpenAI or Anthropic account with an API key
- GitHub: A GitHub administrator available to install and authorize the SonarQube Agent GitHub app for the bound organization
- Azure DevOps: An Azure DevOps organization already bound into SonarQube Cloud with a valid personal access token