Search...
Menu

Claude Code Desktop Installation and Configuration

1. Preparation

Before you start, make sure your current network can access https://ailink.nativex.com normally.

2. Install the Claude Desktop App

1
Open the official Claude download page in your browser: https://claude.com/download
2
On the page, choose the version for your current operating system and follow the on-screen instructions to complete the installation.
3
Once installed, open the Claude desktop app and confirm it launches normally.

If the app shows a connection error at this point, that's expected. The model service hasn't been configured yet — for now you just need to confirm the app opens correctly.

3. Install CC Switch

Install CC Switch first. Download link: https://ccswitch.io/zh/download

After installation, make sure CC Switch can open normally. You'll need to manually add a Claude provider configuration in CC Switch later.

4. Create a Dedicated Claude 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. Claude 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.

5. Copy the Token Key and Add a Claude Configuration

1
After the token is created, you'll be taken back to the token list.
2

Find the token you just created, click the Copy button next to Key in the middle of that row, then select Copy Key.

3

Open CC Switch, click the Claude Desktop icon at the top, then click the plus (+) button in the top right corner.

4

On the add provider page, click Custom Configuration.

5

On the custom configuration page, fill in the following: - Provider Name: Use a name you can easily recognize, e.g. My Claude. - Website URL: You can enter https://ailink.nativex.com. - API Key: Paste the key you just copied from the AiLink token list. - Request URL: Enter AiLink's Claude-compatible request endpoint. Use the exact address shown on the page or in the screenshot.

6

After filling in the details, expand Manually specify Claude Desktop model list (advanced, optional). - If the model list can be fetched automatically, click Fetch Model List. - If it can't be fetched, click Add Model and manually add the models you want to use.

7
Once models are added, select the model you want to use, e.g. claude-opus-5, then click Add in the bottom right corner of the page.

6. Add and Enable the Configuration

1
After adding successfully, CC Switch will return to the provider list.
2
Find the configuration you just added (e.g. My Claude) in the list and click Enable.
3
Once enabled, click the Connectivity Test button next to that configuration. If the page shows Connected, the CC Switch configuration is working.

7. Verify the Claude Desktop App

Open the Claude desktop app — you should be able to enter the chat window normally. Start a new conversation (or open an existing one) and send a test message. If the model responds normally, the Claude desktop app configuration is complete.

8. FAQ

Can't add the configuration after copying the key Make sure you copied Copy Key from the token list, not Copy Connection Info. If you get an "invalid API Key" error when adding it, copy the key again and make sure no extra spaces or characters got included.

Connectivity test fails Check the following first: whether your network can access https://ailink.nativex.com normally.

Claude desktop app still shows a connection failure Make sure the configuration currently enabled in CC Switch is the one you just added, then run the Connectivity Test again. Once it passes, reopen the Claude desktop app or resend your test message.

Claude desktop app is still using the default service Make sure the Claude provider configuration in CC Switch is in the Active state. If there are multiple provider configurations, enable the AiLink Claude configuration you just added.

Last modified: 2026-11-17