Setup guide ยท Published June 6, 2026

Use ApparelHub from Codex

Codex is OpenAI's agent product family. The CLI runs locally on your machine, while Codex Cloud runs in a managed sandbox. The setup story splits along that line.

The Codex CLI shares our Claude Code install path

If you're running Codex on your local terminal, the install is almost identical to the Claude Code install we already document on apparelhub.ai/agents. Pull the apparelhub-skills repository, symlink the skill directory into the location Codex expects, and supply your API key as an environment variable. The packaged scripts (ah_check for auth verification, ah_poll_mockup for the multi-phase preview job poll, the transparent background helper) work the same way they do under Claude Code because they're plain shell and Python.

Generate an API key at apparelhub.ai/developer/api-keys and either export it in your shell or store it through whatever secret manager your harness uses.

Codex Cloud needs the egress allowlist

Codex Cloud runs your sessions in a managed sandbox similar to Claude on the web. To let it reach ApparelHub, you'll allow the three hosts the platform needs:

api.apparelhub.ai
apparelhub-production-user-generated-public-objects.s3.amazonaws.com
apparelhub.ai

The mechanics of adding domains to the allowlist vary by Codex Cloud surface. We're documenting each one in detail. The reasoning behind each domain is the same one we cover in the Claude Web walkthrough.

Use the bootstrap prompt in either surface

Even on the CLI, the bootstrap prompt at github.com/ApparelHub-AI/apparelhub-skills/blob/main/apparelhub/BOOTSTRAP-PROMPT.md is useful as a system instruction. It primes Codex with the field-name traps, the 10-step product creation pipeline, and the design transparency rule that have tripped up every first integration.

What we're still validating

We're walking each surface end-to-end and will publish a full guide with the exact configuration paths and screenshots. The CLI path is the closest to ready; Codex Cloud's allowlist and tool registration steps we're still verifying.

If you've gotten ApparelHub working from Codex and want to share what worked, open a discussion on the apparelhub-skills repo. We'll fold what you share into the published guide.

Subscribe for the full guide

We publish the full Codex walkthrough as soon as we've validated every path end-to-end. The blog index and the RSS feed carry the announcement when it's out.