1# Build and deploy internal apps | Codex use cases1---
2 2name: Build and deploy internal apps
3Codex use cases3tagline: Turn a team workflow into a hosted internal app with Sites.
4 4summary: Use Codex with Sites to build, test, and deploy internal apps, with
55 built-in storage and auth context.
6 6skills:
77 - token: sites
8 8 url: https://chatgpt.com/plugins/share/sites
9Codex use case9 description: Build, test, and deploy a static site or full-stack web app from Codex.
10 10bestFor:
11# Build and deploy internal apps11 - Teams that want to turn recurring workflows into interactive apps.
12 12 - Apps that need lightweight structured persistence, file uploads, or
13Turn a team workflow into a hosted internal app with Sites.13 workspace-oriented sharing.
14 14 - Internal tools that benefit from building, testing, deploying, and iterating
15Difficulty **Intermediate**15 in one Codex thread.
16 16starterPrompt:
17Time horizon **30m**17 title: Build and Deploy an Internal App
18 18 body: |-
19Use Codex with Sites to build, test, and deploy internal apps, with built-in storage and auth context.19 Use @sites to build and deploy an internal app for [team or workflow].
20 20
21## Best for21 Goal:
22 22 - [what the app should help people do]
23- Teams that want to turn recurring workflows into interactive apps.23 - [who should use it]
24- Apps that need lightweight structured persistence, file uploads, or workspace-oriented sharing.24 - [source docs, data, or connected services Codex should inspect]
25- Internal tools that benefit from building, testing, deploying, and iterating in one Codex thread.25
26 26 Requirements:
27# Contents27 - Keep the first version focused on one useful workflow.
28 28 - Use D1 for structured data persistence.
29[← All use cases](https://developers.openai.com/codex/use-cases)29 - Use R2 for user-uploaded files if needed.
30 30 - Test the main flow, persistence, and responsive layout before deploying.
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/build-and-deploy-internal-apps/?export=pdf)31
32 32 Make it available to all workspace users.
33Use Codex with Sites to build, test, and deploy internal apps, with built-in storage and auth context.33 suggestedEffort: medium
34 34relatedLinks:
35Intermediate35 - label: Sites documentation
36 36 url: /codex/sites
3730m37 - label: Sites showcase
38 38 url: /showcase/sites
39Related links39---
40
41[Sites documentation](https://developers.openai.com/codex/sites) [Sites showcase](/showcase/sites)
42
43## Best for
44
45- Teams that want to turn recurring workflows into interactive apps.
46- Apps that need lightweight structured persistence, file uploads, or workspace-oriented sharing.
47- Internal tools that benefit from building, testing, deploying, and iterating in one Codex thread.
48
49## Skills & Plugins
50
51- [Sites](https://chatgpt.com/plugins/share/sites)
52
53 Build, test, and deploy a static site or full-stack web app from Codex.
54
55| Skill | Why use it |
56| --- | --- |
57| [Sites](https://chatgpt.com/plugins/share/sites) | Build, test, and deploy a static site or full-stack web app from Codex. |
58
59## Starter prompt
60
61Use @sites to build and deploy an internal app for [team or workflow].
62Goal:
63- [what the app should help people do]
64- [who should use it]
65- [source docs, data, or connected services Codex should inspect]
66Requirements:
67- Keep the first version focused on one useful workflow.
68- Use D1 for structured data persistence.
69- Use R2 for user-uploaded files if needed.
70- Test the main flow, persistence, and responsive layout before deploying.
71Make it available to all workspace users.
72
73Open in the Codex app
74
75Use @sites to build and deploy an internal app for [team or workflow].
76Goal:
77- [what the app should help people do]
78- [who should use it]
79- [source docs, data, or connected services Codex should inspect]
80Requirements:
81- Keep the first version focused on one useful workflow.
82- Use D1 for structured data persistence.
83- Use R2 for user-uploaded files if needed.
84- Test the main flow, persistence, and responsive layout before deploying.
85Make it available to all workspace users.
86 40
87## Build and deploy from one thread41## Build and deploy from one thread
88 42
101You can also leverage [Plugins](https://developers.openai.com/codex/plugins) to fetch or refresh data from internal sources.55You can also leverage [Plugins](https://developers.openai.com/codex/plugins) to fetch or refresh data from internal sources.
102 56
103If you need live data fetching, you can connect to a 3rd party tool using an57If you need live data fetching, you can connect to a 3rd party tool using an
104API key. But if you want to leverage app connections, you can create a [thread58 API key. But if you want to leverage app connections, you can create a [thread
105automation](https://developers.openai.com/codex/app/automations#thread-automations) to fetch data with59 automation](https://developers.openai.com/codex/app/automations#thread-automations) to fetch data with
106plugins on a set schedule, update the app and redeploy it.60 plugins on a set schedule, update the app and redeploy it.
107 61
108## Choose storage deliberately62## Choose storage deliberately
109 63
128 82
129To change access, you can manage your projects from the Sites page in Codex or ask Codex directly to update access to either:83To change access, you can manage your projects from the Sites page in Codex or ask Codex directly to update access to either:
130 84
131@Sites Change this site's access to everyone in my workspace.
132
133## Examples85## Examples
134 86
135The [Sites showcase](/showcase/sites) includes sites examples with full prompts.87The [Sites showcase](https://developers.openai.com/showcase/sites) includes sites examples with full prompts.
136
137- **[Onboarding Hub](/showcase/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.
138- **[Enablement Hub](/showcase/enablement-hub)** provides a searchable training library with filters and saved bookmarks backed by D1.
139- **[Pulse Dashboard](/showcase/pulse-dashboard)** presents metrics, trends, and lineage details while using D1 for configuration and cached snapshots.
140- **[Sparkboard](/showcase/idea-intake)** turns employee idea intake into a workflow with authenticated submissions, voting, comments, status boards, and contributor rankings.
141- **[Launch Cal](/showcase/launch-cal)** organizes upcoming product launches into a monthly calendar with filters, risk signals, checklists, and connected-source references.
142- **[Event Planning Hub](/showcase/event-planning-hub)** combines event requests, approvals, templates, milestones, policy readiness, and connected planning resources.
143
144Use those examples as starting points, then narrow the prompt around your team’s workflow and source material.
145
146## Related use cases
147
148[
149
150### Deploy an app or website
151
152Use Codex with Build Web Apps and Vercel to turn a repo, screenshot, design, or rough app...
153
154Front-end Integrations](https://developers.openai.com/codex/use-cases/deploy-app-or-website)[
155
156### Get from idea to proof of concept
157
158Use Codex with ImageGen to turn a rough idea into a visual direction, implement the smallest...
159
160Front-end Engineering](https://developers.openai.com/codex/use-cases/idea-to-proof-of-concept)[
161
162### Make granular UI changes
163
164Use Codex to make one small UI adjustment at a time in an existing app, verify it in the...
165 88
166Front-end Design](https://developers.openai.com/codex/use-cases/make-granular-ui-changes)89- **[Onboarding Hub](https://developers.openai.com/showcase/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.
90- **[Enablement Hub](https://developers.openai.com/showcase/enablement-hub)** provides a searchable training library with filters and saved bookmarks backed by D1.
91- **[Pulse Dashboard](https://developers.openai.com/showcase/pulse-dashboard)** presents metrics, trends, and lineage details while using D1 for configuration and cached snapshots.
92- **[Sparkboard](https://developers.openai.com/showcase/idea-intake)** turns employee idea intake into a workflow with authenticated submissions, voting, comments, status boards, and contributor rankings.
93- **[Launch Cal](https://developers.openai.com/showcase/launch-cal)** organizes upcoming product launches into a monthly calendar with filters, risk signals, checklists, and connected-source references.
94- **[Event Planning Hub](https://developers.openai.com/showcase/event-planning-hub)** combines event requests, approvals, templates, milestones, policy readiness, and connected planning resources.
167 95
96Use those examples as starting points, then narrow the prompt around your team's workflow and source material.