--- title: "Polarity General - Enable & Configure Command Center AI (Server v5)" slug: "polarity-configure-command-center" description: "Polarity General lets you enable and set up Command Center AI on Server v5. Add your LLM provider, API key, and base URL, then test the configuration to ensure it works." tags: ["enable-command-center", "ai-settings", "llm-connection", "test-ai-config", "polarity-general"] updated: 2026-07-29T19:57:06Z published: 2026-07-29T19:57:06Z canonical: "knowledge.threatconnect.com/polarity-configure-command-center" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.threatconnect.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Command Center AI **Polarity Command Center supports a wide range of LLMs included locally run and hosted models.** ## Enable Polarity Command Center By default Command Center is disabled. To enable and configure Command Center: 1. Navigate to “Server Configuration” → “AI Settings”. 2. Provide your LLM connection settings and check the “Enable Polarity AI Features” box. ![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/image.png) > See below for detailed instructions on configuring popular LLM models. ## Configure your LLM Connection **Google Gemini** #### LLM Provider Select “Gemini” as the provider #### LLM Model Choose your Gemini Model from the dropdown list #### API Key Add your Gemini API Key **OpenAI Models** For models hosted by OpenAI use the following configuration: #### LLM Provider Select “OpenAI” as the provider #### LLM Model Select your OpenAI LLM model from the dropdown. #### API Key Add your OpenAI API Key #### Base URL Open “Advanced Options” and in the **Base URL** option and enter the following URL: ```plaintext https://api.openai.com/v1/chat/completions ``` **Azure OpenAI Models** Command Center supports OpenAI models hosted in Azure. #### LLM Provider Select “OpenAI” as the provider #### LLM Model Select your OpenAI LLM model from the dropdown. #### API Key Add your Azure LLM API Key #### Base URL Open “Advanced Options” and in the **Base URL** option enter your Azure OpenAI URL including the deployment name and chat completions path. Deployment URLs have the following format: ```plaintext https://{{tenantName}}.openai.azure.com/openai/deployments/{{deploymentName}}/chat/completions?api-version={{apiVersion}} ``` You will need to replace `{{tenantName}}`, `{{deploymentName}}`, and `{{apiVersion}}` with the appropriate values for your environment and model. As an example, a complete URL will look like this: ```plaintext https://mycompany-openai-instance.openai.azure.com/openai/deployments/gpt-4-32k/chat/completions?api-version=2023-12-01-preview ``` > **Model Name** *vs* **API Version** *vs* **Deployment Name** > > The API Version which has a `YYYY-MM-DD` format with an optional `-preview` is not the same as the model name. The API version is only included as part of the `api-version` query parameter in the Base URL option. > > > > The deployment name will often be named after a model but is unique from the list of models supported by the deployment. Typically, a deployment will support one or more models which you can select from the OpenAI Models dropdown list. **Open WebUI** Command Center can connect to API’s hosted via Open WebUI ([https://openwebui.com/](https://openwebui.com/)). Configure Open WebUI to use OpenAI Syntax API and then set the following in Command Center: #### LLM Provider Select “OpenAI” as the provider #### LLM Model Select your OpenAI LLM model from the dropdown. > **Note:** If your model is not listed you can rename the model in OpenWeb UI to match one of the models in the dropdown list. #### API Key Add your Open WebUI API Key #### Base URL Open “Advanced Options” and in the **Base URL** option and enter the following URL: ```plaintext https://{{open-web-ui-fqdn}}/api/v1/chat/completions ``` > **Note:** The Open WebUI URL varies slightly from the OpenAI URL in that it starts with `api` in the URL path. > Save your settings and click on the “**Test AI Configuration**” button in the top right to ensure your settings are functional.