# How to setup the Tenants

* Tenant is multi valued field configured in many services like [Operations-app](https://github.com/openMF/ph-ee-operations-app/blob/c2713f31e563c38ac4ae27bf5d3a8484f4e1257c/src/main/resources/application-bb.yml#L1),[Bxulk Processor](https://github.com/openMF/ph-ee-bulk-processor/blob/9bf984fcf16105081ff53936f72405814ef8ba71/src/main/resources/application.yaml#L67) etc.
* To do a GSMA P2P transfer we need tenant as a primary header and transfer data will be stored to specific tenant hit for that.
* Test for minimal mock fund transfer flow starts with checking the tenant configured as [this](https://github.com/openMF/ph-ee-integration-test/blob/1c601dda293fb37475ba3b1aba326e54625daaf8/src/test/java/resources/mockFlowTest.feature#L4-L17).
* Value for the tenant ID can be anything such as lion, gorilla, rhino etc,but it should be configured in database using mysql script.&#x20;
* Tenant values can be overridden  From values.yaml as under global variable declaration section as given below.

```
global:
  tenants: "gorilla,lion,rhino"
```


---

# 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://mifos.gitbook.io/docs/payment-hub-ee/overview/installation-instructions/configuration-instructions/how-to-setup-the-tenants.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.
