It’s easy to setup the Home Assistant Ollama integration. But before you do that you need to make your Ollama installation accessible to external devices.
To do this you need to ensure the Ollama service is bound to 0.0.0.0
.
launchctl setenv OLLAMA_HOST "0.0.0.0"
and then restart Ollama with
brew services restart ollama