# Store All Rasa things (intent, reponses, etc) into Database

**URL:** <https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696>\
**Category:** Rasa Open Source\
**Created:** [December 29, 2022, 6:12am UTC](https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696 "2022-12-29T06:12:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![1DevOps2](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/1devops2/32/22041_2.png) [@1DevOps2](https://forum.rasa.com/u/1DevOps2)\
**Post date:** [December 29, 2022, 6:12am UTC](https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696/1 "2022-12-29T06:12:43Z")

</div>

Hey I am using Dockerized Rasa 3.4.0. I am able to store User/Bot conversation using Tracker. Here is my endpoints.yml

```auto
 tracker_store:
  type: SQL
  dialect: "postgresql" 
  url: "postgres"
  db: "rasa"  
  username: "postgres" 
  password: "postgres" 

```

**UseCase:**

I used the Sql\_Tracker. i am only able store the events into the database. Now i am trying to store all intents, responses, actions, and events into the database.

- when user says: “HI” intent: greet

the bot must fetch the corresponding response (utter\_greet) intent “greet” from db.

- bot: “Hi How are you?” action: utter\_greet

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [December 30, 2022, 1:42am UTC](https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696/2 "2022-12-30T01:42:48Z")

</div>

The tracker events already include the intents, responses and actions so you don’t need to do anything additional. You can see the list of events documented [here](https://rasa.com/docs/action-server/events/).

---

<div class="post-metadata">

**Author:** ![1DevOps2](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/1devops2/32/22041_2.png) [@1DevOps2](https://forum.rasa.com/u/1DevOps2)\
**Post date:** [December 30, 2022, 6:08am UTC](https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696/3 "2022-12-30T06:08:53Z")

</div>

Hey thanks, I am not using any custom actions. So how can i implement these JSON events? is there any tutorial?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [December 30, 2022, 5:03pm UTC](https://forum.rasa.com/t/store-all-rasa-things-intent-reponses-etc-into-database/56696/4 "2022-12-30T17:03:48Z")

</div>

You don’t have to do anything and don’t need any custom actions. The tracker store is an integral part of Rasa that is automatically updated. You can read the tracker store in whichever database you have chosen to store it.

You can also configure a RabbitMQ or Kafka [event broker](https://rasa.com/docs/rasa/event-brokers/) and read the events from the broker as they are written to the tracker store.
