--- title: "SonarCloud" slug: "sonarcloud" updated: 2025-03-17T16:31:31Z published: 2025-03-17T16:31:31Z canonical: "docs.databee.buzz/sonarcloud" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # SonarCloud SonarCloud code analysis tool is designed to detect coding issues in 30+ languages, frameworks, and IaC platforms. By integrating directly with your CI pipeline or one of the supported DevOps platforms, your code is checked against an extensive set of rules. More information can be found on the [SonarSource website](https://www.sonarsource.com/products/sonarcloud/). **Integration Method:** API **Tables**: Detection Finding (2004) The integration supports the following type of events. | **Event** | **Description** | | --- | --- | | Issues | Get all the issues in the code of a Project. | | Hotspots | Get the details of a security hotspot in the code. | > [!NOTE] > **Note:** > > SonarQube Cloud is a continuously updated cloud service. As of this document preparation, latest release was on January 21, 2025. ## Prerequisites - The user should have access to login into SonarCloud environment. - The user should have access to DataBee console. ## Configuration Overview 1. Generate an API token on the user console with the required scopes. 2. Add the [SonarCloud data feed](/user-manual/docs/sonarcloud#databee-configuration) integration in the DataBee console with the required API token. | **DataBee Parameter** | **SonarCloud Parameter** | | --- | --- | | Token | Token | ## SonarCloud Configuration Start by creating an API Token for the integration. 1. Log on to SonarCloud Portal using the user account credentials having Admin privileges. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-qbnc7rxj.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 2. Navigate to **Account** > **My Account.** The “API Access” page window will appear. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-2j2kv9ms.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 3. On the “My Account” page, click on **security** and then type any new name for the token and click on **Generate Token.** ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-0e7wfcez.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 4. A new token will be created, and it will appear below. Copy and save the generated personal access token. This will not be available later to be copied. It is used when configuring DataBee. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-nw84t7gs.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data** > **Data Feeds** and click the **Add New Data Feed** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-g8ikg4hl.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 2. Search for the **SonarCloud** and click it as shown below. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-tnioza9w.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 3. Click on the **API Ingest** option for collection method. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-ip35pcmb.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 4. Enter feed contact information and click **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-yyp56axy.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) 5. In the configuration page, confirm the following: ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonarcloud-mar2025-image-9v76fbxx.png?sv=2026-02-06&spr=https&st=2026-10-30T11%3A37%3A02Z&se=2026-10-30T12%3A37%3A02Z&sr=c&sp=r&sig=yoMGIeXihW9ifk0nlEbDm8IsuP9N54%2FsKZAv1vtgja0%3D) - API Base URL: this is the base URL that DataBee will interact with. - Authorization Method: Bearer Token - Token: paste the Token generated earlier in the SonarCloud console. - Event types: preselected for all the events types the integration pulls. 6. Click **Submit.** ## Troubleshooting Tips - Ensure the token is pasted correctly. Since you cannot view the token after the 1st time, re-create the token, paste it on a text editor to ensure no spaces or unexpected characters are included and reconfigure the DataBee feed. - Ensure the SonarCloud scopes/permissions are correct.