OpenAI: Authenticate action
- Updated: 2024/06/03
OpenAI: Authenticate action
This topic describes how to generate an API Key to authenticate and get access to use the OpenAI models.
Prerequisites
- You must have the Bot creator role to use the OpenAI Authenticate action in a bot.
- Ensure that you have the necessary credentials (API Key) to send a request.
To use OpenAI models, you send a request containing the inputs
and your API key, and then get authenticated to use the models. The Chat
Completions API
and Completions API
of OpenAI are both supported using the OpenAI Chat AI action and OpenAI
Prompt AI action. The difference between these APIs derives from the underlying GPT
models. To use either of these APIs, you will need to create an OpenAI API key.
To create an OpenAI API key:
Procedure
- Create an account at: Create OpenAI Account.
- Log in to your OpenAI account.
- Access this link: API-Keys.
- Click Create new secret key.
- Copy the secret to your clipboard.
- In the Automation Anywhere Control Room, navigate to the Actions pane, select , drag Authenticate, and place it in the canvas.
-
Do the following: