Ask Cubrel Settings
In this article we cover setting up Ask Cubrel for your workspace: choosing between Cubrel AI and your own AI provider, connecting a provider such as OpenAI, Mistral, Google Gemini or a self-hosted Ollama, the model check, who may use it, and limits and usage. How people use Ask Cubrel is covered in Ask Cubrel.
Ask Cubrel is part of every plan. Your plan includes a monthly number of Cubrel AI questions (see Plans), and you can use your own AI provider instead.
Turning Ask Cubrel on or off
Go to Workspace > AI > AI Provider. The Ask Cubrel switch at the top turns it on or off for the whole workspace, admins included. While it's off, nobody sees the Ask Cubrel panel, its shortcut, the writing help in emails and templates, or email translation, and the hourly connection check pauses.
Turning it off changes nothing else: the AI you chose, your own provider's connection, limits, usage history and everyone's conversations are kept, and come back as they were when you turn it on again.
Choosing the AI
Below the switch, two cards decide which AI answers:
| Option | How it works |
|---|---|
| Cubrel AI | Included in your plan, nothing to set up. Counted in questions, up to your plan's monthly allowance |
| Your own provider | Your company's own account with an AI provider, which you choose and pay directly. Cubrel sets no limit |
The card in use is marked In use; click the other card to switch at any time. You can only switch to your own provider once it's connected. Usage and limits are kept separately for each, so switching never uses up or resets the other.
A question is Cubrel's AI usage unit: one question asked, with every step Ask Cubrel takes to answer it. When the month's Cubrel AI questions are used up, Ask Cubrel tells users when they reset (on the first of next month) and that an admin can switch to your own provider until then.
When to use your own provider
- You already pay for an AI provider and want Ask Cubrel to use that account.
- You need more questions than your plan includes.
- Your data protection rules require a specific provider, region or a model you host yourself.
With your own provider, the record data Ask Cubrel reads to answer a question is sent to that provider. Choose one whose terms fit your data protection rules, and check whether it offers data processing in the EU and an agreement on data processing (AVV/DPA).
Connecting your own provider
Select the Your own provider card. Its form has three fields:
| Field | What to enter |
|---|---|
| API base URL | The provider's OpenAI-compatible address, ending before /chat/completions |
| API key | The key from your provider account. Can stay empty for a provider without keys, such as your own Ollama |
| Model | The model's exact name as the provider lists it |
Common providers:
| Provider | API base URL | Example model |
|---|---|---|
| OpenAI | https://api.openai.com/v1 | gpt-4.1-mini |
| Mistral (EU) | https://api.mistral.ai/v1 | mistral-medium-latest |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta/openai | gemini-2.5-flash |
| Ollama on your own server | https://ollama.tevatek-solutions.example/v1 | qwen2.5 |
Model names change often; copy the current name from your provider's model list.
Click Verify & Save. Cubrel asks the provider for its model list with your key. If the key is refused, or the provider doesn't offer the model you entered, nothing is saved and you see why. If it works, the connection is saved, Ask Cubrel switches to it, and the model check starts.
The key is stored encrypted and is never shown again; leave the field blank to keep the saved one. Disconnect removes the connection and switches back to Cubrel AI.
What the provider must support
Ask Cubrel works with any provider that offers the OpenAI Chat Completions API with tool calling (also called function calling). Ask Cubrel looks up records through tools, so a model without tool calling can't answer questions about your data. Most current models from the providers above support it; small local models vary.
Self-hosted Ollama
Cubrel calls the provider from its own server, not from your computer. An address like http://localhost:11434/v1 therefore points at the server Cubrel runs on, not at your machine. To use your own Ollama:
- Run Ollama on a server that Cubrel can reach over the internet, behind HTTPS.
- Protect it, for example with a reverse proxy that requires an API key, and enter that key in Cubrel.
- Pull the model first (
ollama pull qwen2.5), then enter its name.
A model listed as qwen2.5:latest can be entered as qwen2.5.
The model check
Right after you connect, Cubrel tests the model in the background with a few fixed questions on made-up data. The Model check card shows the result as a score, such as 5 of 6 passed, with each check:
| Check | What it tests |
|---|---|
| Looks up data with the right tool | The model calls Cubrel's tools when it needs data |
| Answers about the open record | It uses the record the user is looking at |
| Names the records it found | It builds its answer on the tool results |
| Doesn't make up records | It doesn't invent data that wasn't returned |
| Answers in the user's language | A German question gets a German answer |
| Follows a fixed format | It sticks to the answer format Cubrel needs |
If a model fails any check, Ask Cubrel may give wrong or incomplete answers with it, and users see a note about this in the chat. A larger model usually does better. Click Check again after changing the model, or to re-test later. The check uses a few requests on your provider account.
When the connection fails
If the AI provider refuses a question, for example because its API key expired or the account ran out of credit, users see that Ask Cubrel can't reach its AI service right now. They never see the provider's own error message.
Who hears about it depends on the AI in use:
| AI in use | Who is told |
|---|---|
| Your own provider | Every admin gets a notification, in the app and by email, with the provider's error and a link to Workspace > AI > AI Provider |
| Cubrel AI | The Cubrel team; there is nothing for you to fix |
Cubrel also checks the connection in use every hour with one tiny request that doesn't count as a question, so a broken key is usually reported before anyone asks a question. Each admin can turn the notification off under their notification settings (Our own AI provider for Ask Cubrel fails). One failure sends one notification; it repeats at most every few hours while the connection stays broken.
To fix your own provider, enter a new key and click Verify & Save, or click the Cubrel AI card to switch back until it works again.
Who can use it
On the Pro and Enterprise plans, each role has a Can use Ask Cubrel checkbox in the role editor. It's on by default. Admins can always use it.
Limits
Under Workspace > AI > Usage & Limits, set limits for the AI in use. 0 means no limit, and once a limit is reached Ask Cubrel pauses until the next month.
- On Cubrel AI, the monthly limit for everyone is your plan's allowance. Set a limit on the Default per user row of the usage table to share it fairly.
- On your own provider, first choose under Track and limit in whether to count tokens or questions, then set a Monthly limit for everyone and a limit on the Default per user row. Saving a different unit clears these limits, so token numbers are never read as questions.
- Default per user: the first row of the usage table. Each user gets this limit on their own; it is not a total shared between them. Users showing Default follow it.
- Per person: click the pen next to a user to give them their own limit, which replaces the default for them. Leave it empty to go back to Default.
Click the pen to edit a limit and the check mark to apply it. Applied limits are checked right away but only stored when you click Save.
Before a limit runs out, the chat warns once 95% is used or only 5 questions are left, whichever comes first. Everyone is warned about their own limit; admins are also warned about the limit for everyone.
Usage
The same page shows this month's use of the AI in use: questions asked, active users, how much of the monthly limit is used, a chart of the last six months, and each user's share. On your own provider it also shows tokens in and out and the average per question, which helps you compare with your provider's bill.
Once someone uses the writing help outside the chat (drafts, rewrites, translations), the month's total also shows what it was used for, for example Chat 120 · Drafts 14 · Translations 3. Hover over a user's number in the table to see the same split for that user.
The table lists everyone who can use Ask Cubrel. Users who used it this month but have since lost access stay in the list, greyed out. A user who reached their limit is marked Blocked until the limit is raised or the month ends.
Chats and privacy
Users' chats are private: admins can't read them. Chats are deleted automatically after the window set in Data Retention (90 days by default).
In short
| Question | Answer |
|---|---|
| Where do I pick the AI? | Workspace > AI > AI Provider |
| Which providers work? | Any provider with an OpenAI-compatible Chat Completions API and tool calling |
| Can I use a local Ollama? | Only if Cubrel's server can reach it over the internet; localhost points at Cubrel's server |
| Is anything saved if verification fails? | No |
| How do I know a model is good enough? | The model check scores it after you connect; Check again re-tests |
| What if my provider's key expires? | Admins get a notification; users see that Ask Cubrel can't reach its AI service |
| Who pays for the AI? | Cubrel AI is included in your plan; your own provider you pay directly |
| How do I stop a role from using it? | Clear Can use Ask Cubrel on that role (Pro and Enterprise) |
| Where do I set limits? | Workspace > AI > Usage & Limits |
| Can admins read users' chats? | No |