How to hide/encrypt/secure embeded code


We’re planning to embed a Javascript Chat-GPT3 POST function to the Webflow, but it would display our API key publicly.

Is there a way/solution to hide/encrypt/secure an embedded code JS POST function for users not having the ability to see the API key?


The use of a middleware layer is required. That can be your own external server / API or something like Make or Zapier.