Overview
This guide explains how to connect OpenAI & ChatGPT to Grip
Connecting OpenAI enables Grip to get information about AI Assistants and audit logs regarding activity
Connecting ChatGPT enables Grip to retrieve ChatGPT users and agents
To connect OpenAI & ChatGPT, you will need to send Grip three keys: API key, Admin key, and API compliance key for ChatGPT.
Prerequisites
A ChatGPT enterprise account is required.
Part 1 - Getting OpenAI keys
Note.
Currently, this integration requires Grip support/engineering assistance
To connect Grip, you will be required to provide Grip with:
OpenAI API key with minimum “
read” permissionsOpenAI Admin key – with “read only” permission.
Integration steps
Create the API key and an Admin key in OpenAI and send the secrets to Grip, where they will be stored securely.
Go to the OpenAI API platform
Create the API Key
Click on API Keys (1) » Create new secret key (2)
Give a name to your Key (3)
Select the access type (All/Restricted/ Read only)
Ensure the Assistants (4) permission is
ReadClick on Create secret key
Copy the API key to your clipboard; you will need to send it to Grip.

Create the Admin Key
Click on Admin Keys (1) » Create new Admin key (2)
Name your key (3)
Provide the minimum permission:
Read only.Click on Create admin key.
Copy the Admin key to your clipboard. You will need to send it to Grip.
Send both keys to your Grip contact.
Step 2 - Get ChatGPT compliance API key
Note
This integration is available for ChatGPT Enterprise accounts only
To connect ChatGPT, ensure you use the same Org ID for OpenAI (A) and ChatGPT (B)

The integration consists of two parts:
Authenticate a partial API key with OpenAI (an OpenAI article is available here for Enterprise or Edu accounts).
Send the API key to Grip.
Authenticating with OpenAI
Generate an additional API key from the OpenAI API Platform Portal.
Ensure you select the correct organization when creating a key, ensuring it matches the associated workspace.
Do not select the owner's personal organization.

Create a new API key
Settings: Default Project | All Permissions
Note that this must be a new key. Once the Compliance API scopes are granted, all other scopes are revoked.
Reminder: This key can only be viewed/copied once. Store it securely.
Send an email to support@openai.com with :
The last four digits of the API key
The Key Name
The Created By Name
The requested scope (read, delete, or both)
The OpenAI team will verify the key and grant the requested Compliance API scopes.
Once the request access is granted, pass the Compliance API key and the Workspace ID to Grip.
