# Save data in thunkable help

**URL:** <https://community.thunkable.com/t/save-data-in-thunkable-help/2531841>\
**Category:** Questions about Thunkable X\
**Created:** [August 4, 2023, 12:56pm UTC](https://community.thunkable.com/t/save-data-in-thunkable-help/2531841 "2023-08-04T12:56:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saahil.ksrirambe](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@saahil.ksrirambe](https://community.thunkable.com/u/saahil.ksrirambe)\
**Post date:** [August 4, 2023, 12:56pm UTC](https://community.thunkable.com/t/save-data-in-thunkable-help/2531841/1 "2023-08-04T12:56:11Z")

</div>

I want to make a button , that if clicked , just saves data from text input in realtime database.  
I think that I need to create a Web Api. If yes, is this the correct way or do i have to change it. Also i need the code

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b772080b57ab755adb1b258c04fd226bf0ae2e38.png)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [August 4, 2023, 1:50pm UTC](https://community.thunkable.com/t/save-data-in-thunkable-help/2531841/2 "2023-08-04T13:50:38Z")

</div>

Hello there.

I think it’s beter for you to follow this [tutorial / doc](https://docs.thunkable.com/variables) on how to connect firebase and use it in thunkable.

Cheers

---

<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:** [August 4, 2023, 2:21pm UTC](https://community.thunkable.com/t/save-data-in-thunkable-help/2531841/3 "2023-08-04T14:21:27Z")

</div>

That does not require an API. You just set cloud variable [Firebase path] to “text”.

For example, if you want to save “hello” at /Users/userId/abcde then you would set cloud variable “Users/userId/abcde” to “hello”.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [November 2, 2023, 2:21pm UTC](https://community.thunkable.com/t/save-data-in-thunkable-help/2531841/4 "2023-11-02T14:21:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
