# Get Firebase Key from a Block?

**URL:** https://community.thunkable.com/t/get-firebase-key-from-a-block/863226
**Category:** Questions about Thunkable X
**Created:** [September 30, 2020, 2:40pm UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226 "2020-09-30T14:40:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [September 30, 2020, 2:40pm UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226/1 "2020-09-30T14:40:28Z")

</div>

Is there some way to get the Firebase API key from a block? I am using the Firebase Realtime database as well as the firebase authentication. Now I want to extend these to include non-thunkable Firebase features using the WebAPI such as reset password. Currently I have to type the API key, which I would rather NOT do, since that would make the API key visible to anyone viewing the project. Any suggestions?

I am also trying to avoid obfuscation-based solutions, like storing the API key in a hard to find place within firebase that could be accessed once the user is authenticated using the hidden thunkable API key. Obfuscation \<\> Security

---

<div class="post-metadata">

### Author: ![roumak-coder](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@roumak-coder](https://community.thunkable.com/u/roumak-coder)
#### Post date: [October 1, 2020, 11:30am UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226/2 "2020-10-01T11:30:44Z")

</div>

You can use the “sign-in” component like this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/05bec2aecddf393750b6f15e43e9c304df0b6016.png)

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [October 1, 2020, 12:00pm UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226/3 "2020-10-01T12:00:47Z")

</div>

Thanks [roumak-coder](http://community.thunkable.com/u/roumak-coder)

I guess I missed the Reset Password Block.

But there are many other Firebase setting I would like to change such as:  
\*Change password  
\*Re-send email verification  
\*Update profile  
\*Get User Data  
etc.  
The list of commands available using the Web API:  
[https://firebase.google.com/docs/reference/rest/auth/](https://firebase.google.com/docs/reference/rest/auth/)

---

<div class="post-metadata">

### Author: ![roumak-coder](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@roumak-coder](https://community.thunkable.com/u/roumak-coder)
#### Post date: [October 2, 2020, 3:02am UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226/4 "2020-10-02T03:02:14Z")

</div>

Are you are a PRO member, if yes then you can make your project private else if you’re not then you can create a hidden label, take the value in a variable and then set the api key as the variable.

-Best, Roumak

---

<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:23pm UTC](https://community.thunkable.com/t/get-firebase-key-from-a-block/863226/5 "2024-11-08T12:23:39Z")

</div>


