Skip to content

Set up Codex ​

For OpenAI's Codex in a terminal, in an editor extension, or in the Codex app.

1. Paste this into Codex ​

Open your website's project folder in Codex, then copy this in:

text
Set up ZynoHosting for this project. Follow https://raw.githubusercontent.com/zyno-io/zynohosting-cli/main/docs/agents/install.md

Codex adds a small instruction file to your project, .agents/skills/zynohosting/SKILL.md, that teaches it to use ZynoHosting. The file holds no passwords. You can keep going straight away, with no restart.

If Codex says Node.js is missing or the wrong version, install Node.js 24 from nodejs.org, then paste the message again.

Codex may ask to allow network access or running npx. Allow it; ZynoHosting needs both to reach your site.

2. Sign in ​

text
Sign in to ZynoHosting. Ask only for the permissions this task needs. If my browser can't open the sign-in page, give me a link and a code instead and wait while I approve it. Tell me which account and organization you signed in to, and confirm the sign-in worked before continuing.

A sign-in page opens in your browser. Sign in as usual, read what you are allowing, and approve it.

3. Start working ​

Go to What to ask your agent. In Codex you don't need to name the folder; it works on the open project.

Other projects ​

The setup belongs to one project. Paste the same message in each project you publish, or ask Codex to "install the ZynoHosting skill for all my projects" to put it in your home folder instead.

If something goes wrong ​

What you seeWhat to do
A Node or npx errorInstall Node.js 24 from nodejs.org, then try again.
A network or sandbox errorApprove network access for this command when Codex asks, then ask it to try again.
The sign-in page never openedAsk: Give me the ZynoHosting sign-in link. Links expire after five minutes.
Codex asks you to run a commandReply: Please do that yourself. I don't use the terminal.
Codex doesn't seem to know ZynoHostingAsk: Use the ZynoHosting skill in .agents/skills/zynohosting.
An error you don't understandPaste it back and ask: Explain this in plain language and tell me what to do next.

Documentation for the ZynoHosting CLI and local MCP server.