How to use OpenAI Codex for marketing websites

Use Codex for the content work on a marketing site that touches many files at once, and keep every change in a pull request your team reviews. Codex handles the edits across pages and templates; Brand Armor AI tells it which pages to change and why, using Search Console, AI answers and saved crawler diagnostics. After merging, it can also draft the announcement for your social channels.

  • Sign in with OAuth, API key optional
  • Setup in about 1 minute
  • Setup checked against OpenAI's docs, 29 November 2026

Codex marketing workflows, step by step

How to use Codex to update meta titles and descriptions in one pull request

Let Search Console decide which pages get new meta tags, and let Codex make the edits in a single reviewable change. Brand Armor AI lists growth opportunities with the Search Console comparison for each page, so Codex only touches pages where the evidence supports it.

  1. Ask Brand Armor AI for growth opportunities where pages show impressions but weak clicks in the Search Console comparison.
  2. Have Codex find where each page sets its title and description, whether in frontmatter, a CMS export or a metadata function.
  3. Ask for new titles and descriptions within length limits, with the old and new text listed in the pull request description.
  4. Review the pull request page by page and merge only the rewrites you agree with.
Prompt for Codex
Use Brand Armor AI to list growth opportunities with weak clicks in Search Console. Update the meta title and description for each referenced page in this repo on a new branch, and list old versus new text in the pull request description.

Result: One pull request with evidence-backed meta tag changes your team can review line by line.

How to use Codex to add schema markup to page templates

Fix structured data once in the template instead of page by page. Brand Armor AI's saved crawler diagnostics show which page types have missing or invalid structured data, and Codex adds the right JSON-LD to the shared layout or component so every page of that type gets it.

  1. Read the structured data findings from your saved Brand Armor AI crawler diagnostics.
  2. Have Codex group the affected URLs by template, such as product, article or FAQ pages.
  3. Ask it to add or correct the JSON-LD in each template, filled from data the page already has.
  4. Run your tests and a local build, then open the change for review.
Prompt for Codex
Read the structured data findings in our Brand Armor AI crawler diagnostics. Group the affected URLs by template in this repo, add or fix the JSON-LD in each template, and run the build before preparing the pull request.

Result: Schema fixed at the template level, so new pages of the same type are covered too.

How to use Codex to write release posts from a merged pull request

The pull request already describes what changed, so Codex can turn it into an announcement without a separate brief. With Brand Armor AI connected, it saves the posts as drafts on your connected channels, and only schedules them when you ask.

  1. Point Codex at the merged pull request or the new changelog entry.
  2. Ask Brand Armor AI which social channels are connected.
  3. Have Codex write one customer-facing post per channel, leaving out internal details such as file names.
  4. Save the posts as drafts, then approve or schedule them in Brand Armor AI.
Prompt for Codex
Read the latest merged pull request in this repo and the connected channels in Brand Armor AI. Write one customer-facing post per channel about what changed for users and save each as a draft.

Result: Draft announcements for every connected channel, written from what actually shipped.

What Codex does on its own, and what it needs Brand Armor AI for

Codex on its own

  • Makes consistent edits across many files and templates in one task.
  • Works on a branch and explains its changes, which fits a pull request review flow.
  • Runs tests and builds so broken markup is caught before review.

With Brand Armor AI connected

  • It does not know which pages Search Console shows underperforming; Brand Armor AI attaches that comparison to each opportunity.
  • It cannot see structured data and crawlability problems on the live site; Brand Armor AI's saved crawler diagnostics list them.
  • It cannot post to your social accounts; Brand Armor AI saves drafts and schedules or publishes only on your request.

Every connection starts read-only. Posts are saved as drafts unless you ask to schedule or publish, and you approve actions when you connect. See everything an agent can do in Brand Armor AI.

How to connect Codex to Brand Armor AI

You need a Brand Armor AI account with your website and social channels connected. You add Brand Armor AI to Codex with codex mcp add brandarmor --url https://api.brandarmor.ai/mcp and sign in with codex mcp login brandarmor. The Codex CLI, IDE extension and ChatGPT desktop app share this configuration, so one setup covers all three.

  1. Add the server

    Run this in your terminal.

    bash
    codex mcp add brandarmor --url https://api.brandarmor.ai/mcp
  2. Sign in

    This opens Brand Armor AI in your browser. On a remote machine add --no-browser, open the printed URL and paste the redirect URL back.

    bash
    codex mcp login brandarmor
  3. Or use the app

    In the desktop app or IDE extension: Settings, MCP servers, Add server, Streamable HTTP, paste the URL, save and restart.

Prefer an API key?

  1. Use an API key

    Add the server to ~/.codex/config.toml and read the key from an environment variable. Create the key in Brand Armor AI under Settings, AI connections, API keys. Choose "Read and act" only if the agent should create, schedule or publish. Keep it in an environment variable or the agent's secret store, never in a shared file.

    toml
    [mcp_servers.brandarmor]
    url = "https://api.brandarmor.ai/mcp"
    bearer_token_env_var = "BRANDARMOR_API_KEY"
  • Codex uses OAuth by default for remote servers.

More things to ask Codex

  • “Get our top Brand Armor AI growth opportunity and make the change to that page in this repo.”
  • “Which saved crawler diagnostics flag missing structured data? Add it to those templates.”
  • “Draft a LinkedIn post about this release and save it as a draft in Brand Armor AI.”

Codex for marketing: questions

Can OpenAI Codex open pull requests for website changes?
Codex can make changes on a branch and prepare them for review, and Codex in the cloud can create pull requests from a task. Keeping marketing site edits in pull requests gives your team a clear record of what changed.
Can a marketing team use Codex without a developer?
It helps to have someone who can read a diff and run the site locally. Codex does the editing, but a person should still review content and markup changes before they go live.
Can Codex update meta descriptions on hundreds of pages?
Yes, especially when they come from frontmatter or templates. Prioritize with Search Console evidence from Brand Armor AI and review in batches rather than merging one huge change.
Does the ChatGPT desktop app use the same Codex setup?
Yes. The Codex CLI, IDE extension and ChatGPT desktop app read the same configuration, so adding Brand Armor AI once covers all three.
Do the CLI and the IDE extension need separate setups?
No. The Codex CLI, IDE extension and ChatGPT desktop app read the same configuration.
Is this the same as the ChatGPT connector?
No. ChatGPT on the web uses a custom MCP plugin. Codex is configured with the command above.

Setup checked against official OpenAI documentation on 29 November 2026:

Codex is a trademark of OpenAI. Brand Armor AI is not affiliated with or endorsed by OpenAI.

Turn marketing site fixes into pull requests

Start free, connect Search Console and your site, then add Brand Armor AI to Codex. Your first pull request can target the pages your data flags today.

Start free