Skip to Content
SahajFlowHelp Center
Settings

AI settings

What Is It?

The workspace's AI configuration: which provider and model are used, the API key, temperature, and the connection test.

Why Would I Use It?

AI features spend real money with your provider. You choose the provider, the model, and therefore the cost and quality.

Who Can Use It?

ai.settings.view to see, ai.settings.manage to change (OWNER/ADMIN). The module also requires the ai plan feature (Premium).

Where Can I Find It?

Control → AI Settings

(/dashboard/administration/ai).

Supported providers

ProviderDefault modelNotes
OpenAIgpt-4o-miniHosted API
Google Geminigemini-1.5-flashHosted API
Anthropicclaude-3-5-haiku-latestHosted API
Ollamallama3.1Local/self-hosted endpoint

Each provider has a default base URL you can override for a proxy or a local model.

Configure AI

  1. Open Control → AI Settings.
  2. Choose the provider.
  3. Enter the API key for that provider. Keys are stored server-side and are never shown back to the browser.
  4. Optionally set the model name, base URL, temperature (default 0.3), and maximum tokens (default 1024).
  5. Run the connection test.
  6. Save.

What Happens Next?

AI features become available to members whose role includes

ai.assist.use. The assistant appears in the floating messenger's AI tab.

What the AI can do

Twenty named capabilities, grouped by module, including: lead and opportunity summaries, follow-up email drafts, next-best action, meeting-notes summaries, task generation, project summaries and risk analysis, milestone summary, quote description, invoice explanation, payment reminder, report explanation, executive summary, trend analysis, business brief, chat summaries/replies/action items, and "today's follow-ups".

Each feature checks a module permission before it builds any context, so the assistant cannot summarise a record the user could not open.

Write actions

The assistant may propose a write (create a task, change a lead's status). Nothing is written until the user confirms. On confirmation, the owning module's service performs the action with that module's validation and permissions.

Usage and cost

The usage view shows requests, tokens, and estimated cost. Pricing is best-effort; a model without a configured price is recorded at zero, so treat the figure as directional.

Retention

AI conversations are pruned after 90 days by a daily job. Usage logs are kept as billing evidence and are not pruned.

Important things to know

  • Keys are secrets. Enter them only here, never in a chat, ticket, or document.
  • A missing key does not break the rest of the product; only AI features are unavailable.
  • Provider outages surface as feature errors with a clear message; nothing is silently retried into a wrong answer.
  • AI output is advisory. Verify figures against the record or report.
  • Costs are yours: the workspace's provider account is billed directly.

Common problems

SymptomLikely causeWhat to do
AI tab hiddenPlan lacks ai, or role lacks ai.assist.useAsk an owner/admin
Connection test failsWrong key, wrong base URL, or provider outageRe-check the key and provider; try again
"No permission" instead of "not configured"Role differs from plan-based denialSF-001 separated these messages; read the exact error
Usage cost shows zeroModel has no price entryTreat as unknown, not free
Answers ignore a recordYou lack view permission on itCheck your role

On this page