> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/vortex-prerequisites.md).

# Prerequisites

The SonarQube Cloud and SonarQube Server prerequisites to meet before you install and use Sonar Vortex.

Before you start, make sure you meet the following prerequisites. Vortex works with SonarQube Cloud and with SonarQube Server, and some prerequisites depend on which one you connect to.

## Subscription

Vortex requires a subscription on the connection you use.

* **SonarQube Cloud**: Vortex is part of Sonar Agent Essentials, which requires an Enterprise plan or an annual Team plan. Your organization administrator sets this up, see [Sonar Vortex](/sonarqube-cloud/administering-sonarcloud/ai-features/sonar-vortex.md) in the SonarQube Cloud documentation.
* **SonarQube Server**: Vortex requires a separate subscription alongside SonarQube Server 2026.5 or later, Enterprise or Data Center edition. Your instance administrator licenses it, deploys the Vortex analysis component, and enables Vortex, see [Sonar Vortex](https://docs.sonarsource.com/sonarqube-server/instance-administration/ai-features/sonar-vortex) in the SonarQube Server documentation.

> **Note:** If Vortex is not available on your connection, the SonarQube CLI tells you so when you run `sonar integrate` and skips the Vortex install. Ask your administrator to set it up, then run `sonar integrate` again.

## Project settings

Make sure your project:

* is analyzed in your CI pipeline on a long-lived branch. Vortex analysis restores the analyzer context collected during that analysis, and the context is stored per project and branch, so a project or branch that has never been analyzed has no context to restore.
* uses Architecture, for the best guidance of your agent: [Architecture](broken://spaces/B4UT2GNiZKjtxFtcFAL7/pages/Ok1IIEK4rYPNNkYCapUo) on SonarQube Cloud, or [Architecture](https://docs.sonarsource.com/sonarqube-server/architecture) on SonarQube Server

You also need your project key, which you pass to the `sonar integrate` command when you install Vortex through the SonarQube CLI. You can find it in your project's settings.

## Connection details

Which values you need depends on the product you connect to:

|              | SonarQube Cloud                                                                        | SonarQube Server                                                           |
| ------------ | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| URL          | `https://sonarcloud.io` for the EU region, or `https://sonarqube.us` for the US region | The base URL of your instance, for example `https://sonarqube.example.com` |
| Organization | Your organization key                                                                  | Does not apply. SonarQube Server has no organizations                      |
| Token        | A user token you generate yourself                                                     | A user token you generate yourself, under **My Account** > **Security**    |

> **Note:** Use a *user token*. Project tokens, global tokens, and scoped organization tokens do not work with Vortex.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/vortex-prerequisites.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
