# Is it possible use MongoDB in UE4?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 21, 2015, 12:43pm UTC](https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925 "2015-09-21T12:43:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_729f2b44](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_729f2b44](https://forums.unrealengine.com/u/anonymous_user_729f2b44)\
**Post date:** [September 21, 2015, 12:43pm UTC](https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925/1 "2015-09-21T12:43:49Z")

</div>

Is it possible use MongoDB in UE4?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [September 21, 2015, 1:00pm UTC](https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925/2 "2015-09-21T13:00:43Z")

</div>

Yes, as long as you can find C++ library for that (well practically you can write your own implementation, so technically you can do everything, it’s just matter of work effort)

But problem with external libraries in UE4 is that, UE4 use it’s own standard library. Which means you either will need to convert types all the time (except some primitives), all create a wrapper functions (in UObject classes?) which will do dirty work for you.

Here you have tutorial how to include library to module:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

You might consider implementing MongoDB as a plug-in first

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_729f2b44](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_729f2b44](https://forums.unrealengine.com/u/anonymous_user_729f2b44)\
**Post date:** [September 21, 2015, 1:17pm UTC](https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925/3 "2015-09-21T13:17:47Z")

</div>

Thanks for advice

---

<div class="post-metadata">

**Author:** ![rolle817](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rolle817](https://forums.unrealengine.com/u/rolle817)\
**Post date:** [May 3, 2019, 2:04am UTC](https://forums.unrealengine.com/t/is-it-possible-use-mongodb-in-ue4/332925/4 "2019-05-03T02:04:14Z")

</div>

Yes and it’s easy to do so with Nodejs, and [socket.io](http://socket.io) which is also available as a plug-in with ue4.
