Zactonz AI Connector: Ollama

v1.1.0

Ollama connector for the WordPress AI Client. Run local, self-hosted or Ollama Cloud models for text, images, embeddings and tool calling.

WordPress 7.0+PHP 7.4+Ollama (local, self-hosted or Cloud) Updated 3 Aug 2026

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.

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:

  1. Set the OLLAMA_HOST environment variable, which takes precedence.
  2. Choose Self-hosted on Settings › Connectors or Settings › Ollama, then enter your host URL or IP and port.