> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/product-guides/codescan/codescan-faqs/general/difference-b-w-codescan-self-hosted-and-codescan-cloud.md).

# Difference b/w CodeScan Self-Hosted and CodeScan Cloud

Most of the differences between CodeScan Cloud and Self Hosted lie in the integration types and scanning options available.

<table data-full-width="false"><thead><tr><th>Feature</th><th>CodeScan Self-Hosted</th><th>CodeScan Cloud</th></tr></thead><tbody><tr><td><strong>Requirements</strong></td><td>Hosted SonarQube™ server</td><td>None</td></tr><tr><td><strong>Branch Analysis</strong></td><td>Requires SonarQube™ Developer edition</td><td>Yes</td></tr><tr><td><strong>Reporting</strong></td><td>Requires SonarQube™ Enterprise edition</td><td>Yes</td></tr><tr><td><strong>GitHub Integration</strong></td><td>Requires ARM/ Salesforce CLI and other CI tools</td><td>Yes</td></tr><tr><td><strong>Bitbucket Integration</strong></td><td>Requires ARM/ Salesforce CLI and other CI tools</td><td>Yes</td></tr><tr><td><strong>Salesforce Integration</strong></td><td>Requires ARM/ Salesforce CLI and other CI tools</td><td>Yes</td></tr><tr><td><strong>Generic Git Integration</strong></td><td>Requires ARM/ Salesforce CLI and other CI tools</td><td>Yes</td></tr><tr><td><strong>480+ Included Rules for Salesforce</strong></td><td>Yes</td><td>Yes</td></tr><tr><td><strong>Custom Rules</strong></td><td>Yes</td><td>Yes</td></tr><tr><td><strong>VS Code/IntelliJ Plugin</strong></td><td>Yes</td><td>Yes</td></tr></tbody></table>

On CodeScan Cloud, all scanning are done from the GUI. The tool integrates with your version control/Salesforce orgs to pull the metadata and scan it on our server.

On Self-hosted, the metadata collection and scanning are completed by an external scanner and pushed to the SonarQube™ dashboard. This can be accomplished with **AutoRABIT's ARM**, **CodeScan’s Salesforce CLI** plugin or **SonarQube™’s own SonarScanner**.

Your edition of SonarQube™ also limits the features. SonarQube™ provides a free and open-source version and multiple tiers of paid versions. Please ensure that the version you choose to use has the features you need.

Platform API endpoints are very similar but are also subject to the version and the edition of SonarQube™ you are using.

{% hint style="info" %}
**Note:** SonarQube™ documentation can be found at [https://docs.sonarqube.org](https://docs.sonarqube.org/) and has information on current integrations and analysis options with a self-hosted installation.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledgebase.autorabit.com/product-guides/codescan/codescan-faqs/general/difference-b-w-codescan-self-hosted-and-codescan-cloud.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
