Skip to content
AnchrasDocumentation
Browse documentation

Integrations / User guide

AI providers

Preview

Ollama

Configure Ollama through the AI gateway with explicit endpoint, credential and model verification.

On this page

Before you begin

Run Ollama and pull the model you plan to serve. A default Ollama server does not require a provider API key; choose Skip for now in credential setup. You need permission to manage providers and organization secrets in Anchras. The preset starts with http://localhost:11434/v1. Confirm this is the correct API base URL for your deployment. The hostname localhost refers to the Anchras server, not your browser or workstation. Use an address reachable from the server when inference runs on another machine.

Connect the provider

  1. Open Integrations, select Ollama, and choose Connect. The AI gateway opens the selected preset.
  2. Confirm the display name, provider slug, API base URL and enabled state.
  3. Bind an existing organization secret or create a protected credential. For a credential-free endpoint, choose Skip for now.
  4. Save the provider. Import or register the intended models and configure a route before directing application requests to it.

Verify the connection

Use provider catalog discovery when supported, then send a small authorized request through a scoped Anchras gateway application key. Check the returned model and attributed usage. Provider creation alone does not prove live endpoint access or model compatibility. Testing a hosted model can incur provider charges.

Operate the connection

Return to Integrations to inspect the saved connection. Manage opens its exact provider ID for renaming, enabling or disabling, and credential actions. Rotate provider credentials independently from application keys. Recheck the route after rotation or endpoint changes.

Availability and limits

Preview: the setup preset and connection discovery are implemented; this label does not certify every model, provider permission or production workload. Verify the exact endpoint and model before relying on it. Prompts follow the selected provider route; deployment location and upstream model processing determine where data is handled.

Troubleshooting

Check server-side network reachability and the API base path before changing credentials. For authentication errors, distinguish the upstream provider credential from the Anchras application key. For model errors, check the exact model ID, provider access and configured route. An untested connection has no verified live-health evidence.