# Firebase API key in deployment

**URL:** <https://community.thunkable.com/t/firebase-api-key-in-deployment/67665>\
**Category:** Questions about Thunkable X\
**Created:** [February 5, 2019, 3:48pm UTC](https://community.thunkable.com/t/firebase-api-key-in-deployment/67665 "2019-02-05T15:48:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guyman20](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@guyman20](https://community.thunkable.com/u/guyman20)\
**Post date:** [February 5, 2019, 3:48pm UTC](https://community.thunkable.com/t/firebase-api-key-in-deployment/67665/1 "2019-02-05T15:48:12Z")

</div>

If I set proper rules on my firebase database, does it make sense to leave the API key in the app?

Thank you

---

<div class="post-metadata">

**Author:** ![JINI\_KING](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JINI\_KING](https://community.thunkable.com/u/JINI_KING)\
**Post date:** [February 5, 2019, 4:47pm UTC](https://community.thunkable.com/t/firebase-api-key-in-deployment/67665/2 "2019-02-05T16:47:11Z")

</div>

What do you mean by proper rule?

---

<div class="post-metadata">

**Author:** ![guyman20](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@guyman20](https://community.thunkable.com/u/guyman20)\
**Post date:** [February 5, 2019, 6:56pm UTC](https://community.thunkable.com/t/firebase-api-key-in-deployment/67665/3 "2019-02-05T18:56:06Z")

</div>

I mean, I see I have to put my API key in the project in order to access the database.  
However, if I set proper access rules in firebase where I limit authenticated users to a certain chunk of the database - does that make it safe? Or it doesn’t even make sense?

---

<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:16pm UTC](https://community.thunkable.com/t/firebase-api-key-in-deployment/67665/4 "2024-11-08T12:16:20Z")

</div>


