# How I connect my bot with sqlite?

**URL:** <https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120>\
**Category:** Rasa Open Source\
**Created:** [July 18, 2019, 10:26am UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120 "2019-07-18T10:26:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hajoura](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@hajoura](https://forum.rasa.com/u/hajoura)\
**Post date:** [July 18, 2019, 10:26am UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/1 "2019-07-18T10:26:48Z")

</div>

how let my bot search in sql and give me the informations back?

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [July 21, 2019, 7:40am UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/2 "2019-07-21T07:40:58Z")

</div>

Hi, you can query an sql database from a custom action

---

<div class="post-metadata">

**Author:** ![hajoura](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@hajoura](https://forum.rasa.com/u/hajoura)\
**Post date:** [July 21, 2019, 4:46pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/3 "2019-07-21T16:46:02Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![matheusebrazil](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@matheusebrazil](https://forum.rasa.com/u/matheusebrazil)\
**Post date:** [August 24, 2021, 2:28pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/4 "2021-08-24T14:28:30Z")

</div>

I’m looking for examples bot project to dowload. Any??

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 24, 2021, 4:14pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/5 "2021-08-24T16:14:41Z")

</div>

@matheusebrazil Please see this link, this link have project examples, clone it and happy learning rasa.

> **[rasa/examples at main · RasaHQ/rasa](https://github.com/RasaHQ/rasa/tree/main/examples)**
>
> main/examples

---

<div class="post-metadata">

**Author:** ![matheusebrazil](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@matheusebrazil](https://forum.rasa.com/u/matheusebrazil)\
**Post date:** [August 24, 2021, 8:13pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/6 "2021-08-24T20:13:10Z")

</div>

no examples with database usage.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 24, 2021, 8:22pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/7 "2021-08-24T20:22:02Z")

</div>

@matheusebrazil you just mentioned examples bot project, nothing related to examples bot project with database ?

@matheusebrazil Check this [GitHub - RasaHQ/retail-demo: Rasa's retail starter pack](https://github.com/RasaHQ/retail-demo)

---

<div class="post-metadata">

**Author:** ![matheusebrazil](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@matheusebrazil](https://forum.rasa.com/u/matheusebrazil)\
**Post date:** [August 25, 2021, 5:06pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/8 "2021-08-25T17:06:57Z")

</div>

Thank you. Without containers how i can obtain the the project folder to run im my env conda?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 25, 2021, 6:03pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/9 "2021-08-25T18:03:37Z")

</div>

@matheusebrazil What you mean by container and in which context can you elaborate please.

---

<div class="post-metadata">

**Author:** ![matheusebrazil](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@matheusebrazil](https://forum.rasa.com/u/matheusebrazil)\
**Post date:** [August 26, 2021, 12:58pm UTC](https://forum.rasa.com/t/how-i-connect-my-bot-with-sqlite/13120/10 "2021-08-26T12:58:55Z")

</div>

Using the initial bot, I want acess a sample database to retrieve a information. Example: user input your ID and select query find in database their name and age.
