# How to make Rasa connect to mongoDB

**URL:** <https://forum.rasa.com/t/how-to-make-rasa-connect-to-mongodb/54630>\
**Category:** Rasa Open Source\
**Created:** [August 3, 2022, 11:07am UTC](https://forum.rasa.com/t/how-to-make-rasa-connect-to-mongodb/54630 "2022-08-03T11:07:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan246](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dan246/32/16550_2.png) [@dan246](https://forum.rasa.com/u/dan246)\
**Post date:** [August 3, 2022, 11:07am UTC](https://forum.rasa.com/t/how-to-make-rasa-connect-to-mongodb/54630/1 "2022-08-03T11:07:41Z")

</div>

Hello,

I downloaded mongoDB compass not long ago and saved the conversation data in it.

how can I make Rasa read the data in it?

thanks!

---

<div class="post-metadata">

**Author:** ![LindaA](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/lindaa/32/18445_2.png) [@LindaA](https://forum.rasa.com/u/LindaA)\
**Post date:** [August 4, 2022, 5:05pm UTC](https://forum.rasa.com/t/how-to-make-rasa-connect-to-mongodb/54630/2 "2022-08-04T17:05:30Z")

</div>

Hi @dan246

You can write a custom action which queries the database.

---

<div class="post-metadata">

**Author:** ![dan246](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dan246/32/16550_2.png) [@dan246](https://forum.rasa.com/u/dan246)\
**Post date:** [August 15, 2022, 1:05pm UTC](https://forum.rasa.com/t/how-to-make-rasa-connect-to-mongodb/54630/3 "2022-08-15T13:05:41Z")

</div>

OK I will try, thanks!
