Codex use case
Build and deploy internal apps
Turn a team workflow into a hosted internal app with Sites.
Use Codex with Sites to build, test, and deploy internal apps, with built-in storage and auth context.
Best for
- Teams that want to turn recurring workflows into interactive apps.
- Apps that need lightweight structured persistence, file uploads, or workspace-oriented sharing.
- Internal tools that benefit from building, testing, deploying, and iterating in one Codex thread.
Contents
Build and deploy internal apps
Turn a team workflow into a hosted internal app with Sites.
Use Codex with Sites to build, test, and deploy internal apps, with built-in storage and auth context.
Use Codex with Sites to build, test, and deploy internal apps, with built-in storage and auth context.
Related links
Best for
- Teams that want to turn recurring workflows into interactive apps.
- Apps that need lightweight structured persistence, file uploads, or workspace-oriented sharing.
- Internal tools that benefit from building, testing, deploying, and iterating in one Codex thread.
Skills & Plugins
- Build, test, and deploy a static site or full-stack web app from Codex.
| Skill | Why use it |
|---|---|
| Sites | Build, test, and deploy a static site or full-stack web app from Codex. |
Starter prompt
Build and deploy from one thread
Sites is a plugin and managed hosting service for things you build with Codex. Ask Codex to create an app, and it can build the project, run it for testing, deploy it, and return a URL you can share.
The scope ranges from simple static sites to full-stack JavaScript or TypeScript web apps. That makes Sites a good fit for focused internal tools: onboarding dashboards, enablement hubs, searchable resource libraries, lightweight workflow apps, and reporting views.
See the Sites documentation for setup, storage, deployment, and access guidance.
Start with one useful workflow. A clear first version is easier to review, deploy, and improve than a broad request to recreate an entire internal system.
Give Codex the workflow context
Tell Codex who the app is for, what people should accomplish, which source material it should inspect, and what should persist between sessions. Be explicit about the intended sharing scope and ask Codex to test the main flow before it deploys.
You can also leverage Plugins to fetch or refresh data from internal sources.
If you need live data fetching, you can connect to a 3rd party tool using an API key. But if you want to leverage app connections, you can create a thread automation to fetch data with plugins on a set schedule, update the app and redeploy it.
Choose storage deliberately
Many internal apps need persistence. Sites supports two storage primitives:
- Use D1, a SQLite-compatible database, for structured data such as checklist state, bookmarks, filters, annotations, configuration, and file metadata.
- Use R2 object storage for file bytes such as uploaded documents, images, or other assets that should persist.
Keep structured metadata in D1 and larger file objects in R2. A read-only resource page or static microsite may not need either one.
Manage and share your projects
You can manage who has access to your deployed projects.
By default, they will only available to you (owner) and workspace admins.
But you can allow access to either:
- All workspace users (
workspace_all) or - Specific active users or groups (
custom)
To change access, you can manage your projects from the Sites page in Codex or ask Codex directly to update access to either:
Examples
The Sites showcase includes sites examples with full prompts.
- Onboarding Hub combines a first-week checklist, resources, notes, and uploaded documents. It uses D1 for user state and file metadata, and R2 for uploaded file bytes.
- Enablement Hub provides a searchable training library with filters and saved bookmarks backed by D1.
- Pulse Dashboard presents metrics, trends, and lineage details while using D1 for configuration and cached snapshots.
- Sparkboard turns employee idea intake into a workflow with authenticated submissions, voting, comments, status boards, and contributor rankings.
- Launch Cal organizes upcoming product launches into a monthly calendar with filters, risk signals, checklists, and connected-source references.
- Event Planning Hub combines event requests, approvals, templates, milestones, policy readiness, and connected planning resources.
Use those examples as starting points, then narrow the prompt around your team’s workflow and source material.
Related use cases
Deploy an app or website
Use Codex with Build Web Apps and Vercel to turn a repo, screenshot, design, or rough app...
Bring your app to ChatGPT
Build one narrow ChatGPT app outcome end to end: define the tools, scaffold the MCP server...
Complete tasks from messages
Use Computer Use to read one Messages thread, complete the task, and draft a reply.