Using OpenAI in Zendesk App
I'm trying to submit an App that is using the openai api.
It got rejected due to my inability to safely store the openai api key, or use Oauth in some way.
Has anyone an idea how I can achieve this?
This is where the api key gets used:
const configuration = new Configuration({ apiKey: this._settings.OpenAiApiKey });
const openai = new OpenAIApi(configuration);
-
Hi Alexis,
you may try to use Secure Settings to pass OpenAI API token.
-
If it helps, the following tutorial shows how you can use secure settings to pass an OpenAI API token:
Using AI to summarize conversations in a Support app
I hope that helps!
Please sign in to leave a comment.
2 Comments