Adding API Keys
Learn how to configure API keys for different AI providers in Promptly
Promptly supports multiple AI providers, including OpenAI, Anthropic (Claude), and Google (Gemini). To use these services, you'll need to add your API keys to the app.
Accessing API Key Settings
You can add or update your API keys at any time by:
- Opening Promptly
- Clicking on the Promptly menu in the menu bar
- Selecting Preferences (or use ⌘,)
- Navigating to the API Keys tab
Supported AI Providers
OpenAI
OpenAI API keys are required to use models like GPT-3.5 and GPT-4. Enter your OpenAI API key in the corresponding field in Preferences.
Anthropic (Claude)
To use Claude models like Claude 3 Opus, Claude 3 Sonnet, or Claude 3 Haiku, add your Anthropic API key in the settings.
Google (Gemini)
For Gemini models, add your Google AI Studio API key in the designated field.
Ollama (Local Models)
For local models running via Ollama, no API key is required. You'll just need to have Ollama installed and running on your machine. See Adding Llama Models for more information.
Security and Storage
Promptly securely stores your API keys in the macOS Keychain, ensuring they're encrypted and only accessible by the application. Your API keys are never sent to our servers and remain on your device.
Troubleshooting
If you encounter issues with your API keys:
- Verify that the key is correct and hasn't expired
- Check that you have billing set up with the provider
- Ensure you have sufficient credits/quota with the provider
- Restart Promptly after adding or updating keys
If you're still having trouble, look for error messages in the Promptly interface or contact support.
Next Steps
- Learn how to obtain API keys for each provider
- Add more AI models to Promptly