User adding dynamic values to JSON file


I am using the Bubble API connector with the OpenAI API. Im working on a ’ food recipe generator’.
The user of the app should be able to have a UI where they put in their own API key to use the app. How can i do this?

Hey @jfavanhoof :wave:

It looks like you already have your authorization unchecked so it’s not ‘private’. So now, in the workflow you can add the user’s key instead. Just make sure to do these calls on the backend workflows so you don’t expose any keys.

You should now have a workflow called ‘Product Description’ if you have already initialized the call.

Hope that helps a bit. :blush:

Hi! Thanks for your answer. Going to try this out (y)

1 Like