# Spring boot multi database per tenant

**URL:** <https://forum.flowable.org/t/spring-boot-multi-database-per-tenant/6260>\
**Category:** Flowable Application\
**Created:** [June 22, 2020, 12:21pm UTC](https://forum.flowable.org/t/spring-boot-multi-database-per-tenant/6260 "2020-06-22T12:21:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakra](https://avatars.discourse-cdn.com/v4/letter/c/db5fbb/32.png) [@chakra](https://forum.flowable.org/u/chakra)\
**Post date:** [June 22, 2020, 12:21pm UTC](https://forum.flowable.org/t/spring-boot-multi-database-per-tenant/6260/1 "2020-06-22T12:21:08Z")

</div>

Hi All,

Is there any good example for spring boot tenant based database setup.

The auto configuration is not allowing to set up multi tenancy in spring boot.

Kind regards  
Chakra.v

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.flowable.org/u/Robinyo)\
**Post date:** [June 23, 2020, 12:17am UTC](https://forum.flowable.org/t/spring-boot-multi-database-per-tenant/6260/2 "2020-06-23T00:17:06Z")

</div>

See:

- [Multi-tenancy in Flowable](https://blog.flowable.org/2018/09/11/multitenancy-in-flowable/)
- [Spring Boot integration with a differnet database](https://forum.flowable.org/t/spring-boot-integration-with-a-differnet-database/5993/2)

---

<div class="post-metadata">

**Author:** ![chakra](https://avatars.discourse-cdn.com/v4/letter/c/db5fbb/32.png) [@chakra](https://forum.flowable.org/u/chakra)\
**Post date:** [June 23, 2020, 5:02am UTC](https://forum.flowable.org/t/spring-boot-multi-database-per-tenant/6260/3 "2020-06-23T05:02:00Z")

</div>

Hi robinyo,

Thanks for your email.

My scenario is to create tenant based database.So each tenant having its own database.

Is it possible in spring boot app?

Kind Regards  
Chakra.v
