# Organize/outsource content of domain.yml

**URL:** <https://forum.rasa.com/t/organize-outsource-content-of-domain-yml/15527>\
**Category:** Rasa Open Source\
**Created:** [September 11, 2019, 9:16am UTC](https://forum.rasa.com/t/organize-outsource-content-of-domain-yml/15527 "2019-09-11T09:16:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelh](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@michaelh](https://forum.rasa.com/u/michaelh)\
**Post date:** [September 11, 2019, 9:16am UTC](https://forum.rasa.com/t/organize-outsource-content-of-domain-yml/15527/1 "2019-09-11T09:16:25Z")

</div>

Hi guys,

I made a rather small bot as a PoC and I already now have issues to organize my domain file in a way so that it is clear. Currently I have around 2500 lines in the file and I expect it to grow a lot. Is there a way to put the utterances in a database and just query them when they are needed? How do you keep an overview over the domain?

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [September 11, 2019, 12:16pm UTC](https://forum.rasa.com/t/organize-outsource-content-of-domain-yml/15527/2 "2019-09-11T12:16:30Z")

</div>

Hi @michaelh! Currently, it is not possible to store any templates in a database instead of the domain file. The templates need to be in that file. Other than the default structure recommended in the [documentation](https://rasa.com/docs/rasa/core/domains/), we don’t have any best practices.

However, you can also use [Rasa X](https://rasa.com/docs/rasa-x/) to manage your domain file. Rasa X allows you do add, edit, and delete templates, stories, intents, etc. As 2500 lines for a domain file is already quite big, it might help you to keep a better overview.
