# How do I connect the latest chat message UI thunkable 2022 to the real time database in firebase ?

**URL:** <https://community.thunkable.com/t/how-do-i-connect-the-latest-chat-message-ui-thunkable-2022-to-the-real-time-database-in-firebase/1677454>\
**Category:** Questions about Thunkable X\
**Created:** [January 18, 2022, 3:24pm UTC](https://community.thunkable.com/t/how-do-i-connect-the-latest-chat-message-ui-thunkable-2022-to-the-real-time-database-in-firebase/1677454 "2022-01-18T15:24:28Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 20, 2022, 7:27am UTC](https://community.thunkable.com/t/how-do-i-connect-the-latest-chat-message-ui-thunkable-2022-to-the-real-time-database-in-firebase/1677454/8 "2022-01-20T07:27:09Z")

</div>

You can see some examples here:

> [@Replace GET or SAVE Blocks with cloud variables](https://community.thunkable.com/t/replace-get-or-save-blocks-with-cloud-variables/975738):
>
> I just discovered a VERY simple and fast way to get and set Firebase data without using the GET or SAVE blocks (which has all sorts of asynchronous issues). The 2 any button click blocks below return the same data. Just put the GET block KEY variable into the CLOUD variable name and PRESTO. You have a synchronous call to firebase! Similarly, you can set data anywhere in the JSON Hierarchy using cloud variables. Both of the examples below update Firebase, but the CLOUD based solution…

---

_[View the full topic](https://community.thunkable.com/t/how-do-i-connect-the-latest-chat-message-ui-thunkable-2022-to-the-real-time-database-in-firebase/1677454)._
