Skip to main content
If you have installed CC Switch or Cherry Studio, the DimiLinks console can send the current key directly to your local client, so you do not need to enter the base URL and model manually.

One-click import workflow

  1. Open the API Keys page in the DimiLinks console.
  2. On the target key, click “Import to CC Switch” or “Import to Cherry Studio.” Before importing to CC Switch, you can choose which tool to configure (Claude Code / Codex / Gemini CLI) under “Configure CC Switch for.” The console recommends a default based on the key’s models.
  3. The browser opens a system-level deep link. The corresponding client handles it and writes the base URL, key, and model automatically.
The console recommends a target provider based on the key’s model restrictions and groups: Every request uses api-direct.dimilinks.com. One-click import writes the correct form with or without /v1, depending on whether the target client appends the API path automatically. Common reasons an import fails:
  • The client is not installed or has not registered its deep-link scheme (ccswitch:// / cherrystudio://).
  • The browser blocked the scheme navigation. Focus the address bar and press Enter once, then try again.
  • When the operating system sees the protocol for the first time, it asks whether to open the local application. Approve the request.
  • The import succeeded but does not appear in CC Switch: providers appear only in the list for the tool selected during import. Claude Code, Codex, and Gemini have separate lists. Open the correct tool tab, or select a different target in the console and import again.
  • For Claude Code, choose a key in a Claude group. A key limited to general-purpose groups cannot call Claude models.
The console generates a URL like this:
data is URL-safe base64 that decodes to JSON:
type matches a Cherry Studio provider type: openai / anthropic / gemini. If you do not want one-click import, create the provider manually in the client: After setup, use “Test connection” or send a minimal chat message to verify the connection.