Skip to main content

How to configure AI Assistant

This guide shows an administrator how to connect Coginiti to an AI provider so the Forge and Guide chat assistants can work, and how to control what data they can see.

Prerequisites​

  • Admin role in Coginiti Team or Enterprise, to set an organization-wide default (any user, including in Pro, can instead set up their own connection - see Personal AI Assistant settings)
  • An account and API credentials with one of the supported AI providers

Supported providers​

  • Amazon Bedrock
  • Anthropic
  • Azure OpenAI
  • Google Gemini
  • Google Vertex AI
  • Ollama
  • OpenAI

Configure the organization-wide provider​

  1. Open Settings (the gear icon in the lower-left corner) and select the Global tab.
  2. Go to Services Config → AI Assistant.
  3. Check Provider to enable an organization-wide provider, then choose one from the dropdown.
  4. Enter the API Key for that provider - Coginiti links out to the provider's own console to generate one.
  5. Choose a Model from the ones your provider account has access to.
  6. Optionally turn on Enable Context Cache, Share Database Metadata with AI Assistant, or Enable Extended Thinking.
  7. Click Save.

Once saved, this applies to the whole organization: every user's personal AI Assistant settings (Provider, API Key, Model, and the three checkboxes above) switch to read-only, labeled overridden by Admin, Readonly, and lock to the admin's choice.

tip

Provider account setup Creating the underlying provider account, requesting model access, and generating an API key happens on the provider's own platform (for Ollama, this means installing and running it yourself instead - Ollama has no cloud account or API key).
Consult Amazon Bedrock, Anthropic, Azure OpenAI, Google Gemini, Google Vertex AI, Ollama, or OpenAI documentation for that part.

Personal AI Assistant settings​

Every user - not just admins - has their own AI Assistant settings, at Settings → Account & Security → Views & Tools → AI Assistant.

From here, anyone can choose their own provider, API key, and model, plus two settings an admin can never override: Use Retrieval-augmented Generation (RAG) and Use Custom Prompt. personal_ai_rag_custom_prompt.png

If an admin has configured the organization-wide provider described above, everything on this page except those two personal-only settings becomes read-only, labeled overridden by Admin, Readonly. personal_ai_overridden.png

Pro has no organization-wide admin configuration, so in Pro this personal page is always the one in effect. pro_ai_assistant_settings.png

Metadata sharing toggle​

The Share Database Metadata with AI Assistant checkbox controls whether table names, column names, and schema structure are sent to the AI provider as context. Turning it on improves the accuracy of generated SQL and CoginitiScript, at the cost of exposing that schema information to the provider. share_db_metadata.png

Metadata sharing is separate from the data Coginiti sends to run a chat or inline request at all: query text, errors, and (when relevant to the request) query results are sent to your configured provider regardless of this toggle, and chat conversations are stored in Coginiti.

Restrict what the AI can see​

Unlike provider setup, this part is available to any user, not just admins - each person filters their own AI Assistant context individually.

To keep Forge or Guide away from specific databases - a sensitive schema, or simply to keep the agent focused - open the AI tab in the left sidebar (the same panel used to chat with Forge or Guide), then click the Filter icon next to Settings. This opens a menu:

  • Create Filter - opens the Assistant AI Filtering dialog, where you select the connections and databases you want visible in the AI Assistant's context and choose Save & Apply; anything left unchecked is excluded. This saves the filter under a name you choose.
  • Apply Filter - switch the active filter to any filter you've already created, picked by name from the submenu.
  • Edit Filter - pick a saved filter by name to change which connections and databases it includes.

The filter is enforced on the server, not just hidden in the UI, so an excluded database is unreachable by the assistant regardless of what you ask for.

Use this when a schema contains sensitive data that shouldn't reach the AI provider, or when you want to narrow the agent's context to the databases relevant to your current work.

Troubleshooting​

AI Assistant doesn't respond or shows a connection error: re-check the credentials entered in Services Config against the provider's console, and confirm the account has access to the selected model.

A model doesn't appear in the dropdown: model access is granted on the provider's side (e.g. Bedrock model access requests, Azure OpenAI Studio deployments) - confirm access there before it will show up in Coginiti.


See Forge and Guide Explained for what each assistant can do once configured.


tip

For more information about other exciting Coginiti features visit our documentation

Thank you for choosing us!​