Skip to the page
DataMosaic

Docs · Connecting to data

Integrations

Models, mail, file storage, Microsoft Copilot and Jira — the outside systems that are not data sources.

Outside systems that are not data sources: a model to ask about a check, a mail server to send one, a drive to keep files in, Microsoft Copilot to ask or be asked, Jira to open issues in.

Eleven kinds, in five groups.

GroupIntegrationWhat it is for
ModelsOpenAIAsk a model about a check, in words rather than in filters
Azure OpenAIThe same, hosted in your own Microsoft tenant
ClaudeAsk a model about a check, in words rather than in filters
GrokAsk xAI's model about a check, in words rather than in filters
OllamaAsk a model that runs inside your own network, so nothing leaves it
MailSMTP serverSend mail: a schedule's results, a workflow's messages, and Mosaic's notices to people in this workspace
OutlookRead a mailbox, so a check can be built from what is in it
FilesOneDriveRead and write files kept in a drive rather than on this machine
Microsoft CopilotMicrosoft 365 CopilotLet a workflow search your SharePoint and OneDrive, or ask your tenant's Copilot, through Microsoft Graph
Copilot StudioLet an agent in Microsoft Copilot answer questions about Mosaic
Issue trackingJiraLet a workflow open, comment on, move and find issues in Jira, Cloud or Data Center

Secrets are encrypted with the same key file as a data source password and come back as bullets. Leaving the bullets keeps the stored value.

#Models

Each model integration asks for an API key, a model, and where to reach the provider, in numbered steps: Connect, then Choose the model. Once it connects, the models the provider lets that key use are listed to pick from, with a filter; a name can still be typed instead. Fields nearly nobody changes, such as the base URL and Azure's API version, fold under Advanced.

Two fields are worth explaining.

Fast model — "Used to design checks, plan queries, write SQL and read schemas. Leave blank to use the model above." The work Mosaic does with a model is not all the same shape: writing a paragraph about a run benefits from the better model, while planning a query does not. Naming a cheaper, faster model here is usually worth it.

Base URL — "Change only for a proxy or a compatible endpoint." Leave it alone unless you route through a gateway.

#Azure OpenAI

No base URL; the address is assembled from three fields instead:

FieldNotes
EndpointFrom the resource in the Azure portal
Deployment name"What the model was called when it was deployed, which is not always the model's own name."
API versionLeave blank for the default. Structured answers need a recent version

This is the route to use where Microsoft is already the licence you hold.

#Grok

xAI's models, with a key from the xAI Console. A SuperGrok or X Premium plan is not a key: the API is billed on its own, by use. The model is picked from the list xAI reports for the key, and the base URL is changed only for a gateway in front of xAI.

#Ollama

Runs inside your own network, so nothing leaves it. The address is filled in pointing at Ollama on the same machine, and the model must be one already pulled on that server. The API key is only needed if a proxy in front of it asks for one.

#The model list

Each model integration can read the list of models the provider will let it use, using the values in the form rather than anything stored. If the address has changed since the key was saved, the key is deliberately not sent, and Mosaic says so:

The saved API key was not sent, because the address has changed since it was saved. Type the key again to use it there.

A name the provider does not list is allowed but flagged — "Pick one from it, unless a gateway expects this name."

#Mail and files

SMTP server takes a host, port, username, password and a from-address. Once it is saved, everything in this workspace that sends mail sends through it, with no restart: a schedule's Email output, a workflow's Send an email step, and the messages Mosaic sends people about this workspace (added to it, handed it, offered a shared library). Nothing has to be set on the server.

  • Port 465 uses TLS from the first byte. Any other port, 587 when left empty, starts plain and switches to TLS when the server offers it.
  • From address left empty sends as the username.
  • With several SMTP servers in one workspace, a check sends through the one it has added, and otherwise through the first switched-on one by name. A switched-off one is never used.
  • One workspace's server is never used for another workspace's mail.

A server set up with the MOSAIC_SMTP_* variables (see Settings worth knowing) is used by every workspace that has no SMTP server of its own. With neither, a self-hosted Mosaic sends no email at all.

Outlook and OneDrive each take a tenant ID, a client ID and a client secret, plus the mailbox or drive to use. OneDrive left blank uses the mailbox owner's own drive.

#Microsoft Copilot

Microsoft 365 Copilot takes an app registration and one person's sign-in, and is used by two workflow nodes. Copilot Studio stores nothing: its panel has the address and the steps for pointing an agent at Mosaic. Neither is a model a Check's chat can use. Both are set out in Microsoft Copilot.

#Turning AI on

Nothing involving a model works until an owner turns it on for the workspace, under Workspace settings:

Off by default, and off for everybody in the workspace until an owner turns it on. It covers the assistant, a check's chat and fast checks. While it is off nothing in Mosaic contacts a model — the server refuses, not only the buttons.

That last clause matters. The switch is enforced on the server; hiding the buttons is a courtesy, not the control.

The switch covers Ask Mosaic's answers and drafted workflows too, and a workflow's Ask Copilot node. What Ask Mosaic says about an error it recognises by itself reaches no model, and is shown whether the switch is on or off.

#Which features need which licence

Two bands:

BandCovers
Model featuresAsking a Check a question, written run summaries, source descriptions, Ask Mosaic's answers and drafted workflows
AdvancedThe global assistant, the Composer, the semantic layer, knowledge sweeps

Both are included on every tier, Free too: an agent runs on the advanced band, and Free comes with one agent. The workspace AI switch, and a model to call, are what decide whether they work.

#Deleting one

An integration a Check names cannot be deleted without confirmation: "Delete "OpenAI"? 3 check(s) name it, and will stop being able to use it."

#Choosing which a Check may use

Each Check names which connected systems it may use, under Integrations in its settings: "Which connected systems this check may use. Configure them under Integrations in the sidebar." That is an admin's decision.

#Jira

Jira takes a site address, an API token, the email of the account the token belongs to (Jira Cloud) or no email (a Data Center personal access token), and an optional default project. Test connection says who it signed in as. It is used by the Jira node in Workflows, and is set out in Jira.