# 5. (Optional) Install the Default RabbitMQ Middleman for Developers

When installing SitecoreDXG you can choose to install the default RabbitMQ Middleman that is included with the product. If you choose to install the default RabbitMQ Middleman, keep in mind that ***the middleman does not have to be installed on the same machine as the RabbitMQ server, the SitecoreDXG Generation Service or the Sitecore instance. However, it may need to be on the same machine as your CI/CD server, depending on your use-case.***

## Installation Location Freedom

You can install the RabbitMQ Middleman in the location of your choosing.

For example, if you plan to integrate SitecoreDXG into your CI/CD pipeline then you may wish to copy the RabbitMQ middleman to your CI/CD server. If you are using TeamCity, then you may wish to also install the [SitecoreDXG TeamCity Meta-Runner](/sitecoredxg/how-to/cicd/integrating-the-default-teamcity-rabbitmq-meta-runner.md) on your TeamCity server, for a seamless integration between TeamCity and the RabbitMQ middleman.

For more details on how the middleman chould be installed in a custom location and how it can be called from the command-line, see [Using the Default RabbitMQ Middleman and Trigger](/sitecoredxg/getting-started/using-sitecoredxg/using-the-default-rabbitmq-middleman-and-trigger.md).

## Installing the Default RabbitMQ Middleman

1. Download the [`SitecoreDXG-Dev-<version>.<build>.zip`](/sitecoredxg/getting-started/downloads.md) to your machine and extract in a location of your choosing. Note that it does not matter where you store it.
2. In the extracted directory, navigate to `./middlemen` and take note of the `./RabbitMQ` folder. This folder is your middleman's installation directory.
3. Copy the middleman's installation directory to the location of your choosing.&#x20;


---

# Agent Instructions: 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:

```
GET https://sitecoreuml.gitbook.io/sitecoredxg/getting-started/installing-sitecoredxg/advanced-installation/optional-install-the-default-rabbitmq-middleman-for-developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
