Adding an OpenAI API Key
These features require an OpenAI API key in order to leverage their chat API:
Conversation Q&A
Auto-Contact Creation
Add a Remote Site to OpenAI
Before you add an API key, you have to grant Goldie access to OpenAI's servers by adding a Remote Site setting:
In Salesforce go to Setup and find the page "Remote Site Settings".
Click the button "New Remote Site"
Add a new remote site called "OpenAI" with the URL https://api.openai.com/v1/chat/completions
Click "Save".
Generating an OpenAI API Key
Create or login to your OpenAI account at https://platform.openai.com/
Open this URL: https://platform.openai.com/organization/api-keys
If your account has access to multiple "organizations", make sure you select the right one in the top right corner.
Click the button "Create new secret key" to open the modal "Create new secret key".
In the modal "Create new secret key" add a name to your key like "Goldie/Salesforce prod" so you can later identify the purpose of the key easily.
For good measure create a "Restricted" key with the only "Write" permissions to "Model capabilities" (leave all others at "None")
After clicking "Create key" the modal "Save your key" displays the new key. Copy the API key to the clipboard and leave this modal open for now.
Adding the API Key to Goldie
In Salesforce click on the App Launcher and find the item "Goldie Setup".
In the Goldie Setup Page find the section "AI Model Settings".
Click the button "Edit OpenAI API Key" and paste the API key from before into the text box of the modal.
Click the button "Test OpenAI Connection". The button should turn green.