This guide explains how to configure Xcode's built-in Claude Code integration to work with third-party API endpoints instead of the official Anthropic API. You need Xcode 26.3+ for the Claude Code integration.
You need to first install Xcode's own Claude Code instance, with its own Claude Code binary.
Xcode Settings -> Intelligence -> Anthropic -> Claude Agent -> press Get button