# Flowable + MongoDB with IDM Engine

**URL:** <https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093>\
**Category:** Flowable Engine\
**Created:** [July 6, 2021, 5:19am UTC](https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093 "2021-07-06T05:19:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkats](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@venkats](https://forum.flowable.org/u/venkats)\
**Post date:** [July 6, 2021, 5:19am UTC](https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093/1 "2021-07-06T05:19:25Z")

</div>

Hi,  
How can I use IDM engine with MongoDB datasource along with Flowable Engine.  
I enabled the IDM engine in the below code and getting the following error: _ **A datasource is required for initializing the IDM engine** _

ProcessEngine processEngine = new MongoDbProcessEngineConfiguration()  
.setServerAddresses(Arrays.asList(new ServerAddress(“localhost”, 27017)))  
**.setDisableIdmEngine(false)**  
.buildProcessEngine();

Please let me know how to set MongoDB datasource in order to use IDM Engine

Thanks in advance,  
Venkat PS

---

<div class="post-metadata">

**Author:** ![mykeul](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mykeul](https://forum.flowable.org/u/mykeul)\
**Post date:** [July 7, 2021, 8:55am UTC](https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093/2 "2021-07-07T08:55:55Z")

</div>

AFAIK MongoDB support for datasource is at an alpha stage:

> **[flowable/flowable-mongodb](https://github.com/flowable/flowable-mongodb)**
>
> Contribute to flowable/flowable-mongodb development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![venkats](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@venkats](https://forum.flowable.org/u/venkats)\
**Post date:** [July 8, 2021, 4:54am UTC](https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093/3 "2021-07-08T04:54:35Z")

</div>

Hi mykeul, Yes, this module is working for other services of flowable except for IDM service.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [July 12, 2021, 9:49am UTC](https://forum.flowable.org/t/flowable-mongodb-with-idm-engine/8093/4 "2021-07-12T09:49:56Z")

</div>

That’s currently not yet implemented. The MongoDB integration is a prototype, to prove it’s possible with Flowable. However, so far we haven’t seen a large demand/uptake for it.
