Setting up Sonar Vortex

20 minutes to complete

Overview

In this course, you'll set up Sonar Vortex for Claude Code using the SonarQube CLI, then connect it to SonarQube Cloud. This allows you to pull in your project's architecture and coding guidelines before generating code and verify that your code passes SonarQube analysis before you commit it.

Learning objectives

After completing this course, you’ll be able to:

  • Explain the role Sonar Vortex plays in the Agent Centric Development Cycle (AC/DC).
  • Distinguish between the context augmentation and algorithmic analysis capabilities of Vortex.
  • Install and authenticate the SonarQube CLI.
  • Configure Vortex for Claude Code using the SonarQube CLI.
  • Confirm Vortex is working in a Claude Code session.

Key topics

  • Sonar Vortex
  • Agent Centric Development Cycle (AC/DC)
  • Context augmentation
  • Algorithmic analysis
  • SonarQube CLI

Target audience

  • Developers
  • DevOps engineers
  • Engineering leaders

Prerequisites

  • SonarQube Cloud Team plan or Enterprise plan
  • Sonar Agent Essentials add-on
  • Claude Code installed on your machine
  • A project connected to SonarQube Cloud and already analyzed by your CI pipeline on a long-lived branch
  • Your project's project key, available in SonarQube Cloud project settings