> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wappigate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Setting

> Add and activate the AI models your channel uses for text and voice — your own provider key, or the platform's AI.

## What is this?

The **AI Setting** tab holds the AI models your channel uses. [AI Agents](https://docs.wappigate.com/workspace/ai-agents/overview.md), the [AI Assistant](https://docs.wappigate.com/workspace/ai-assistant.md), AI steps in automations, AI rewrite and knowledge search all answer through the model you activate here. You can keep a **text** model and a **voice** model.

![The AI Setting tab showing the table of saved AI configurations](https://mintcdn.com/wappigate/nekjiOwxVfvAKPJ5/images/settings-ai-setting-table.png?fit=max\&auto=format\&n=nekjiOwxVfvAKPJ5\&q=85\&s=d025b973d9e6442cfe443e7cfdd5e6d4)

## What can I do here?

* See every saved AI configuration: Setting Type (**Text** or **Voice**), Provider, Model, Temperature, Max Tokens, Status and last updated date
* **Add AI Setting** with your own provider and API key
* Use the **platform's AI** instead of your own key — usage is charged from your wallet
* **Activate** one text and one voice configuration (only one of each can be active at a time)
* Edit or delete a configuration, and **Refresh** the list

## How to use it

### Add a configuration

1. Click **Add AI Setting**.

   ![The Add/Edit AI Setting dialog](https://mintcdn.com/wappigate/nekjiOwxVfvAKPJ5/images/settings-ai-setting-modal.png?fit=max\&auto=format\&n=nekjiOwxVfvAKPJ5\&q=85\&s=33bb551d9a6383d256f80852fe4c91bb)

2. Choose the **Setting Type** (text or voice), the **Provider**, paste your **API Key**, and choose the **Model**. For voice, also choose a **Speaker**. With **ElevenLabs**, speakers are the voices in your own account: click **Load voices** (it lists the voices in your account, including ones you added from the voice library) and pick one. The key needs permission to read voices — in ElevenLabs under Developers › API keys give it **Voices (read)**, **Text to Speech** and **Speech to Text**, or use an unrestricted key.
   After a setting is saved, its provider can't be changed — to use another provider, create a new setting.
   An API key belongs to one provider. When you change the **Provider** on an existing setting, the **API Key** field is emptied and you must paste a new key issued by the new provider. Choosing the saved provider again brings the saved key back.

3. Set the **Endpoint** (if your provider needs a custom one), **Temperature** and **Max Tokens** as needed.

4. Save. The key is stored securely and shown masked afterwards.

### Use the platform's AI

If your platform offers its own AI, it appears as a provider named after the platform (for example *\[platform name] AI*). Choose it and you don't need an API key — it runs on the platform's AI and the cost of each call is taken from your wallet. Models may be grouped by tier: **Best**, **Better**, **Affordable** and **Cheapest**.

* The dialog shows the platform's **Pricing**: for text, the price for **Input** and **Output** per 1M tokens (a short reply uses about 1,000 tokens); for voice, **Speech to text** per minute and **Text to speech** per 1,000 characters.
* You can switch it on only while it's available. If your wallet has no balance it shows *Your wallet has no balance. Add balance to turn this on.* — add funds in [Transactions](https://docs.wappigate.com/workspace/transactions.md).
* If the platform turns its AI off, or your wallet runs out, AI features stop with a clear message; there's no automatic fallback to another provider.
* Switching it off is always allowed.

### Activate a configuration

Click the power icon on a row to make it **Active**. Only one text and one voice configuration can be active at a time — activating another one deactivates the previous. Click the trash icon to delete a configuration.

## Troubleshooting / Technical Notes

* **A notification says "Voice replies stopped".** The AI agent on that channel is answering voice messages in text because your voice provider rejected the API key, the provider account is out of credit (or its plan doesn't allow the chosen voice), or the chosen voice model or speaker isn't available on that account. Fix it with your provider or in **Settings → AI Setting** (voice).
* **I can't activate a second configuration.** Only one text and one voice configuration can be active at a time.
* **"Set up an active AI Setting for this channel to use the assistant."** Add a text configuration and activate it.
* **The platform AI says it isn't available.** The platform has switched it off, or your wallet has no balance.
* **An AI agent says there are no AI settings.** Add and activate one here, then pick it on the agent's [Channels](https://docs.wappigate.com/workspace/ai-agents/tabs/channels.md) tab.
* **"A new API key is required for the new provider."** You changed the provider without entering a new key. Paste a key from the new provider and save.
* **"The provider refused this API key." or "This key has no permission to read voices."** Check the key, and for ElevenLabs the permissions listed above.
* **No voices were found.** The account has no voices yet. Add some in your provider account, then click **Load voices** again.
* **My key doesn't show after saving.** That's intentional — saved keys are masked.

## Related docs

* [Settings](https://docs.wappigate.com/workspace/settings/overview.md)
* [AI Agents](https://docs.wappigate.com/workspace/ai-agents/overview.md)
* [AI Assistant](https://docs.wappigate.com/workspace/ai-assistant.md)
* [Transactions](https://docs.wappigate.com/workspace/transactions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.