Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Generate API Key in ChatGPT

Limited Availability: Skyhigh CASB for ChatGPT is a Limited Availability feature. To enable API access for your ChatGPT instance, contact Skyhigh Support

To enable ChatGPT in Skyhigh CASB, you must generate an API key from the ChatGPT portal.

NOTE: You must have Owner permissions to generate an API key in ChatGPT.

Follow the steps below to generate a ChatGPT API key: 

  1. Go to ChatGPT portal.
  2. On the API keys page, click Create new secret key.

    Click Generate API key.png
     
  3. On the Create new secret key dialog, select the options as suggested below, enter the required information, and then click Create secret key:
  • Owned by. Select You or Service account, based on your requirements.
  • Name/Service Key Name. Enter the name of the secret key.
  • Project. Select Default project.
  • Permissions. Select All. The Permissions option appears only if you select administrator account (You) in the Owned by section.

NOTE: 

 

Make sure to copy the API key as it is only visible during this step. You must provide the key when enabling API access in Skyhigh CASB.

 

EntertheKeyName.png

Service_AccountSelected.png

  1. After generating the API key, send an email to support@openai.com with the below details:
    • Last 4 digits of the API key.
    • API key name.
    • Name displayed in the CREATED BY field.
    • Requested scopes are READ and DELETE.

NOTE: The READ and DELETE are the Compliance Scopes. Once the Compliance API scopes are granted, all other scopes are revoked.

  1. Go to https://chatgpt.com/admin/settings to know the workspace details, the Organization ID, and the Workspace ID. You must provide Workspace ID while enabling API access in Skyhigh CASB.

    Org_WorkspaceID.png

To create a ChatGPT instance in Skyhigh CASB, see Create ChatGPT Instance in Skyhigh CASB

For more information on generating an API key in ChatGPT, refer to https://chatgpt.com/admin/api-reference#tag/Introduction.

  • Was this article helpful?