OpenAI
Connect an OpenAI project to Octic with a project API key and an organization Admin API key, both stored encrypted.
This page connects one OpenAI project to Octic. You create two keys on the OpenAI platform, paste them into Octic, and Octic verifies them on the spot. There's no redirect.
- With the project API key: the project's models, fine-tuning jobs, assistants, vector stores and files.
- With the Admin API key: organization-level inventory, namely projects, users, invites, groups, service accounts, admin API keys and certificates.
Octic maps the relationships between them, such as an assistant and the vector store it uses, and uses project membership and service-account bindings to derive ownership.

Octic makes read calls only. To verify the connection it lists models with
the project key and reads the organization's projects with the Admin API
key. Both keys are encrypted at rest, never logged, and never placed on a
job queue. If you give an organization or project ID, Octic sends them as
the OpenAI-Organization and OpenAI-Project headers on project-key calls.
- You're the owner of the Octic workspace.
- You can create a project-scoped API key (
sk-proj-…) in the OpenAI platform. A service account key is better for this: it isn't tied to one person and you can rotate it on its own. - You're an OpenAI Organization Owner, or can ask one to create an Admin API
key (
sk-admin-…).
Create a project API key
On the OpenAI platform, open the project's API keys and create a key for Octic, preferably a service account key. Copy it.
Create an Admin API key
In your organization's admin settings, which need an Organization Owner, create an Admin API key. It's separate from the project's API keys page. Copy it.
Open the setup
In Octic, open Integrations, choose OpenAI, then choose Connect. The Setup tab lists the checklist and the five steps.

Fill in the form
Under Connect your project:
Field Required What to enter Connection name Yes A label such as Production. Octic keeps one connection per name.API key Yes The project key from the first step. Admin API key Yes The Admin API key from the second step. Organization ID No org-…. Only needed if the key spans more than one organization.Project ID No proj_…. Project-scoped keys already imply the project, so this is rarely needed.
Connect
Choose Connect OpenAI. Octic verifies both keys and opens the Settings tab. Choose Sync now on the project's card to run the first sync.
To connect another OpenAI project, choose Connect another and use a different connection name. Each name is its own connection with its own keys.
Open the Settings tab. The project's card shows its connection name, the prefix of each stored key, any organization and project IDs, and when it was last verified. Use Verify, Sync now and Disconnect there, and check Recent syncs below. After the first sync, Octic syncs the project every 6 hours. See Manage a connection.
If OpenAI rejects a stored key, the connection shows OpenAI API key rejected with Replace keys. Choose it, enter new keys, and choose Replace keys. Octic updates the same connection in place and keeps its history. See Troubleshoot integrations.
Choose Disconnect on the project's card on Settings. Octic deletes the stored keys and stops syncing the project, and keeps what it already found. To cut off access completely, revoke both keys on the OpenAI platform.
Last updated
Was this page helpful?


