Search...
Menu

Codex Installation and Configuration

1. Install the Codex Desktop App

Open the Codex Microsoft Store install page in your browser: https://apps.microsoft.com/detail/9plm9xgg6vks?hl=zh-CN&gl=US

Once the page loads, click Get (Download) and follow the on-screen instructions to complete the installation.

2. Download and Install CC Switch

Download link: https://ccswitch.io/en/download

Choose the appropriate client to install.

After installation, make sure CC Switch can open normally. Your browser will try to launch CC Switch later when importing the configuration.

3. Create a Dedicated Codex Token

1
Open the AiLink website and sign in: https://ailink.nativex.com
2
After signing in, go to Console → Token Management → Add Token.
3
On the token creation page, fill in the following as needed: - Name: Use a name you can easily recognize, e.g. Codex Token. - Quota Settings: Set a quota based on your needs. If you don't need to limit usage, keep the default settings.
4
Once everything looks correct, click Submit.

4. Open the CC Switch Configuration Entry

1
After the token is created, you'll be taken back to the token list.
2
Find the token you just created, click the Chat dropdown on the right side of that row, and select CC Switch.
3
In the import configuration dialog that appears: - Under Primary Model, select the model you want to use, e.g. gpt-5.6-sol. - After clicking Open CC Switch, your browser may show a confirmation prompt to open an external app. Please allow the browser to open CC Switch.

5. Import and Enable the Configuration

1
Once CC Switch opens, it will display the provider configuration about to be imported.
2
Confirm that the app type, website URL, API endpoint, model, and other details are correct, then click Import.
3
After a successful import, find the newly imported configuration (e.g. My Codex) in CC Switch's provider list and click Enable.
4
Once enabled, click the Connectivity Test button next to that configuration. If the page shows Connected, the CC Switch configuration is working.

6. Verify the Codex Desktop App

Open the Codex desktop app, start a new conversation (or open an existing one), and send a test message. If the model responds normally, Codex desktop app configuration is complete.

7. FAQ

Nothing happens after clicking "Open CC Switch" Make sure CC Switch is installed and can launch normally. If your browser is blocking the external app call, allow it to open CC Switch when prompted.

Can't connect after importing Check the following first: whether your network can access https://ailink.nativex.com/ normally.

Codex desktop app is not responding Make sure the configuration currently enabled in CC Switch is the one you just imported, then run the Connectivity Test again. Once it passes, go back to the Codex desktop app and resend your message.

Last modified: 2026-11-17