> For the complete documentation index, see [llms.txt](https://mifos.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mifos.gitbook.io/docs/payment-hub-ee/overview/installation-instructions/configuration-instructions/how-to-setup-the-tenants.md).

# 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
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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mifos.gitbook.io/docs/payment-hub-ee/overview/installation-instructions/configuration-instructions/how-to-setup-the-tenants.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
