The Scrut - OpenAI integration fetches user access data, permissions, and role assignments from your OpenAI account and syncs them with the Access Review module. This integration enables your organization to maintain comprehensive visibility over user access rights and streamline periodic access reviews for compliance and security.
Heads Up!
The data synced from OpenAI flows into the People → Access module in Scrut.
Prerequisites
Before starting the integration, ensure you have the following credentials:
You must be a Scrut Admin (or Contributor with access to the Integrations module)
You must have permissions to generate an API key in OpenAI
Important:
You must have set up billing for your OpenAI account to use the API key. API keys generated without billing will fail.
How To Connect OpenAI With Scrut
Step 1: Fetch API Key from OpenAI
Log in to your OpenAI console (https://auth.openai.com/log-in) and click API Keys on the left navigation menu.
Click on +Create new secret key.

Enter a name for the key, such as Scrut-Integration and choose the Project.
Keep the Permissions set to All, then click Create secret key.
Copy the API key code, as you won’t be able to see this later. Save the code in a safe location, as you’ll need to enter it in Scrut in the next step.

Pro Tip!
Refer to this guide from OpenAI for more information on API key best practices.
Step 2: Go To Integrations in Scrut
Sign in to Scrut and click Integrations on the left navigation panel.
Navigate to the Integrations Library tab, and choose Miscellaneous in the Categories section.
Scroll to the OpenAI tile and click Integrate.

On the integration page, paste the API key obtained in Step 1.
Click Submit.

Once authorization is done, you’ll see the “Connected Successfully” message and the Connected status indicator.
Synchronization Details
Initial Sync: Upon completing the integration, Scrut will start syncing user data from OpenAI. This process typically takes a few hours to complete. Check the Audit Log on the OpenAI integration page in Scrut to review the status.
Recurring Sync: After this, Scrut performs the sync once every 24 hours to fetch incremental data such as new users, role changes, and permission updates.
Manual Sync: You can also click the Sync Now button to trigger an immediate data refresh.
Data Fetched from OpenAI
Scrut fetches the following access-related data points from OpenAI:
User Name
User Email
User Role
Viewing OpenAI Data in Scrut
To view the data fetched from your OpenAI account, go to the People → Access → Overview tab. On this page, you can see the user details for your OpenAI account.
You can also create an Access Review (or edit an existing one) and include the OpenAI application in scope. Refer to this guide for step-by-step instructions on creating an access review.
Follow these steps to create a new access review for OpenAI:
Go to People → Access and click Create New.
Enter Review Details: Name, Description, Owner, and Review Days.
In step 2, search for and select OpenAI in the Applications in Scope.
Select Reviewer and Approver.
Review the details and click Save Review.
From the Access Review page, click OpenAI to view user details in Scrut.
If you face any difficulties connecting OpenAI with Scrut, please contact the Scrut support team at support@scrut.io.