Connecting a provider is straightforward, but it takes a few things ready in advance. Each provider needs specific data to authorize and set up the connection. To connect an external provider, prepare:
- API key — the access key for the provider’s API. Get it in your provider account.
- Base URL — the provider’s API address. For most providers, it’s pre-filled by default in the matching connection field in SingularityApp.
The “AI source” section has two options: “Third-party provider models” and “Local model (Ollama).” Inside “Third-party provider models” there are provider rows: OpenAI and Anthropic (Claude). Inside “Local model (Ollama)” there is the Ollama row.
Click a provider row to expand it. The expanded row has a key field, a “Where to get the API key” link, and a “Save settings” button.
The server address is changed with the “Configure URL” button. It opens the Base URL field and a hint; for most providers the address is already filled in.
OpenAI
- Go to openai.com/index/openai-api/ and sign in.
- In the top-right corner, choose “Start building”.
- Create an organization and give it a name.
- Skip adding other users (or invite them if needed).
- Enter a name and create an API key.
- Copy the API key you get and save it.
- Skip or top up your balance right away if needed.
- Open the SingularityApp app (Settings → AI assistant → “AI source” → “Third-party provider models” → “OpenAI”).
- Enter the API key in the “API Key” field and save.
Anthropic (Claude)
- Go to platform.claude.com/dashboard and sign in.
- Choose “Get API Key”.
- Click “Create Key”.
- Choose a workspace (if you need a different one) and enter a name for the key.
- Copy the API key you get and save it.
- Open SingularityApp (Settings → AI assistant → “AI source” → “Third-party provider models” → “Anthropic (Claude)”).
- Enter the API key in the “API Key” field and save.
Ollama
Ollama works with both local models and ollama-cloud. The connection steps are the same for both.
- Go to ollama.com and download the Ollama app.
- Install Ollama on your computer.
- Start Ollama, either through the interface (via the app shortcut) or by running ollama serve in the terminal.
- Download the model you want from ollama.com/library. Pick the model you need from the available catalog.
- To add a model, run ollama run MODEL_NAME in the terminal (for example, ollama run llama2).
- Open the SingularityApp app (Settings → AI assistant → “AI source” → “Local model (Ollama)” → “Ollama”).
- Enter the URL you get in the “Base URL” field (if Ollama is running at the same time, via ollama serve or the app, just click save).