> For the complete documentation index, see [llms.txt](https://docs.linuxfoundation.org/lfx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linuxfoundation.org/lfx/community-management/integrations/gerrit.md).

# Gerrit

Connect Gerrit to sync documentation activities from your repos.

{% hint style="info" %}
If the author of the change-set is blank or deleted, then change-set activities will not be tracked in **CM** and it will not be shown on **Insights**.
{% endhint %}

<figure><img src="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-af8f8e25077fd85f2eb68b9a95e298316c9673f5%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

1. On the **INTEGRATIONS** page, you will see all the connectors. Scroll down and check the **Gerrit** connector.
2. Click **Connect**.

   <figure><img src="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-92fa95ab5fabdeb8ee4a462de65a4da5b8b44ee5%2FScreenshot%202024-01-17%20at%2012.52.26%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>
3. On the pop-up window, enter the following details to connect the remote URL to the Gerrit repository that you want to connect to:

* Enter your Organization's URL
* Enter your project name
* Enter your Username
* Enter project key

4. Click **Connect**.

   <figure><img src="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-993d2c352be291a5fcf78a2213d2cf71e64876e4%2FScreenshot%202024-01-17%20at%2012.56.46%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>
5. Verify Gerrit is connected

<figure><img src="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-2b01ac942c0a3c79c50921c5c29ee4c7dc5e38e4%2FScreenshot%202024-01-17%20at%2012.52.56%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

Activities Collected:

* Change sets and change set comments
* Patch sets and patch set comments


---

# 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://docs.linuxfoundation.org/lfx/community-management/integrations/gerrit.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.
