enterprise/admin-setup.md +307 −87
1# Admin Setup1# Admin Setup
2 2
33Set up Codex for your ChatGPT Enterprise workspace
4 4
5This guide is for ChatGPT Enterprise admins who want to set up Codex for their workspace.5This guide is for ChatGPT Enterprise admins who want to set up Codex for their workspace.
6 6
7Use this page as the step-by-step rollout guide. For detailed policy, configuration, and monitoring details, use the linked pages: [Authentication](https://developers.openai.com/codex/auth), [Agent approvals & security](https://developers.openai.com/codex/agent-approvals-security), [Managed configuration](https://developers.openai.com/codex/enterprise/managed-configuration), and [Governance](https://developers.openai.com/codex/enterprise/governance).
8
7## Enterprise-grade security and privacy9## Enterprise-grade security and privacy
8 10
9Codex supports ChatGPT Enterprise security features, including:11Codex supports ChatGPT Enterprise security features, including:
10 12
11- No training on enterprise data13- No training on enterprise data
1214- Zero data retention for the CLI and IDE- Zero data retention for the App, CLI, and IDE (code stays in the developer environment)
1315- Residency and retention follow ChatGPT Enterprise policies- Residency and retention that follow ChatGPT Enterprise policies
14- Granular user access controls16- Granular user access controls
1517- Data encryption at rest (AES 256) and in transit (TLS 1.2+)- Data encryption at rest (AES-256) and in transit (TLS 1.2+)
18- Audit logging via the ChatGPT Compliance API
16 19
1720For more, see [Security](https://developers.openai.com/codex/security).For security controls and runtime protections, see [Agent approvals & security](https://developers.openai.com/codex/agent-approvals-security). Refer to [Zero Data Retention (ZDR)](https://platform.openai.com/docs/guides/your-data#zero-data-retention) for more details.
21For a broader enterprise security overview, see the [Codex security white paper](https://trust.openai.com/?itemUid=382f924d-54f3-43a8-a9df-c39e6c959958&source=click).
18 22
1923## Local vs. cloud setup## Pre-requisites: Determine owners and rollout strategy
20 24
2125Codex operates in two environments: local and cloud.During your rollout, team members may support different aspects of integrating Codex into your organization. Ensure you have the following owners:
22 26
23271. Local use includes the Codex app, CLI, and IDE extension. The agent runs on the developer’s computer in a sandbox.- **ChatGPT Enterprise workspace owner:** required to configure Codex settings in your workspace.
24282. Use in the cloud includes Codex cloud, iOS, Code Review, and tasks created by the [Slack integration](https://developers.openai.com/codex/integrations/slack). The agent runs remotely in a hosted container with your codebase.- **Security owner:** determines agent permissions settings for Codex.
29- **Analytics owner:** integrates analytics and compliance APIs into your data pipelines.
25 30
2631Use separate permissions and role-based access control (RBAC) to control access to local and cloud features. You can enable local, cloud, or both for all users or for specific groups.Decide which Codex surfaces you will use:
27 32
2833## Codex local setup- **Codex local:** includes the Codex app, CLI, and IDE extension. The agent runs on the developer's computer in a sandbox.
34- **Codex cloud:** includes hosted Codex features (including Codex cloud, iOS, Code Review, and tasks created by the [Slack integration](https://developers.openai.com/codex/integrations/slack) or [Linear integration](https://developers.openai.com/codex/integrations/linear)). The agent runs remotely in a hosted container with your codebase.
35- **Both:** use local + cloud together.
29 36
3037### Enable Codex app, CLI, and IDE extension in workspace settingsYou can enable local, cloud, or both, and control access with workspace settings and role-based access control (RBAC).
31 38
3239To enable Codex locally for workspace members, go to [Workspace Settings > Settings and Permissions](https://chatgpt.com/admin/settings). Turn on **Allow members to use Codex Local**. This setting doesn’t require the GitHub connector.## Step 1: Enable Codex in your workspace
33 40
3441After you turn this on, users can sign in to use the Codex app, CLI, and IDE extension with their ChatGPT account. If you turn off this setting, users who attempt to use the Codex app, CLI, or IDE will see the following error: “403 - Unauthorized. Contact your ChatGPT administrator for access.”You configure access to Codex in ChatGPT Enterprise workspace settings.
35 42
3643## Team ConfigGo to [Workspace Settings > Settings and Permissions](https://chatgpt.com/admin/settings).
37 44
3845Teams who want to standardize Codex across an organization can use Team Config to share defaults, rules, and skills without duplicating setup on every local configuration.### Codex local
39 46
4047| Type | Path | Use it to |Codex local is enabled by default for new ChatGPT Enterprise workspaces. If
4148| ------------------------------------ | ------------- | ---------------------------------------------------------------------------- | you are not a ChatGPT workspace owner, you can test whether you have access by
4249| [Config basics](https://developers.openai.com/codex/config-basic) | `config.toml` | Set defaults for sandbox mode, approvals, model, reasoning effort, and more. | [installing Codex](https://developers.openai.com/codex/quickstart) and logging in with your work email.
43| [Rules](https://developers.openai.com/codex/rules) | `rules/` | Control which commands Codex can run outside the sandbox. |
44| [Skills](https://developers.openai.com/codex/skills) | `skills/` | Make shared skills available to your team. |
45 50
4651For locations and precedence, see [Config basics](https://developers.openai.com/codex/config-basic#configuration-precedence).Turn on **Allow members to use Codex Local**.
52
53This enables use of the Codex app, CLI, and IDE extension for allowed users.
54
55If this toggle is off, users who attempt to use the Codex app, CLI, or IDE will see the following error: “403 - Unauthorized. Contact your ChatGPT administrator for access.”
56
57#### Enable device code authentication for Codex CLI
58
59Allow developers to sign in with a device code when using Codex CLI in a non-interactive environment (for example, a remote development box). More details are in [authentication](https://developers.openai.com/codex/auth/).
47 60
4861## Codex cloud setup
62
63### Codex cloud
49 64
50### Prerequisites65### Prerequisites
51 66
59 74
60Start by turning on the ChatGPT GitHub Connector in the Codex section of [Workspace Settings > Settings and Permissions](https://chatgpt.com/admin/settings).75Start by turning on the ChatGPT GitHub Connector in the Codex section of [Workspace Settings > Settings and Permissions](https://chatgpt.com/admin/settings).
61 76
6277To enable Codex cloud for your workspace, turn on **Allow members to use Codex cloud**.To enable Codex cloud for your workspace, turn on **Allow members to use Codex cloud**. Once enabled, users can access Codex directly from the left-hand navigation panel in ChatGPT.
78
79Note that it may take up to 10 minutes for Codex to appear in ChatGPT.
80
81#### Enable Codex Slack app to post answers on task completion
82
83Codex posts its full answer back to Slack when the task completes. Otherwise, Codex posts only a link to the task.
84
85To learn more, see [Codex in Slack](https://developers.openai.com/codex/integrations/slack).
86
87#### Enable Codex agent to access the internet
88
89By default, Codex cloud agents have no internet access during runtime to help protect against security and safety risks like prompt injection.
90
91This setting lets users use an allowlist for common software dependency domains, add domains and trusted sites, and specify allowed HTTP methods.
63 92
6493Once enabled, users can access Codex directly from the left-hand navigation panel in ChatGPT.For security implications of internet access and runtime controls, see [Agent approvals & security](https://developers.openai.com/codex/agent-approvals-security).
65 94
6695
67 96
6897After you turn on Codex in your Enterprise workspace settings, it may take up## Step 2: Set up custom roles (RBAC)
69to 10 minutes for Codex to appear in ChatGPT.
70 98
7199### Configure the GitHub Connector IP allow listUse RBAC to control granular permissions for access Codex local and Codex cloud.
72 100
73101To control which IP addresses can connect to your ChatGPT GitHub connector, configure these IP ranges:
74 102
75103- [ChatGPT egress IP ranges](https://openai.com/chatgpt-actions.json)### What RBAC lets you do
76- [Codex container egress IP ranges](https://openai.com/chatgpt-agents.json)
77 104
78105These IP ranges can change. Consider checking them automatically and updating your allow list based on the latest values.Workspace Owners can use RBAC in ChatGPT admin settings to:
79 106
80107### Allow members to administer Codex- Set a default role for users who aren't assigned any custom role
108- Create custom roles with granular permissions
109- Assign one or more custom roles to Groups
110- Automatically sync users into Groups via SCIM
111- Manage roles centrally from the Custom Roles tab
81 112
82113This toggle allows users to view Codex workspace analytics and manage environments (edit and delete).Users can inherit more than one role, and permissions resolve to the most permissive (least restrictive) access across those roles.
83 114
84115Codex supports role-based access (see [Role-based access (RBAC)](#role-based-access-rbac)), so you can turn on this toggle for a specific subset of users.### Create a Codex Admin group
85 116
86117### Enable Codex Slack app to post answers on task completionSet up a dedicated "Codex Admin" group rather than granting Codex administration to a broad audience.
87 118
88119Codex integrates with Slack. When a user mentions `@Codex` in Slack, Codex starts a cloud task, gets context from the Slack thread, and responds with a link to a PR to review in the thread.The **Allow members to administer Codex** toggle grants the Codex Admin role. Codex Admins can:
89 120
90121To allow the Slack app to post answers on task completion, turn on **Allow Codex Slack app to post answers on task completion**. When enabled, Codex posts its full answer back to Slack when the task completes. Otherwise, Codex posts only a link to the task.- View Codex [workspace analytics](https://chatgpt.com/codex/settings/analytics)
122- Open the Codex [Policies page](https://chatgpt.com/codex/settings/policies) to manage cloud-managed `requirements.toml` policies
123- Assign those managed policies to user groups or configure a default fallback policy
124- Manage Codex cloud environments, including editing and deleting environments
91 125
92126To learn more, see [Codex in Slack](https://developers.openai.com/codex/integrations/slack).Use this role for the small set of admins who own Codex rollout, policy management, and governance. It's not required for general Codex users. You don't need Codex cloud to enable this toggle.
93 127
94128### Enable Codex agent to access the internetRecommended rollout pattern:
95 129
96130By default, Codex cloud agents have no internet access during runtime to help protect against security and safety risks like prompt injection.- Create a "Codex Users" group for people who should use Codex
131- Create a separate "Codex Admin" group for the smaller set of people who should manage Codex settings and policies
132- Assign the custom role with **Allow members to administer Codex** enabled only to the "Codex Admin" group
133- Keep membership in the "Codex Admin" group limited to workspace owners or designated platform, IT, and governance operators
134- If you use SCIM, back the "Codex Admin" group with your identity provider so membership changes are auditable and centrally managed
135
136This separation makes it easier to roll out Codex while keeping analytics, environment management, and policy deployment limited to trusted admins. For RBAC setup details and the full permission model, see the [OpenAI RBAC Help Center article](https://help.openai.com/en/articles/11750701-rbac).
137
138## Step 3: Configure Codex local requirements
139
140Codex Admins can deploy admin-enforced `requirements.toml` policies from the Codex [Policies page](https://chatgpt.com/codex/settings/policies).
141
142Use this page when you want to apply different local Codex constraints to different groups without distributing device-level files first. The managed policy uses the same `requirements.toml` format described in [Managed configuration](https://developers.openai.com/codex/enterprise/managed-configuration), so you can define allowed approval policies, sandbox modes, web search behavior, MCP server allowlists, feature pins, and restrictive command rules. To disable Browser Use, the in-app browser, or Computer Use, see [Pin feature flags](https://developers.openai.com/codex/enterprise/managed-configuration#pin-feature-flags).
143
144
145
146Recommended setup:
147
1481. Create a baseline policy for most users, then create stricter or more permissive variants only where needed.
1492. Assign each managed policy to a specific user group, and configure a default fallback policy for everyone else.
1503. Order group rules with care. If a user matches more than one group-specific rule, the first matching rule applies.
1514. Treat each policy as a complete profile for that group. Codex doesn't fill missing fields from later matching group rules.
152
153These cloud-managed policies apply across Codex local surfaces when users sign in with ChatGPT, including the Codex app, CLI, and IDE extension.
154
155### Example requirements.toml policies
156
157Use cloud-managed `requirements.toml` policies to enforce the guardrails you want for each group. The snippets below are examples you can adapt, not required settings.
158
159
160
161Example: limit web search, sandbox mode, and approvals for a standard local rollout:
162
163```toml
164allowed_web_search_modes = ["disabled", "cached"]
165allowed_sandbox_modes = ["workspace-write"]
166allowed_approval_policies = ["on-request"]
167```
168
169Example: disable Browser Use, the in-app browser, and Computer Use:
170
171```toml
172[features]
173browser_use = false
174in_app_browser = false
175computer_use = false
176```
177
178Example: add a restrictive command rule when you want admins to block or gate specific commands:
179
180```toml
181[rules]
182prefix_rules = [
183 { pattern = [{ token = "git" }, { any_of = ["push", "commit"] }], decision = "prompt", justification = "Require review before mutating remote history." },
184]
185```
186
187You can use either example on its own or combine them in a single managed policy for a group. For exact keys, precedence, and more examples, see [Managed configuration](https://developers.openai.com/codex/enterprise/managed-configuration) and [Agent approvals & security](https://developers.openai.com/codex/agent-approvals-security).
188
189### Checking user policies
190
191Use the policy lookup tools at the end of the workflow to confirm which managed policy applies to a user. You can check policy assignment by group or by entering a user email.
192
193
194
195If you plan to restrict login method or workspace for local clients, see the admin-managed authentication restrictions in [Authentication](https://developers.openai.com/codex/auth).
196
197## Step 4: Standardize local configuration with Team Config
97 198
98199As an admin, you can allow users to enable agent internet access in their environments. To enable it, turn on **Allow Codex agent to access the internet**.Teams who want to standardize Codex across an organization can use Team Config to share defaults, rules, and skills without duplicating setup on every local configuration.
200
201You can check Team Config settings into the repository under the `.codex` directory. Codex automatically picks up Team Config settings when a user opens that repository.
202
203Start with Team Config for your highest-traffic repositories so teams get consistent behavior in the places they use Codex most.
204
205| Type | Path | Use it to |
206| ------------------------------------ | ------------- | ---------------------------------------------------------------------------- |
207| [Config basics](https://developers.openai.com/codex/config-basic) | `config.toml` | Set defaults for sandbox mode, approvals, model, reasoning effort, and more. |
208| [Rules](https://developers.openai.com/codex/rules) | `rules/` | Control which commands Codex can run outside the sandbox. |
209| [Skills](https://developers.openai.com/codex/skills) | `skills/` | Make shared skills available to your team. |
210
211For locations and precedence, see [Config basics](https://developers.openai.com/codex/config-basic#configuration-precedence).
212
213## Step 5: Configure Codex cloud usage (if enabled)
99 214
100215When this setting is on, users can use an allow list for common software dependency domains, add more domains and trusted sites, and specify allowed HTTP methods.This step covers repository and environment setup after you enable the Codex cloud workspace toggle.
216
217### Connect Codex cloud to repositories
218
2191. Navigate to [Codex](https://chatgpt.com/codex) and select **Get started**
2202. Select **Connect to GitHub** to install the ChatGPT GitHub Connector if you haven't already connected GitHub to ChatGPT
2213. Install or connect the ChatGPT GitHub Connector
2224. Choose an installation target for the ChatGPT Connector (typically your main organization)
2235. Allow the repositories you want to connect to Codex
224
225For GitHub Enterprise Managed Users (EMU), an organization owner must install
226 the Codex GitHub App for the organization before users can connect
227 repositories in Codex cloud.
228
229For more, see [Cloud environments](https://developers.openai.com/codex/cloud/environments).
230
231Codex uses short-lived, least-privilege GitHub App installation tokens for each operation and respects the user's existing GitHub repository permissions and branch protection rules.
232
233### Configure IP addresses
234
235If your GitHub organization controls the IP addresses that apps use to connect, make sure to include these [egress IP ranges](https://openai.com/chatgpt-agents.json).
236
237These IP ranges can change. Consider checking them automatically and updating your allow list based on the latest values.
101 238
102### Enable code review with Codex cloud239### Enable code review with Codex cloud
103 240
104241To allow Codex to do code reviews, go to [Settings → Code review](https://chatgpt.com/codex/settings/code-review).To allow Codex to perform code reviews on GitHub, go to [Settings → Code review](https://chatgpt.com/codex/settings/code-review).
242
243You can configure code review at the repository level. Users can also enable auto review for their PRs and choose when Codex automatically triggers a review. More details are on the [GitHub integration page](https://developers.openai.com/codex/integrations/github).
244
245Use the overview page to confirm your workspace has code review turned on and to see the available review controls.
246
247
248
249 Use the auto review settings to decide whether Codex should review pull
250 requests automatically for connected repositories.
251
252
253
254 Use review triggers to control which pull request events should start a
255 Codex review.
256
257
258
259### Configure Codex security
260
261Codex Security helps engineering and security teams find, confirm, and remediate likely vulnerabilities in connected GitHub repositories.
262
263At a high level, Codex Security:
264
265- scans connected repositories commit by commit
266- ranks likely findings and confirms them when possible
267- shows structured findings with evidence, criticality, and suggested remediation
268- lets teams refine a repository threat model to improve prioritization and review quality
269
270For setup, scan creation, findings review, and threat model guidance, see [Codex Security setup](https://developers.openai.com/codex/security/setup). For a product overview, see [Codex Security](https://developers.openai.com/codex/security).
271
272Integration docs are also available for [Slack](https://developers.openai.com/codex/integrations/slack), [GitHub](https://developers.openai.com/codex/integrations/github), and [Linear](https://developers.openai.com/codex/integrations/linear).
273
274## Step 6: Set up governance and observability
275
276Codex gives enterprise teams options for visibility into adoption and impact. Set up governance early so your team can track adoption, investigate issues, and support compliance workflows.
277
278### Codex governance typically uses
279
280- Analytics Dashboard for quick, self-serve visibility
281- Analytics API for programmatic reporting and business intelligence integration
282- Compliance API for audit and investigation workflows
283
284### Recommended baseline setup
285
286- Assign an owner for adoption reporting
287- Assign an owner for audit and compliance review
288- Define a review cadence
289- Decide what success looks like
290
291### Analytics API setup steps
292
293To set up the Analytics API key:
294
2951. Sign in to the [OpenAI API Platform Portal](https://platform.openai.com) as an owner or admin, and select the correct organization.
2962. Go to the [API keys page](https://platform.openai.com/settings/organization/api-keys).
2973. Create a new secret key dedicated to Codex Analytics, and give it a descriptive name such as Codex Analytics API.
2984. Select the appropriate project for your organization. If you only have one project, the default project is fine.
2995. Set the key permissions to Read only, since this API only retrieves analytics data.
3006. Copy the key value and store it securely, because you can only view it once.
3017. Email [support@openai.com](mailto:support@openai.com) to have that key scoped to `codex.enterprise.analytics.read` only. Wait for OpenAI to confirm your API key has Codex Analytics API access.
302
303
304
305To use the Analytics API key:
306
3071. Find your `workspace_id` in the [ChatGPT Admin console](https://chatgpt.com/admin) under Workspace details.
3082. Call the Analytics API at `https://api.chatgpt.com/v1/analytics/codex` using your Platform API key, and include your `workspace_id` in the path.
3093. Choose the endpoint you want to query:
310
311- /workspaces/`{workspace_id}`/usage
312- /workspaces/`{workspace_id}`/code_reviews
313- /workspaces/`{workspace_id}`/code_review_responses
314
3154. Set a reporting date range with `start_time` and `end_time` if needed.
3165. Retrieve the next page of results with `next_page` if the response spans more than one page.
105 317
106318Users can specify whether they want Codex to review their pull requests. Users can also configure whether code review runs for all contributors to a repository.Example curl command to retrieve workspace usage:
107 319
108320Codex supports two types of code reviews:```bash
321curl -H "Authorization: Bearer YOUR_PLATFORM_API_KEY" \
322 "https://api.chatgpt.com/v1/analytics/codex/workspaces/WORKSPACE_ID/usage"
323```
109 324
1103251. Automatically triggered code reviews when a user opens a PR for review.For more details on the Analytics API, see [Analytics API](https://developers.openai.com/codex/enterprise/governance#analytics-api).
1112. Reactive code reviews when a user mentions @Codex to look at issues. For example, “@Codex fix this CI error” or “@Codex address that feedback.”
112 326
113327## Role-based access (RBAC)### Compliance API setup steps
114 328
115329Codex supports role-based access. RBAC is a security and permissions model used to control access to systems or resources based on a user’s role assignments.To set up the Compliance API key:
116 330
117331To enable RBAC for Codex, navigate to Settings & Permissions → Custom Roles in [ChatGPT’s admin page](https://chatgpt.com/admin/settings) and assign roles to groups created in the Groups tab.1. Sign in to the [OpenAI API Platform Portal](https://platform.openai.com) as an owner or admin, and select the correct organization.
3322. Go to the [API keys page](https://platform.openai.com/settings/organization/api-keys).
3333. Create a new secret key dedicated to Compliance API and select the appropriate project for your organization. If you only have one project, the default project is fine.
3344. Choose All permissions.
3355. Copy the key value and store it securely, because you can only view it once.
3366. Send an email to [support@openai.com](mailto:support@openai.com) with:
118 337
119338This simplifies permission management for Codex and improves security in your ChatGPT workspace. To learn more, see the [Help Center article](https://help.openai.com/en/articles/11750701-rbac).- the last 4 digits of the API key
339- the key name
340- the created-by name
341- the scope needed: `read`, `delete`, or both
120 342
121343## Set up your first Codex cloud environment7. Wait for OpenAI to confirm your API key has Compliance API access.
122 344
1233451. Go to Codex cloud and select **Get started**.To use the Compliance API key:
1242. Select **Connect to GitHub** to install the ChatGPT GitHub Connector if you haven’t already connected GitHub to ChatGPT.
125 - Allow the ChatGPT Connector for your account.
126 - Choose an installation target for the ChatGPT Connector (typically your main organization).
127 - Allow the repositories you want to connect to Codex (a GitHub admin may need to approve this).
1283. Create your first environment by selecting the repository most relevant to your developers, then select **Create environment**.
129 - Add the email addresses of any environment collaborators to give them edit access.
1304. Start a few starter tasks (for example, writing tests, fixing bugs, or exploring code).
131 346
132347You have now created your first environment. Users who connect to GitHub can create tasks using this environment. Users who have access to the repository can also push pull requests generated from their tasks.1. Find your `workspace_id` in the [ChatGPT Admin console](https://chatgpt.com/admin) under Workspace details.
3482. Use the Compliance API at `https://api.chatgpt.com/v1/`
3493. Pass your Compliance API key in the Authorization header as a Bearer token.
3504. For Codex-related compliance data, use these endpoints:
133 351
134352### Environment management- /compliance/workspaces/`{workspace_id}`/logs
353- /compliance/workspaces/`{workspace_id}`/logs/`{log_file_id}`
354- /compliance/workspaces/`{workspace_id}`/codex_tasks
355- /compliance/workspaces/`{workspace_id}`/codex_environments
135 356
136357As a ChatGPT workspace administrator, you can edit and delete Codex environments in your workspace.5. For most Codex compliance integrations, start with the logs endpoint and request Codex event types such as CODEX_LOG or CODEX_SECURITY_LOG.
3586. Use /logs to list available Codex compliance log files, then /logs/`{log_file_id}` to download a specific file.
137 359
138360### Connect more GitHub repositories with Codex cloudExample curl command to list compliance log files:
139 361
1403621. Select **Environments**, or open the environment selector and select **Manage Environments**.```bash
1413632. Select **Create Environment**.curl -L -H "Authorization: Bearer YOUR_COMPLIANCE_API_KEY" \
1423643. Select the repository you want to connect. "https://api.chatgpt.com/v1/compliance/workspaces/WORKSPACE_ID/logs?event_type=CODEX_LOG&after=2026-03-01T00:00:00Z"
1433654. Enter a name and description.```
1445. Select the environment visibility.
1456. Select **Create Environment**.
146 366
147367Codex automatically optimizes your environment setup by reviewing your codebase. Avoid advanced environment configuration until you observe specific performance issues. For more, see [Codex cloud](https://developers.openai.com/codex/cloud).Example curl command to list Codex tasks:
148 368
149369### Share setup instructions with users```bash
370curl -H "Authorization: Bearer YOUR_COMPLIANCE_API_KEY" \
371 "https://api.chatgpt.com/v1/compliance/workspaces/WORKSPACE_ID/codex_tasks"
372```
150 373
151374You can share these steps with end users:For more details on the Compliance API, see [Compliance API](https://developers.openai.com/codex/enterprise/governance#compliance-api).
152 375
1533761. Go to [Codex](https://chatgpt.com/codex) in the left-hand panel of ChatGPT.## Step 7: Confirm and verify setup
1542. Select **Connect to GitHub** in the prompt composer if you’re not already connected.
155 - Sign in to GitHub.
1563. You can now use shared environments with your workspace or create your own environment.
1574. Try a task in both Ask and Code mode. For example:
158 - Ask: Find bugs in this codebase.
159 - Write code: Improve test coverage following the existing test patterns.
160 377
161378## Track Codex usage### What to verify
162 379
163380- For workspaces with rate limits, use [Settings → Usage](https://chatgpt.com/codex/settings/usage) to view workspace metrics for Codex.- Users can sign in to Codex local (ChatGPT or API key)
164381- For more detail on enterprise governance, refer to the [Governance](https://developers.openai.com/codex/enterprise/governance) page.- (If enabled) Users can sign in to Codex cloud (ChatGPT sign-in required)
165382- For enterprise workspaces with flexible pricing, you can see credit usage in the ChatGPT workspace billing console.- MFA and SSO requirements match your enterprise security policy
383- RBAC and workspace toggles produce the expected access behavior
384- Managed configuration applies for users
385- Governance data is visible for admins
166 386
167387## Zero data retention (ZDR)For authentication options and enterprise login restrictions, see [Authentication](https://developers.openai.com/codex/auth).
168 388
169389Codex supports OpenAI organizations with [Zero Data Retention (ZDR)](https://platform.openai.com/docs/guides/your-data#zero-data-retention) enabled.Once your team is confident with setup, you can roll Codex out to more teams and organizations.