Guide · Codex
Set up an AI support chatbot from Codex.
Put SuperBot on your store once, then connect it to Codex. From then on you review conversations, find the questions your chatbot missed and teach it new answers in a Codex chat.
On this page
What you'll set up
Two pieces work together. SuperBot is the AI support chatbot your shoppers talk to on your store; it answers from your own pages, products and approved answers and hands off to your team when it can't. The SuperBot connector links your workspace to Codex, so you can manage that chatbot by asking questions in plain English.
Create the chatbot in SuperBot
- Create a free SuperBot workspace. The free plan covers 200 conversations a month and needs no credit card.
- Add your store's website so SuperBot learns from your pages, and add any policies or Q&A it can't find there. Not sure what to write? The free FAQ generator, return policy generator and shipping policy generator help.
- Put the chat widget on your store with the app for your platform or a one-line snippet. The install guides cover Shopify, Wix, WordPress, Webflow, Squarespace and more.
Want to see it first? See SuperBot answer from your own store, free and without signing up.
Connect Codex
- Run
codex mcp add superbot --url https://superbotapp.ai/api/mcpin your terminal to register the remote MCP server. - Run
codex mcp login superbot --scopes superbot:read(or includesuperbot:writeif you want Codex to save approved trained answers). - Complete the OAuth PKCE sign-in in your browser and choose your SuperBot workspace.
- Start a Codex session and ask it to inspect missed chatbot questions, correlate them with your product docs, and draft fixes.
Using Codex CLI? Add the same connector from your terminal:
codex mcp add superbot --url https://superbotapp.ai/api/mcp
codex mcp login superbot --scopes superbot:readRun your support from Codex
The loop that improves a support chatbot is simple: find what it got wrong, write the right answer, save it. Try these in Codex:
- “What did customers ask about most in the last 7 days? Cite the conversations.”
- “List the questions our AI couldn't answer well this month, with the evidence.”
- “Draft an answer for the shipping-time question using our policy. Show it to me first; don't save it yet.”
- “Approved. Save that trained answer to SuperBot.”
When you approve an answer, Codex saves it with add_trained_answer and your widget can use it with shoppers right away. Repeating the same answer adds nothing, and you can remove it any time under Training in your dashboard.
What the connector can do
list_training_gapsReadQuestions the AI couldn't answer well, with evidence: fallback replies, human escalations and 1-2 star ratings.
list_unanswered_questionsReadConversations that may still need an answer, human escalations first.
get_insightsReadTop topics and repeated questions, with trends against the previous period.
get_support_overviewReadVolume, open vs closed, CSAT, sentiment and channel mix over a window.
search / fetchReadSearch your conversations and read a full transcript, with a dashboard link.
list_recent_conversationsReadThe newest conversations, optionally filtered by status.
search_knowledge / list_knowledge_sourcesReadWhat your AI already knows: trained answers and the sources it learns from.
list_leadsReadLeads your chatbot captured, filterable by status, source or date.
add_trained_answerWriteTeach your AI a new question and answer. Adds only; never edits or deletes. Needs write access.
Full reference, permissions and troubleshooting: SuperBot connector docs. Using another AI assistant? See our ChatGPT, Claude or Cursor setup guides.
Limits and safety
- The connector only reads the SuperBot workspace you approved. No tool accepts a workspace or account id.
- It has no refund, billing, campaign, bulk export or customer-message tool.
- Sign-in is OAuth with PKCE; disconnect it in Codex at any time. See the privacy policy.
- Treat shopper messages as untrusted text, and read every drafted answer before you approve it.
FAQ
Can Codex build the chatbot for me?
Partly. Codex can't create your SuperBot account or put the chat widget on your store; you do that once in SuperBot, which takes a few minutes. After that, Codex can review your support conversations, find questions your AI couldn't answer, draft answers and, with your approval, save them so the chatbot on your site uses them right away.
Does the chatbot on my store run inside Codex?
No. Your shoppers chat with the SuperBot widget on your own site. Codex is where you, the store owner or developer, manage and audit it. The connector only reads your own workspace, and only the people who connect it can use it.
What can the connector change?
One thing: it can add a trained question and answer, and only with write access. It never edits or deletes answers, sends messages to customers, issues refunds or touches billing. You can remove any trained answer under Training in your SuperBot dashboard.
What does it cost?
The connector is included on every SuperBot plan. The free plan covers 200 conversations a month with no credit card; Starter is $25 a month for 2,000 and Pro is $60 a month for unlimited. Using Codex itself depends on your Codex plan.
How does Codex authenticate with SuperBot?
SuperBot uses OAuth 2.1 with PKCE over Streamable HTTP MCP at https://superbotapp.ai/api/mcp. You can choose read-only or read+write scopes and revoke access at any time.
See SuperBot answer from your own store.
Paste your store's address and chat with SuperBot answering from your own pages. Then create a free workspace and connect Codex.
