# RabbitMQ

The best guide for installing RabbitMQ is the official website itself. Please follow the installation guide that fits your environment [here](https://www.rabbitmq.com/download.html).

{% hint style="warning" %}
Remember that RabbitMQ requires that you have also installed [Erlang](https://www.rabbitmq.com/which-erlang.html). Don't worry though, the official website explains everything you need to do
{% endhint %}

### Broker configuration

Set the **BrokerConfiguration** setting in the ***appsettings.json*** files in all web application projects. Following is an example for local RabbitMQ configuration.

```json
  "BrokerConfiguration": {
    "Host": "localhost",
    "Port": 5672,
    "Username": "harmony",
    "Password": "my_super_password",
    "VirtualHost": "/"
  }
```

#### Read next: Configuring the email service provider and a search engine

{% content-ref url="search-engine" %}
[search-engine](https://chsakell.gitbook.io/harmony/configuration/dependencies/search-engine)
{% endcontent-ref %}

{% content-ref url="email-provider" %}
[email-provider](https://chsakell.gitbook.io/harmony/configuration/dependencies/email-provider)
{% endcontent-ref %}

{% content-ref url="../deployment" %}
[deployment](https://chsakell.gitbook.io/harmony/configuration/deployment)
{% endcontent-ref %}


---

# 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://chsakell.gitbook.io/harmony/configuration/dependencies/rabbitmq.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.
