# Allow users to use their own AirTable API?

**URL:** <https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785>\
**Category:** APIs\
**Created:** [February 7, 2023, 7:28pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785 "2023-02-07T19:28:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![will.nft.works](https://avatars.discourse-cdn.com/v4/letter/w/3bc359/32.png) [@will.nft.works](https://forum.bubble.io/u/will.nft.works)\
**Post date:** [February 7, 2023, 7:28pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/1 "2023-02-07T19:28:36Z")

</div>

So they can link to their own records within my app.

Is there a way to dynamically input the user’s API key into the plugin?

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [February 7, 2023, 7:36pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/2 "2023-02-07T19:36:17Z")

</div>

Probably would need the API connector instead, and a header (not shared header) on the call with “private” unchecked so it can be dynamically filled in by the user or a field under the user.

Just make sure privacy rules are in place so another user can’t see their API key field

---

<div class="post-metadata">

**Author:** ![will.nft.works](https://avatars.discourse-cdn.com/v4/letter/w/3bc359/32.png) [@will.nft.works](https://forum.bubble.io/u/will.nft.works)\
**Post date:** [February 7, 2023, 7:37pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/3 "2023-02-07T19:37:11Z")

</div>

Seems so obvious now. Thank you so much. Will see if I can get this to work today. Thank you!!!

---

<div class="post-metadata">

**Author:** ![silas1](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@silas1](https://forum.bubble.io/u/silas1)\
**Post date:** [February 8, 2023, 8:49pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/4 "2023-02-08T20:49:40Z")

</div>

I want to do the same thing, but I’m unsure about making the API key not “private”. As I understand it, non-private API parameters are handled on the browser level and therefore are not secure. Is there a way to do this where the API key (stored as a value on the user and protected with privacy rules) never leaves the server?

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [February 8, 2023, 9:19pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/5 "2023-02-08T21:19:16Z")

</div>

I suppose you could run the API call in a backend workflow. If they are doing the call and you just need to write to the database then that would work.

If you need values returned to the client’s browser (like to show the response in a custom state or something) you will need to do some workarounds such as calling your own app’s backend workflow through the API connector and letting it return data that way. Bubble doesn’t let you return values yet when you do it internally but hopefully that happens soon

Since private is unchecked I think the key would still show up on server logs though. My question is this key really private? Isn’t the user putting it in themselves so they would know it already? Privacy rules still are in play here where a User would only see their own API key field (assuming you have privacy rules limiting it to just that)

---

<div class="post-metadata">

**Author:** ![will.nft.works](https://avatars.discourse-cdn.com/v4/letter/w/3bc359/32.png) [@will.nft.works](https://forum.bubble.io/u/will.nft.works)\
**Post date:** [February 8, 2023, 9:32pm UTC](https://forum.bubble.io/t/allow-users-to-use-their-own-airtable-api/245785/6 "2023-02-08T21:32:57Z")

</div>

Curious to know more. Still pretty green with back end work flows.

I know there are a few bubble apps that send user response emails to the users airtable without zapier/make.

Not sure if that’s the same as displaying data in the app.
