Use PaletteAI Inference Launchpad with Claude Desktop
This guide explains how to connect the Claude Desktop app on macOS to a PaletteAI Inference Launchpad appliance so that a model running on the appliance answers your conversations instead of Anthropic's hosted API. Claude Desktop does not read the Claude Code environment variables. Instead, you trust the appliance certificate in the macOS keychain, enable Developer Mode, point Claude Desktop at the appliance, and confirm the connection.
To connect Claude Code instead, refer to Use PaletteAI Inference Launchpad with Claude Code.
Your connectors, such as GitHub, Google Drive, and Slack, stop working in Claude Desktop after you connect it to the appliance. Claude Desktop also no longer shows the chats, artifacts, and projects in your Anthropic account. Your account's connectors, chats, artifacts, and projects stay available at claude.ai in a web browser.
Prerequisites
-
Claude Desktop installed on macOS. For installation, refer to the Claude Desktop download page.
-
A running PaletteAI Inference Launchpad appliance with at least one model deployed and serving. To deploy a model, refer to Deploy a Model.
-
An API token for the appliance. To create one, refer to Generate an API Token, or use a token an administrator generated for you.
Trust the Platform CA Certificate
-
In the PaletteAI Inference Launchpad console, select Connect Coding Agent on the homepage. The Connect a coding agent panel opens.
-
The panel has no Claude Desktop tab, so select the Claude Code CLI tab. If the tab shows no CA certificate step, skip to Enable Developer Mode. Otherwise, select CA certificate. The browser saves
palette-ai-inference-launchpad-ca.crtto yourDownloadsfolder. -
In a terminal, add the platform Certificate Authority (CA) certificate to your login keychain. If macOS asks you to authenticate, approve the prompt.
security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db $HOME/Downloads/palette-ai-inference-launchpad-ca.crtThe command prints nothing when it succeeds.
-
Confirm that macOS trusts the appliance.
curl --silent --show-error --output /dev/null https://<appliance-host>/v1/models && echo "macOS trusts the appliance."Replace
<appliance-host>with your appliance address.Example OutputmacOS trusts the appliance.If the command prints a certificate error instead, confirm that the certificate path in step 3 points to the file that you downloaded, and then run step 3 again.
Enable Developer Mode
-
Open Claude Desktop. If you are signed in, sign out. Stay on the sign-in screen.
-
From the menu bar, select Help > Troubleshooting > Enable Developer Mode.
-
Confirm the prompt. Claude Desktop restarts, and Enable Developer Mode no longer appears in the menu.
Configure Claude Desktop
-
From the menu bar, select Developer > Configure Third-Party Inference. If the Developer menu does not list Configure Third-Party Inference, sign out, and then repeat Enable Developer Mode.
-
Under Connection, select Gateway, and then fill in the following fields. Leave Artifact preview iframe origin and Custom inference headers blank.
Field Value Credential kind Static API key Gateway base URL https://<appliance-host>Gateway API key Your lpai_API tokenGateway auth scheme bearer Model discovery Enabled Replace
<appliance-host>with your appliance address. -
Select Test connection, and confirm that the test passes.
-
If the test reports a certificate or connection error, repeat Trust the Platform CA Certificate, and then select Test connection again.
-
If the test reports
HTTP 401, generate a new token by following Generate an API Token. Enter the token in Gateway API key, and then select Test connection again.
-
-
(Optional) To let Claude reach other hosts, such as websites and package registries, select Capabilities. Add the hosts to Allowed egress hosts. To allow every host, enter
*. -
Select Apply Changes, and then select Save & Restart. Claude Desktop restarts.
Verify the Connection
-
In Claude Desktop, start a new conversation and send a test prompt.
reply with exactly DESKTOP_OK and nothing else -
Confirm that Claude Desktop displays the reply
DESKTOP_OK. If Claude Desktop shows an error instead, select Developer > Configure Third-Party Inference, and select Test connection. Fix the error that the test reports by following step 3 of Configure Claude Desktop.
Next Steps
-
To deploy another model to the appliance, refer to Deploy a Model.
-
To understand how the appliance picks a model for each request, refer to Routing Behavior.