# CC Switch one-click import

> Use the CC Switch desktop tool to import your LMU AI API config into Claude Code in one click, skipping the manual settings.json edit.

URL: https://docs.lmuai.ai/docs/tools/cc-switch





**CC Switch** is an open-source, cross-platform desktop tool for managing and one-click-switching API provider configs across AI coding tools like Claude Code, Codex, OpenCode, and Gemini CLI.

Combined with the "**Import to CCS**" button in the LMU AI console, it connects Claude Code to the API in a single click, **with no need to create or edit `settings.json` by hand**.

***

## Step 1 — Install CC Switch [#step-1--install-cc-switch]

Download the installer for your platform from the official repo's Releases page:

* **GitHub Releases**: [https://github.com/farion1231/cc-switch/releases](https://github.com/farion1231/cc-switch/releases)

Windows / macOS / Linux are supported. After installing, launch CC Switch at least once so the system registers its custom URL scheme.

<Callout type="info">
  After the first launch, keep CC Switch running (or let it stay in the background) so that clicking "Import to CCS" can invoke it correctly.
</Callout>

***

## Step 2 — Create an API key in the LMU AI console [#step-2--create-an-api-key-in-the-lmu-ai-console]

See [Getting started - Create an API key](/docs/guide/getting-started#create-key):

1. Open "**API Keys**" from the left menu
2. Click "**Create key**" and give it any name
3. Choose the **group** for the plan you have redeemed, and finish creating it

***

## Step 3 — Import to CC Switch in one click [#step-3--import-to-cc-switch-in-one-click]

In the API key list, find the key you just created and click the "**Import to CCS**" button in the "**Actions**" column on the right of its row:

<img alt="The &#x22;Import to CCS&#x22; button location in the LMU AI console API key list" src="__img0" />

* The browser shows a prompt asking "Allow this site to open CC Switch?" — click "**Allow / Open**"
* CC Switch automatically detects and fills in the LMU AI `Base URL` and your API key
* Set that config as the active item in CC Switch

<Callout type="info" title="The first-time prompt">
  Different browsers (Chrome / Edge / Safari) word the confirmation slightly differently, but all ask whether to launch the external application CC Switch. Check "remember my choice" to avoid being asked again.
</Callout>

***

## Step 4 — Make it take effect in Claude Code [#step-4--make-it-take-effect-in-claude-code]

CC Switch writes the selected config into Claude Code's `settings.json` (or injects env vars at launch), so:

* If Claude Code is **already open**, restart it once so the new config takes effect
* After that, just run `claude` — no need to edit any config file by hand

Verify the Base URL is `https://api.lmuai.ai` with the `/status` command.

***

## Common issues [#common-issues]

### The "Import to CCS" button does nothing [#the-import-to-ccs-button-does-nothing]

**Cause:** the system has not registered CC Switch's URL scheme.

**Fix:**

1. Confirm you fully installed CC Switch (not an unzipped portable build run directly)
2. Launch CC Switch once, quit it completely, then click "Import to CCS" again
3. If it still fails on Windows, look for a "register protocol / associate links" option in CC Switch settings

### The browser blocked the protocol jump [#the-browser-blocked-the-protocol-jump]

Some browsers block unknown protocols by default. In the dialog, choose "**always allow** the docs / console domain to open links like this."

### You want to add the config manually [#you-want-to-add-the-config-manually]

CC Switch also supports adding a custom provider manually:

* **Name**: anything (e.g. `LMU AI`)
* **Base URL**: `https://api.lmuai.ai`
* **API Key**: the `sk-` key generated in the console

Save it and set it as the active item on the main screen.

***

## Recommendations [#recommendations]

* CC Switch can store keys for multiple groups / plans and switch with a click, which makes it **better than editing `settings.json` for multi-plan users**
* In tray-resident mode it uses very little, so setting it to start at boot is recommended
* If you mainly use the command line and don't mind editing a config file, keep configuring by hand per the [Claude Code guide](/docs/tools/claude-code) — both have the same effect
