# How to load rasa (nlu.md) (strories.md) and domain.yml from mongo db

**URL:** <https://forum.rasa.com/t/how-to-load-rasa-nlu-md-strories-md-and-domain-yml-from-mongo-db/17403>\
**Category:** Rasa Open Source\
**Created:** [September 27, 2019, 10:02am UTC](https://forum.rasa.com/t/how-to-load-rasa-nlu-md-strories-md-and-domain-yml-from-mongo-db/17403 "2019-09-27T10:02:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlcode-jeevan](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@mlcode-jeevan](https://forum.rasa.com/u/mlcode-jeevan)\
**Post date:** [September 27, 2019, 10:02am UTC](https://forum.rasa.com/t/how-to-load-rasa-nlu-md-strories-md-and-domain-yml-from-mongo-db/17403/1 "2019-09-27T10:02:35Z")

</div>

hi,

i saved all my stories in mongo db , i want to fetch it and train my model ,

i did fetched the data and stored it in a variable but whenever i given variable to data to train , it throwing errors ,

help me how to provide train rasa nlu with api

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [October 1, 2019, 11:08am UTC](https://forum.rasa.com/t/how-to-load-rasa-nlu-md-strories-md-and-domain-yml-from-mongo-db/17403/2 "2019-10-01T11:08:26Z")

</div>

Why do you want to store your stories in a mongo db? You’ll probably have to load it in a custom manner: [Customize how Rasa imports training data](https://blog.rasa.com/customizing-training-data-importing/)
