Zactonz AI Connector: Ollama
v1.1.0Ollama connector for the WordPress AI Client. Run local, self-hosted or Ollama Cloud models for text, images, embeddings and tool calling.
FAQ
How do I install Ollama?#
Visit ollama.com to download and install Ollama for your platform. Once installed, pull a model (for example ollama pull llama3.2) and the connector will discover it automatically.
Why does this plugin appear in the connector search?#
WordPress links to the plugin directory from Settings › Connectors when a needed connector is not installed. This plugin is tagged as a connector and registers Ollama as a WordPress AI Client connector after activation.
Do I need an API key?#
Ollama Cloud requires a valid API key, entered in Settings › Connectors or Settings › Ollama.
Self-hosted Ollama does not need an API key by default. If your self-hosted endpoint is protected, enter the optional self-hosted API key. Cloud and self-hosted keys are stored separately and applied to requests for the active connection mode.
An OLLAMA_API_KEY environment variable or PHP constant can also be used and takes priority over saved admin keys.
How do I change the Ollama host URL?#
By default the connector uses http://localhost:11434. You can change this in two ways:
- Set the
OLLAMA_HOSTenvironment variable, which takes precedence. - Choose Self-hosted on Settings › Connectors or Settings › Ollama, then enter your host URL or IP and port.