# Sqlite connection with rasa

**URL:** <https://forum.rasa.com/t/sqlite-connection-with-rasa/14219>\
**Category:** Rasa Open Source\
**Created:** [August 12, 2019, 7:35am UTC](https://forum.rasa.com/t/sqlite-connection-with-rasa/14219 "2019-08-12T07:35:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jithustark](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jithustark](https://forum.rasa.com/u/jithustark)\
**Post date:** [August 12, 2019, 7:35am UTC](https://forum.rasa.com/t/sqlite-connection-with-rasa/14219/1 "2019-08-12T07:35:25Z")

</div>

I have created a bot using a csv file as the storage device, But know i want to shift to a database like sqlite or mongodb. Help me how to do and suggest me any code samples.

---

<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:** [August 14, 2019, 8:12am UTC](https://forum.rasa.com/t/sqlite-connection-with-rasa/14219/2 "2019-08-14T08:12:15Z")

</div>

Hi @jithustark, have you checked out the docs for the [SQLTrackerStore](https://rasa.com/docs/rasa/api/tracker-stores/#sqltrackerstore)? It uses sqlite by default. I would say it’s probably the one we would recommend as it’s the one we currently use for Rasa X. However, there is also documentation on how to connect to a [MongoTrackerStore](https://rasa.com/docs/rasa/api/tracker-stores/#mongotrackerstore) as well.
