Navigate: File > Settings
- API Key: OpenAI API key
- Model: Which model from OpenAI to use for all LLM tools
- Batch Limits: Max batches to retrieve from OpenAI (currently not functional)
- Timezone: Timezone
User-configurable settings are stored in platform-appropriate directories:
- Windows:
%APPDATA%\CodebookAI\config.json - macOS:
~/Library/Application Support/CodebookAI/config.json - Linux:
~/.config/CodebookAI/config.json
- Application Defaults: Read from
settings/config.py(read-only) - User Overrides: Stored in user-specific JSON configuration file
- Merged Configuration: User settings override defaults at runtime
- Bundled Application Safe: Works correctly in PyInstaller and other bundled environments
- Obtain Key: Visit OpenAI API Keys
- Copy Key: Starts with
sk-followed by alphanumeric characters - Paste in Settings: API Key field in CodebookAI settings
- Secure Storage: Key stored in system keyring (Windows Credential Manager, macOS Keychain, Linux Secret Service)
- Local Storage: Keys never leave your system
- Encrypted: Stored using OS-level encryption
- No Logging: Keys never appear in logs or error messages
- Revocable: Can be changed/revoked anytime from OpenAI dashboard