Skip to content

How to set up an AI provider in rConfig V8

How to set up an AI provider in rConfig V8

Section titled “How to set up an AI provider in rConfig V8”

rConfig doesn’t ship its own AI model. You bring one: a cloud API such as Anthropic or OpenAI, or a model you run yourself with Ollama. This page shows how to connect each provider type, test it, and make it the active provider that every AI capability uses.

If this is your first time setting up the AI Center, start with Getting Started. It covers the steps before and after this one.

  • The aicenter.update permission. The AI Settings tab is shown only to users whose role has it, and saving a provider needs it. Admins have it. From V8.4.2 the tab follows the permission, not the role name, so a custom role with aicenter.update sees it too.
  • AI_CENTER_ENABLED=true on the server (see below).
  • Credentials for your provider: an API key for a cloud provider, or the URL of a model server the rConfig server can reach.

AI_CENTER_ENABLED isn’t in a default .env file, and it defaults to false. Add it to /var/www/html/rconfig8/.env, then clear rConfig’s caches:

AI_CENTER_ENABLED=true
Terminal window
cd /var/www/html/rconfig8
php artisan rconfig:clear-all
If you need… Choose Why
The best answers with least setup Anthropic or OpenAI Paste an API key and go. Strong reasoning on long configs.
To stay inside your Google Cloud estate Google Gemini Key from Google AI Studio.
To stay inside an Azure tenancy with your own deployment Azure OpenAI Uses your Azure resource and data-processing agreement.
Another hosted model vendor Mistral, xAI (Grok), DeepSeek, Groq, Cohere or OpenRouter From V8.4.2. Paste the vendor’s API key and pick a model. OpenRouter reaches many vendors’ models with one key.
Configs that never leave your network Ollama Model runs on hardware you control. No API key, no internet needed for inference.
A self-hosted model server or gateway (vLLM, LM Studio, LiteLLM) OpenAI-Compatible Any server that speaks the OpenAI chat API.
  1. Click AI Center in the left sidebar.
  2. Select the AI Settings tab.

If no provider exists yet, you’ll see No provider configured yet. with an Add Provider button.

rConfig V8 AI Settings tab showing the empty state with a dashed border and an Add Provider button before any AI provider has been configured

Click Add Provider (or press Alt+N).

From V8.4.2, the form is built from a model catalogue that ships with each rConfig release. The catalogue decides which providers are listed, which fields each one needs, which models are offered, and which model is recommended. New providers and models arrive with rConfig upgrades, so the form on your server is always the reference for what your release supports.

Field What to enter
Display name A name you’ll recognise on the provider card, such as “Production Anthropic” or “On-prem Ollama”. Must be unique.
Provider Every provider your release supports. Changing it clears the fields you’ve entered.
API Key Required for hosted providers, optional for OpenAI-Compatible, not shown for Ollama. Stored encrypted and never shown again; the card only says Configured.
Endpoint Azure OpenAI only: your resource’s endpoint.
Base URL Ollama and OpenAI-Compatible only: the address of your model server, as seen from the rConfig server.
Model For hosted providers, a list of current models with the recommended one marked; pick Custom model ID… to type any other. A text box for Ollama, OpenAI-Compatible and Azure (Deployment name). Leave it empty to use the provider’s default.

Each field’s help text in the form says where to find the value. If a saved provider uses a model its vendor has retired, rConfig flags it so you can pick a current one.

Then follow the tab for your provider type:

Anthropic, OpenAI, Google Gemini and the other hosted vendors in the list (from V8.4.2 these include Mistral, xAI, DeepSeek, Groq, Cohere and OpenRouter) all work the same way:

  1. Create an API key in the vendor’s console, for example the Anthropic Console, the OpenAI API keys page or Google AI Studio.
  2. In rConfig, set Provider to the vendor and paste the key into API Key.
  3. Pick a model. The recommended one is a good starting point for config work; a larger model gives better answers on long, complex configs at a higher cost.

OpenRouter reaches many vendors’ models with one key, and its model IDs take the form vendor/model. All hosted providers are cloud services: configs go to the vendor under its data terms.

Add Provider form for a cloud provider Add Provider form for a cloud provider

Add Provider form for Ollama Add Provider form for Ollama

Click Add Provider to save. Saving doesn’t test or activate the provider.

Each saved provider appears as a card. Click Test on the card. rConfig sends the prompt “Reply with exactly one word: ok” using the saved credentials and model, and shows a toast:

  • Connection successful. with the model’s reply and the round-trip time, for example Response: ok (840ms).
  • Connection failed. with the reason, such as “Authentication with the AI provider failed. The configured API key appears to be invalid or missing.” See Troubleshooting for what each message means.
rConfig V8 AI Settings provider card with a Test button, showing a successful test connection result with response text and latency in milliseconds

After a successful test of an inactive provider, the card says Connection works — Activate this provider to start using it. Click Activate. The card shows an Active badge.

Only one provider is active at a time. Activating one deactivates the others. Every capability, chat, and narration uses the active provider; there’s no per-capability choice.

Two saved providers, one active Two saved providers, one active

Below the provider cards, Model Controls applies to the active provider:

  • Max Output Tokens: the longest a single answer can be, from 256 to 32768. Raise it if long answers get cut off. Leave it empty for the provider’s default.
  • Temperature: from 0.0 to 1.0. Lower values give focused, repeatable answers, which suits config analysis. Leave it at the default unless you have a reason to change it.

Click Save Model Controls.

Switching, editing, and removing providers

Section titled “Switching, editing, and removing providers”
  • Switch providers: click Activate on another card. The change applies to the next request.
  • Rotate a key: edit the card and paste the new key. Leave API Key empty to keep the stored key.
  • Delete: deleting the active provider leaves rConfig with no active provider. Activate another one straight away, or AI features stop working.