To use codebase indexing in Xcode, we use Voyage AI’s code embedding models.To use Voyage AI in Alex Sidebar without paying a subscription for Alex, you’ll need a Voyage AI API key.Here’s how to get one:
Give your key a name (e.g., “Alex Sidebar”) and create it
Copy the API key - make sure to save it somewhere secure as you won’t be able to see it again
In Alex Sidebar:
Open Settings (⚙️)
Select “Models” at the bottom of the page
Paste your Voyage AI API key in the Voyage AI text field
Keep your API key secure and never share it publicly. If you suspect your key has been compromised, you should immediately rotate it in the Voyage AI Console.