# How to pass data to x.Thunkable app?

**URL:** https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [May 10, 2019, 2:20am UTC](https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095 "2019-05-10T02:20:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dro](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dro](https://community.thunkable.com/u/dro)
#### Post date: [May 10, 2019, 2:20am UTC](https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095/1 "2019-05-10T02:20:22Z")

</div>

I am new to the x.Thunkable and I need to load an app written in x.Thunkable and pass some parameters to it from MIT AI2 app. I tried using Local storage with the same name as TinyDB1 but it does not work.  
In AI2: call TinyDB1.StoreValue tag=“varTag”  
In x.Thunkable call TinyDB1.Get key=“varTag”

Any suggestions?

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [May 10, 2019, 9:23am UTC](https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095/2 "2019-05-10T09:23:36Z")

</div>

Local storage doesn’t use the same back end.

Have you considered using Firebase?

---

<div class="post-metadata">

### Author: ![dro](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dro](https://community.thunkable.com/u/dro)
#### Post date: [May 10, 2019, 5:44pm UTC](https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095/3 "2019-05-10T17:44:36Z")

</div>

Thank you for your response. It helped me to find an alternative (3-rd) below.

The issue with using Firebase or any data base is that I will need to have a common key available in both AI2 and x-Thunkable, for AI2 to pass to x-Thunkable. For example the users telephone number would work if I could pass the telephone number to x-Thunkable. But that is not available in x-Thunkable.

I could use the time of day in milliseconds but I can’t find a function in x-Thunkable that will give that.

The 3-rd alternative is that I ask the user the common key (telephone number) and save it to local storage during setup in the first run in both AI2 and x-Thunkable.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/how-to-pass-data-to-x-thunkable-app/76095/4 "2024-11-08T12:13:48Z")

</div>


