> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SonarQube project measures

> Mount SonarQube project measures on your app.

Follow the [REST mounting guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
Bind the reviewed endpoint with `providerEndpoint` from `@bijectionhq/app-rest`.

Use a sealed bearer token from an account with Browse permission on the selected project. The SonarQube HTTPS origin must be directly reachable. Include its installation context in the path when used.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
export const remote = providerEndpoint(
  "sonarqube.project.measures.observations",
  "https://sonar.example.com",
  "/api/measures/component",
  auth,
  data,
);
```

Pass `remote` as `receivers.provider` and bind the mount under the same `data` label. Call `source.initialize`
with this profile.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "sonarqube.project.measures.observations", limit: 1, selection: "my-project" } }
```

One point read of a project’s lines of code, coverage and duplicated line density, keyed by project key. There is no cursor and an unavailable project leaves the prior record published.

Each response is bounded to One project and 36 KiB. The app commits observations with their
next position. [Source health and controls](https://docs.bijection.com/integrations/native-rest.md#feed-contracts)
report failures and allow recovery.

[Provider API reference](https://docs.sonarsource.com/sonarqube-server/extension-guide/web-api)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.