Recent searches


No recent searches

Using OpenAI in Zendesk App



Posted Apr 08, 2023

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);


0

2

2 comments

Hi Alexis, 

you may try to use Secure Settings  to pass OpenAI API token. 

0


image avatar

James Rodewig

Zendesk Documentation Team

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!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post