# Manage Organizations
Source: https://docs.wisdom.ai/access-management/manage-organizations
This guide explains how to use the Organizations manager to create and maintain isolated environments within your tenant. Organizations ensure full data separation, meaning that connections, domains, users, dashboards, and agents are kept entirely independent across different environments.
## Before you start
To perform these tasks, you must have **Site Administrator** permissions. Regular users or organization-level admins cannot access the global Organizations manager.
Read the [Access Management](/manage-account/access-management) guide to learn more about roles and permissions.
## Create a new organization
New organizations are provisioned by Site Administrators through the platform. To do this, follow the steps below:
1. Sign in to WisdomAI as a Site Administrator.
2. Click the **Organizations** icon in the left-hand navigation menu.
3. Click the **Add Organization** option.

4. In the modal that opens, under **Organization Details**:
a. Enter the **Organization Name** (e.g., "Finance-Dept").
b. Define the **URI** (e.g., `finance`). This creates a unique access point: `https://try.askwisdom.ai/organizations/finance`.
c. Add **Organization Admins** by entering their email addresses.
d. (Optional) Expand **Advanced Options** to define **Allowed email domains**.
> [!TIP]
>
> The **Allowed email domains** setting acts as a security gate. By specifying a domain (e.g., `company.com`), you ensure that only users with official company emails can be added to the organization, preventing accidental access by external or personal accounts.
5. Click **Create Organization**.
> [!NOTE]
>
> If you encounter any issues during provisioning, please contact [the WisdomAI support team](/manage-account/contact-support) for assistance.
## Manage existing organizations
Once created, you can manage organizations directly from the dashboard using quick-access icons.
### Modify settings and access
* **Edit Details**: Click the **three-dot menu (...)** on an organization tile and select **Edit** to update the name, URI, or administrative owners.

* **Access Domains**: Click the **monitor icon** to configure AI domains specific to that organization.
* **Manage Connections**: Click the \*\*sync/connections \*\*(arrows)**icon** to set up or modify data source integrations for that environment.

### User administration
Click the **person icon** to open the user management view:
* **Invite Users**: Click **Invite Users** to grant access to the specific organization.
* **Export List**: Click **Export to CSV** to download a record of all users assigned to the organization.

### Archive an organization
If an environment is no longer needed, you can deactivate it to prevent further access.
1. Click the **three-dot menu (...)** on the organization tile.
2. Select **Archive organization**.
3. Confirm the action in the dialog box.

> [!NOTE]
>
> Archiving deactivates the organization immediately, meaning users will no longer be able to log in. However, your data is **not deleted**; it remains securely stored in case you need to reactivate the environment in the future.
## Next steps
> [card] [Row-Level Access Control](/manage-account/row-level-access-control/row-level-access-control)
>
> Learn how to restrict data access at the row level for specific users or roles.
> [card] [Access Management](/manage-account/access-management)
>
> Control user permissions and manage access to platform features and data.
> [card] [Supported Data Sources](/getting-started/connect-data-sources/supported-data-sources)
>
> Explore the full list of databases and platforms you can connect to the system.
> [card] [How WisdomAI Works](/getting-started/how-wisdom-ai-works)
>
> Understand the core concepts and architecture behind the platform's data analysis capabilities.
> [card] [Quickstart: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Manage Domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Configure how WisdomAI accesses data, understands your business context, and evaluates response accuracy.
# Object mirroring
Source: https://docs.wisdom.ai/access-management/object-mirroring
Object mirroring lets you share domains and dashboards across customer organizations. Your team maintains the originals, and each customer uses a live, read-only mirror in their own organization. Changes to the originals appear in the mirrors, so you do not need to update a copy for each customer.
Each customer gets their own WisdomAI organization, so one customer's users stay isolated from your other customers. This page explains how mirrors, organizations, and data access fit together. To configure mirroring, see [Set up object mirroring](/access-management/set-up-object-mirroring).
## Reuse analytics across customers
Suppose several customers need the same revenue definitions and sales dashboard. Mirroring lets you reuse that content while you manage each customer's users and data access separately.
You can:
* Give a new customer existing domains and dashboards without rebuilding them.
* Manage metric definitions, business context, and dashboard changes in one organization.
* Let customers ask questions using a shared domain without letting them edit it.
* Choose which organizations receive each object and who can access it.
A domain provides the data sources, definitions, and instructions for answering questions. A dashboard presents prepared results. Mirror a domain for exploration, a dashboard for reporting, or both.
## What a mirror is
A mirror is a read-only, live view of a source domain or dashboard. WisdomAI does not copy the source content. The mirror refers to the original, so it stays synchronized with it.
* Customers cannot edit a mirror. You edit the original in the authoring organization.
* Mirroring does not change warehouse refresh schedules. It also does not guarantee that an open browser redraws immediately.
* You cannot mirror an existing mirror into another organization. Create each mirror from the original object.
* A mirror depends on its original. Keep the original and its organization active while customers need the mirror.
* Mirroring a dashboard does not mirror its domain. Mirror each object separately.
In the WisdomAI interface this feature is called Mirror. The GraphQL API still uses the names publish and publication. See [Set up tenant organizations and mirrors with the API](/integrations/user-management/mirror-with-the-api).
## Where content and users belong
Use one organization for authoring the shared content and a separate private organization for each customer.
```mermaid theme={null}
flowchart TB
S["Your authoring organization Original domains and dashboards"]
A["Customer A organization Customer A users and read-only mirrors"]
B["Customer B organization Customer B users and read-only mirrors"]
S -->|"Mirror selected content"| A
S -->|"Mirror selected content"| B
```
| Where | What belongs here | Who manages it |
| - | - | - |
| Authoring organization | Original domains, business definitions, and standard dashboards | Your central analytics team |
| Customer organization | That customer's membership, access to mirrors, and locally created content | Administrators with access to that organization |
| User groups within a customer organization | Optional groupings such as analysts or managers | The customer organization's administrators |
Add customer users to their customer organization. They do not need membership in the authoring organization to use its mirrors. Administrators who manage mirroring need permissions in both the source and destination organizations.
A Site Administrator creates the customer organizations. See [Manage Organizations](/access-management/manage-organizations).
## What customer users can do
Users in a customer organization can use mirrored content as follows:
* View mirrored dashboards and load their widget data.
* Browse mirrored domains.
* Chat using mirrored domains.
They cannot change the shared definitions or dashboards, and they cannot access another customer's organization.
## Access to content and access to data
Mirroring controls access to shared content. Your data policies control which records a viewer can see.
Mirrored objects follow the viewer's permissions, not the permissions of the person who shared them. Row-level security (RLS), column-level security (CLS), and connection parameters apply according to the viewer's own identity. Configure the viewer's identity, row-level security, column-level security, and connection parameters as needed. An organization name or dashboard filter does not enforce access to customer records.
For more on data policies, see [Row-Level Access Control](/manage-account/row-level-access-control/row-level-access-control).
## What stays hidden from tenant users
Mirrored objects hide sensitive source context. Customers do not see the source's chats or authoring metadata, such as original messages and AI workstream details, including SQL and RLS debug information.
## Target access
When you mirror an object, you choose who in each destination organization can access it.
| Target access | What it does |
| - | - |
| Admins only | Administrators can access the new mirror. This setting does not grant access to all users. Use it to review a mirror before a wider rollout. |
| All users | Users in each selected organization can read the mirror, including users added later. This setting does not make the mirror public or give every account user access. |
A target-access change applies to every selected organization when you save. Switching a mirror to Admins only removes its all-user grant. It does not remove individual or group grants you added separately.
## Limits
* The mirror dialog loads up to 100 eligible organizations. For larger rollouts, provision mirrors through the API.
* Select all organizations selects the organizations currently available. It does not include organizations created later.
* If you do not see **Mirror**, ask your administrator to check your permissions and whether your account has mirroring enabled.
## Related articles
> [card] [Set up object mirroring](/access-management/set-up-object-mirroring)
>
> Create customer organizations, add users, and mirror domains and dashboards.
> [card] [Set up tenant organizations and mirrors with the API](/integrations/user-management/mirror-with-the-api)
>
> Provision organizations, users, and mirrors with GraphQL.
> [card] [Manage Organizations](/access-management/manage-organizations)
>
> Create, edit, and archive organizations as a Site Administrator.
# Set up object mirroring
Source: https://docs.wisdom.ai/access-management/set-up-object-mirroring
This guide walks administrators through onboarding a customer with object mirroring. Creating the customer's organization, adding its users, and mirroring the domains and dashboards they need. The same steps apply to business units or other groups that need separate membership and sharing.
For the concepts behind mirroring, including how access to content differs from access to data, see [Object mirroring](/access-management/object-mirroring).
## Before you begin
* Prepare the source domain or dashboard in your authoring organization.
* Ask a Site Administrator to create the customer organizations, or create them yourself if you are one.
* Make sure the administrator who sets up mirroring has permission to manage mirrors and target access, in both the source and destination organizations.
> [!NOTE]
>
> If you do not see **Mirror**, ask your administrator to check your permissions and whether your account has mirroring enabled.
## Onboard a customer
To onboard a customer, you create their organization, add their users, mirror the domain and dashboard, and test access as a customer user.
### Create the customer's organization
Follow these steps to create a separate organization for the customer and choose its administrators.
1. Open **Organizations** from the navigation.
2. Select **Add Organization**.
3. Enter an organization name, such as "Customer A", and a unique URL identifier in **URI**.
4. Choose the **Organization Admins** who manage this customer.
5. Select **Create Organization**.

This creates a private organization. Record which customer it belongs to. If WisdomAI opens the new-domain setup, close it to mirror an existing domain instead.
### Add users to the customer organization
Follow these steps to invite the customer's users and assign their roles.
1. Open the customer's organization.
2. Select **Users**, then **Invite Users**.
3. Enter the users' work email addresses.
4. Choose a role. **Explorer** lets users ask questions and create analyses. **Observer** provides viewing access.
5. Review domain restrictions and user groups. The form defaults to all domains. Restrict it to specific domains if needed.
6. Select **Invite** to send the invitations.

Give each person their own identity. Membership and roles determine what they can do in the organization. Mirror access settings control access to the shared object.
Add customer users to their customer organization. They do not need membership in the authoring organization to use its mirrors.
For automated or embedded onboarding, add the user to the correct customer organization. Assign roles within that organization and supply the user attributes your data policies require. Record the corresponding WisdomAI organization for each customer in your application. To automate this step, see [Set up tenant organizations and mirrors with the API](/integrations/user-management/mirror-with-the-api).
If the person already exists in WisdomAI, add their existing identity to the customer organization. Check their new access before you remove old roles in the authoring organization. Do not delete and recreate the person.
Review your sign-in and self-provisioning settings to prevent them from adding customer users to the authoring organization.
### Mirror the domain
Mirror a domain so customers can ask questions using the data context your team maintains.
1. Switch to the authoring organization and open **Domains**.
2. Open the source domain.
3. Select the **Mirror domain** icon at the top right.

4. Select the destination customer organization or organizations.
5. Choose **Target access** using the table below.
6. Select **Save**.
7. Reopen the dialog and confirm the destination appears under **Existing mirrors**. Then open the customer's organization and confirm the domain appears in **Domains**.

| Target access | When to choose it | What it does |
| - | - | - |
| **Admins only** | You want administrators to review the mirror before a wider rollout. | Administrators can access a new mirror. This setting does not grant access to all users. |
| **All users** | The content is intended for everyone in the selected customer organizations. | Users in each selected organization can read the mirror, including users added later. |
> [!NOTE]
>
> **All users** applies to the selected organizations. It does not make the mirror public or give every account user access.
After you save, **Existing mirrors** lists each destination organization with the target access you chose.
Customers can now use the shared domain for analysis. Your team maintains the original. To provide prepared reports, mirror the dashboards too.
### Mirror the dashboard
Follow these steps to mirror a dashboard so customers can view prepared reports.
1. In the authoring organization, open **Apps** and select the source dashboard. Some interfaces label this area **Dashboards**.
2. Finish saving any pending dashboard edits.
3. Open the dashboard's **More** menu in the top right and select **Mirror dashboard**.

4. Select the customer organization or organizations.
5. Choose **Admins only** for administrator review or **All users** to give the selected organizations' users access.
6. Select **Save**.

> [!TIP]
>
> Set up domain and dashboard mirrors separately.
Open **Apps** in the customer's organization and select the mirror. Customers can view the dashboard and use its available filters. They cannot edit the original.

### Test access as a customer user
Sign in as a representative customer user before you invite the wider audience. An administrator preview cannot confirm that user's access.
* Confirm the user lands in the intended organization and can find the mirrored content.
* Open the dashboard. Check that the user sees only the customer data, rows, and columns they may access.
* If you mirrored a domain for exploration, ask a representative question and check the result.
* Confirm the user cannot edit the shared source content and cannot access another customer's organization.
* If you use **All users**, check the experience of a newly added user too.
If you embed WisdomAI, authenticate as the individual viewer. Each mirror has its own ID. Use it in customer links and API calls, along with the customer's organization context.
Keep the long-lived embedding credential on your backend. Use it to issue a short-lived session for the viewer. Your integration must identify the correct user and organization.
## Manage content and access after setup
* **Update the original:** Edit the source domain or dashboard in the authoring organization. Mirrors refer to it, so you do not need to republish a copy for each customer. Mirroring does not change warehouse refresh schedules. It also does not guarantee that an open browser redraws immediately.
* **Add each new customer:** Create their organization, add their users, and select the organization in the relevant mirror dialogs. **Select all organizations** selects the available choices. It does not include organizations created later.
* **Review access from the source:** Open **Mirror domain** or **Mirror dashboard** to see destinations and access settings. A target-access change applies to every selected organization when you save. Check the selected destinations first. If organizations need different access settings, ask an administrator to manage each mirror's grants.
* **Remove a mirror:** In the source object's **Mirror** dialog, clear the destination organization's checkbox and select **Save**. This removes that mirror and its access grants. It leaves the source and other mirrors unchanged.
Switching a mirror to **Admins only** removes its all-user grant. Check any individual or group grants you added separately, because this setting does not remove them.
## Common questions
> [accordion] Can my customers change the shared definitions or dashboard?
>
> No. The mirror is read-only. Edit the original in the authoring organization.
> [accordion] Does mirroring a dashboard also give my users its domain for asking new questions?
>
> No. Set these up separately. Mirror the domain for exploration and each dashboard you want the customer to use.
> [accordion] Can I mirror an existing mirror into another organization?
>
> No. Create each mirror from the original object.
> [accordion] Why is the destination organization missing from the dialog?
>
> Check that the organization is active and differs from the source organization. You also need permission to manage mirroring there. The dialog loads up to 100 eligible organizations. For larger rollouts, ask your administrator to provision mirrors through the API. See [Set up tenant organizations and mirrors with the API](/integrations/user-management/mirror-with-the-api).
> [accordion] Why can't my customer see a mirror that exists?
>
> Check the user's membership and roles in the customer organization. Then check the mirror's access setting and the organization used by the link or embedded session.
> [accordion] Why are the results in a mirrored dashboard or domain unexpected?
>
> Check the viewer's identity and user attributes against your data policies and connection parameters. Check the dashboard's filters and refresh state too.
> [accordion] What happens to a mirror if I delete the original?
>
> The mirror depends on the original. Keep the original and its organization active while customers need the mirror.
## Related articles
> [card] [Object mirroring](/access-management/object-mirroring)
>
> Learn how mirrors, organizations, and data access fit together.
> [card] [Manage Organizations](/access-management/manage-organizations)
>
> Create, edit, and archive organizations as a Site Administrator.
> [card] [Set up tenant organizations and mirrors with the API](/integrations/user-management/mirror-with-the-api)
>
> Provision organizations, users, and mirrors with GraphQL.
# Command Palette
Source: https://docs.wisdom.ai/admins/using-wisdom-ai-everyday/command-palette
The command palette is a keyboard-first launcher for WisdomAI. Open it with a single shortcut to jump to any chat, dashboard, domain, connection, or settings page, search across your workspace, or trigger actions like inviting a user or adding a new connection — without leaving the page you're on.
The palette only ever shows entries you have permission to use, so the items in your palette may differ from a teammate's.
## Open the command palette
Press the keyboard shortcut from anywhere in WisdomAI:
* **macOS:** ⌘ + K
* **Windows / Linux:** Ctrl + K
Press the same shortcut again, click outside the dialog, or press Esc to close it.

> [!TIP]
>
> The shortcut works on every authenticated page. If nothing happens, make sure WisdomAI is the focused tab and that you don't have a system-level shortcut bound to ⌘ +K .
## Layout
When you open the palette, you see:
* A **search input** at the top with the placeholder *Ask or jump to anything...*
* A **list of items** grouped by section. The home view shows: **Quick Actions**, **Browse**, **Users**, **Profile**, and **Help**.
* A **footer** that shows the available keyboard shortcuts for the current view.
After you select a category, a **breadcrumb bar** appears above the search input with a **Back** button so you can return to the home view.
## Search anything
Start typing in the search input to filter across every entry in the palette — chats, dashboards, domains, connections, agents, subscriptions, settings pages, and built-in actions.
WisdomAI uses fuzzy matching, so typos and partial words still surface relevant results. Each entry is also indexed by its keywords; typing `sso` finds **Single Sign-On (SSO)**, `embed` finds **Embedded Mode**, and so on.
Results are ordered by relevance:
1. **Exact name matches** appear first.
2. **Quick Actions** (such as **New Chat**) and **direct navigation** entries (such as **Dashboards** or **Domains**) come next.
3. **Action items** (entries marked with the **Action** badge) follow.
4. **Items whose names start with your query** are then prioritized over partial matches.
5. **Other fuzzy matches** appear at the bottom.
When a result lives inside a category — for example, a specific dashboard — the palette shows a small *in \* hint below its name so you know where it came from.

## Navigate with the keyboard
The footer always shows the shortcuts available in the current view:
| Key | What it does |
| :- | :- |
| ↑ / ↓ | Move the selection up or down. |
| Enter | Open the highlighted item or run the highlighted action. |
| Backspace | Return to the previous view (only shown when you're inside a category and the search box is empty). |
| Esc | Close the palette. |
You can also click any entry with the mouse.
## Browse by category
The **Browse** section on the home view lists the major areas of WisdomAI. Selecting one opens its submenu, which contains the actions you can run there plus a live list of items you have access to.
The categories the palette can show are:
| Category | What you'll find |
| :- | :- |
| **Chats** | Your recent conversations. Selecting one opens the chat. |
| **Agents** | The **Add Agent** and **View All Logs** actions, plus your existing agents. |
| **Dashboards** | The **Add Dashboard** action, plus dashboards you can view. |
| **Domains** | The **Add Domain** action, plus domains you have access to. |
| **Connections** | The **Add Connection** action, plus your data source connections. |
| **Playground** | Opens the SQL Playground directly. |
| **Chat Log** | Opens the Chat Log directly. |
| **Subscriptions** | Your scheduled dashboard and notification subscriptions. |
| **Settings** | All settings pages, listed below. |
| **Organizations** | The **Add Organization** action, plus organizations you can switch into. |
> [!NOTE]
>
> Categories whose pages don't have a submenu — such as **Playground** and **Chat Log** — navigate directly when you select them. Categories that you don't have permission for, or that aren't enabled for your instance, are hidden from the home view entirely.

## Run actions
Some entries are **actions** rather than destinations — they are tagged with an **Action** badge in the list. Selecting an action triggers it immediately. Examples include:
* **New Chat**: start a fresh conversation.
* **Add Dashboard**, **Add Domain**, **Add Connection**, **Add Agent**, **Add Organization**: open the relevant create flow.
* **View All Logs** (under **Agents**): jump to the agent run log.
* **Invite Users** (under **Users**): open the invite flow.
* **Sign out** (under **Profile**): sign out of WisdomAI.
* **Customer Portal** (under **Profile**): open the support portal in a new tab.
## Jump to settings
Selecting **Settings** in the **Browse** section reveals every settings page in a single submenu, so you don't have to navigate through the sidebar to reach them. The submenu can include:
* **Single Sign-On (SSO)**
* **API Keys**
* **Connected Apps**
* **Chart Colors**
* **Embedded Mode**
* **Slack Integration**
* **Notifications**
* **Email Access Control**
You can also type a setting's name into the search input from the home view to jump straight to it — for example, typing `email access` highlights the [Email Access Control](/settings/email-access-control) page.
> [!TIP]
>
> The palette respects your permissions: each entry only appears if you have access to it. If a setting isn't listed, ask your administrator to grant the relevant role.
## Switch organizations
If your WisdomAI tenant has multiple organizations and you have access to more than one, the **Organizations** category lets you switch contexts without leaving the page. Selecting an organization in the submenu loads it as your active organization and takes you to the search page in that organization.
## Profile and help shortcuts
Two sections at the bottom of the home view give you fast access to account-level actions:
* **Profile** — Open **Profile settings**, jump to the **Customer Portal**, or **Sign out**.
* **Help** — Open the [WisdomAI Documentation](https://docs.wisdom.ai) in a new tab.
## Tips for working faster
> [accordion] Use keywords, not exact names
>
> Every entry has a list of keywords attached to it. Typing a related term — `auth` instead of `Single Sign-On`, `iframe` instead of `Embedded Mode`, `add user` instead of `Invite Users` — surfaces the right entry without you having to remember its exact label.
> [accordion] Stay in a category to narrow your search
>
> Open a category first (for example, **Dashboards**), then type your query. The palette restricts results to that category, which is faster than scanning a global search.
> [accordion] Use the palette to launch creation flows
>
> Instead of clicking **+** buttons across multiple pages, type the entity you want to create — `add dashboard`, `add agent`, `add connection` — and run the matching action straight from the palette.
## Next steps
> [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> Build sharper natural-language questions to get more accurate answers.
> [card] [Email Access Control](/settings/email-access-control)
>
> Configure who can sign in to your WisdomAI instance.
> [card] [Slack](/integrations/connect-to-slack)
>
> Connect WisdomAI to your Slack workspace.
> [card] [Schedule Dashboards & Notifications](/using-wisdom-ai-everyday/schedule-dashboards-notifications)
>
> Set up recurring dashboard updates and alerts for your team.
# Python Interpreter Tool
Source: https://docs.wisdom.ai/advanced-features/python-interpreter-tool
Use the Python Interpreter tool to go beyond SQL and perform advanced data science operations such as forecasting, regression, clustering, and mathematical calculations directly from natural language in Chat. When you ask a question that requires computation beyond what SQL can answer, WisdomAI automatically generates Python code, executes it securely, and visualizes the result.
This guide explains how to enable the tool, what types of analysis it supports, and how to get the best results.
## How it works
When you ask a question that requires advanced computation, WisdomAI follows this process:
1. **Retrieves data**: If the analysis needs data from your database, WisdomAI first queries it using SQL.
2. **Generates Python code**: WisdomAI translates your natural-language instruction into Python code.
3. **Visualizes the result**: The result is automatically visualized as a chart or table—you do not need to write any plotting code.
## Enable or disable the tool
Before asking a question, make sure the Python Interpreter tool is enabled in the chat interface.
1. Open a **Chat** in WisdomAI.
2. Locate the **experimental tools** selector in the chat input area.
3. Toggle **Python Interpreter** on or off.

> [!NOTE]
>
> Your preference is saved and persists across sessions. When enabled, WisdomAI will use the tool automatically when your question requires Python-level analysis. When disabled, only SQL-based analysis is available.
## What you can do
Perform the following data science tasks and advanced transformations directly within your chat sessions:
### Mathematical calculations
Ask any arithmetic or mathematical question, and WisdomAI will compute it with Python rather than relying on approximations.
* `What is the compound annual growth rate of revenue from 2020 to 2024?`
* `Calculate the standard deviation of deal sizes across all closed-won opportunities.`
### Time-series forecasting
Forecast future values using statistical models. WisdomAI selects the appropriate method based on your data.
**Example questions:**
* `Forecast monthly revenue for the next 12 months.`
* `Predict weekly active users for Q3 based on historical trends.`

The result automatically includes both original and forecasted values in a single visualization, so you can compare them side by side.
### Regression Analysis
Fit regression models to understand relationships between variables or extrapolate trends.
**Example questions:**
* `What is the relationship between marketing spend and revenue?`
* `If we increase headcount from 50 to 100 in steps of 5, what is the projected output?`

### Clustering
Group data points into clusters to discover natural segments in your data.


### Data manipulation and transformation
Perform pandas-style operations that SQL cannot express, such as pivoting, rolling windows, or custom row-level logic.
**Example questions:**
* `Calculate the 7-day rolling average of daily signups.`
* `Merge the sales and returns tables on order_id and compute net revenue per product.`
* `Pivot the data so each region becomes a column with total sales as values.`
## Available Python libraries
Code generated by WisdomAI runs in a secure, sandboxed environment. Only a curated set of Python libraries is available for import. Any attempt to import a module outside of this list will be blocked.
The following libraries are allowed:
`collections` `csv` `datetime` `functools` `itertools` `json` `math` `numpy` `pandas` `prophet` `random` `re` `scipy` `sklearn` `statsmodels` `string`
If you need a module that is not listed above, contact [the WisdomAI support team](/manage-account/contact-support) for assistance.
## Tips for best results
* **Be specific about the analysis you want.** Instead of "analyze sales," ask "forecast monthly sales for the next 6 months using the last 2 years of data." Specificity helps WisdomAI choose the right method and parameters.
* **Fetch data first, then analyze.** For data science tasks, WisdomAI follows a two-step process: first, query data via SQL, then analyze it with Python. If you notice missing data, ask for a follow-up to retrieve the full dataset before re-running the analysis.
* **Ask to adjust parameters.** After a forecasting or regression result, you can ask WisdomAI to change the method or tune parameters. For example: "Redo the forecast using ETS with multiplicative seasonality" or "Try Ridge regression with alpha=0.5."
* **Use follow-up questions.** The result persists in your conversation. You can ask follow-up questions like "Now filter this to only show Q4" or "Add a trend line to the existing data."
## Use case examples
### Forecasting revenue
* **Scenario**: You need to forecast next quarter's revenue using historical monthly data.
* **Question**: `Forecast monthly revenue for the next 3 months based on the last 2 years of data.`
* **Outcome**: WisdomAI first queries your revenue data, then runs a SARIMAX or ETS forecast, and presents both the historical and forecasted values in a single line chart.
### Segmenting customers
* **Scenario**: You want to identify natural customer segments for a marketing campaign.
* **Question**: `Cluster our customers into groups based on total spend and order frequency. Suggest the best number of clusters.`
* **Outcome**: WisdomAI queries customer metrics, runs K-Means with silhouette scoring to determine the optimal number of groups, and presents a scatter plot with color-coded clusters.
### What-if analysis
* **Scenario**: You want to understand how increasing ad spend might affect conversions.
* **Question**: `Based on historical data, if we increase ad spend from $10K to $50K in $5K steps, what are the projected conversions?`
* **Outcome**: WisdomAI fits a linear regression on historical ad spend vs. conversions, extrapolates over the specified range, and shows both the original data and projected values.
## Next steps
> [card] [Expert Mode](/chat/overview#choose-a-mode)
>
> Investigate complex, multi-step questions with automated research plans and detailed reports.
> [card] [Visualization Types](/advanced-features/visualization-types-and-properties)
>
> Explore all available chart types and how to customize your data presentation.
> [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> Learn how to phrase questions for the best and most accurate results.
> [card] [Build Dashboards](/improve-wisdom-ai-responses/build-dashboards)
>
> Pin analysis results to dashboards for ongoing monitoring and sharing.
# Visualization Types and Properties
Source: https://docs.wisdom.ai/advanced-features/visualization-types-and-properties
This guide covers the visualization features within WisdomAI's **Dashboards and Chats**. It explains how to analyze trends, compare categories, and adjust data display settings.
The following sections describe:
* The catalog of available **chart types** to represent your data visually.
* Options for **switchable encodings** that allow you to adjust axis assignments, filters, and aggregations.
* Built-in **interaction options** to customize queries and validate results.
* Key **accessibility features** designed to make Dashboards approachable for all users.
## Graph / Chart Catalog
WisdomAI's Dashboards support a variety of chart types to represent data insights effectively. Users can select the desired chart type through a dropdown menu in the **Editor** tab.

### Available chart types
| Chart Type | Feature |
| :- | :- |
| **Table** | Displays raw data in a structured format, ideal for precise values and detailed comparisons. |
| **Pie Chart** | Best for showing proportions within a whole, where each slice represents a percentage of the total. (Consider using for 5-7 slices maximum.) |
| **Funnel Chart** | Illustrates how values progress through different stages of a sequential process, often used to visualize conversion or attrition rates. |
| **Bar Chart** | Useful for comparing quantities across discrete categories, with the length of the bars representing the values. |
| **Bar Chart (stacked)** | Displays multiple data series in a single bar, where segments within the bar show the contribution of each part to the whole. Useful for comparing sub-categories and their cumulative totals. |
| **Bar Chart (100% stacked)** | Similar to a stacked bar chart, but each bar represents 100% of a category, with segments showing the percentage contribution of subcategories. Ideal for showing part-to-whole relationships and how proportions change over time. (Be cautious as overall totals are not explicitly shown.) |
| **Column Chart** | Visually represents numerical values using vertical columns. Ideal for comparing discrete categories, often with the height of the column corresponding to the value. |
| **Column Chart (stacked)** | Presents multiple data series as vertical bars, with segments stacked to show their cumulative sum. Aids in comparisons between categories over time or across different groups. |
| **Column Chart (100% stacked)** | Compares multiple measures by stacking bars vertically, where each segment represents the percentage of the overall category total. Useful for showing the distribution of components within a whole at a specific point in time or across time. |
| **Area Chart (stacked)** | Shows data as an area under a line that connects data points, with multiple series stacked on top of each other. Useful for displaying the contribution of different components to a whole while showing overall patterns and cumulative trends over time. |
| **Area Chart** | Visualizes quantitative data and shows how values change over time, with the area between the line and the baseline filled with color. Ideal for emphasizing trends and the magnitude of change. |
| **Line Chart** | Ideal for displaying trends over time or across continuous measurements, showing how data changes and identifying patterns. (Excellent for time-series data.) |
| **Map** | Transforms geographic data into visual insights by displaying information across different regions, countries, or territories. Useful for visualizing spatial patterns and distributions. |
These visualization options enable users to tailor the presentation of data to their specific analytical needs. Therefore, selecting the optimal chart depends on your data, the message you want to convey, and your audience. Always consider what insights you want to highlight before picking a chart type.
## Switchable encodings
Within the **Editor** tab, users can customize data encodings to refine their visualizations, for example:
* **Axis Assignment** – Drag and drop data columns to assign them to the X and Y axes\
*(e.g., "Region" on X-axis, "Total Revenue SUM" on Y-axis)*.
* **Data Filtering** – Apply filters to focus on specific data subsets\
*(e.g., "Stage Label: Closed Won")*.
* **Aggregation Functions** – Use SUM, AVG, etc., to aggregate numerical data as needed.
These features allow for dynamic adjustment of visualizations to highlight the most relevant insights.

## Interaction options
WisdomAI provides interactive elements to enhance user engagement and data exploration:
* **Editable SQL** – Modify the generated SQL queries in the **SQL** tab to correct or fine-tune results.
* **Feedback Mechanism** – Give a thumbs up or down to improve future AI responses.
* **Review & Validation** – Mark queries as reviewed to confirm accuracy in team workflows.
These interaction options support iterative refinement and validation of data analyses.

## Accessibility notes
WisdomAI emphasizes accessibility to ensure a wide range of users can effectively engage with Dashboards:
* **Natural Language Interface:** Ask questions using plain English to generate data queries.
* **Visual Configuration Tools:** Use drag-and-drop components in the Widget Editor to configure visuals without writing code.
* **Collaborative Integrations:** Access insights directly from platforms like Slack or Teams, supporting seamless workflows.
* **Color Accessibility:** WisdomAI Dashboards meet WCAG 2.1 AA contrast requirements, ensuring chart colors are distinguishable for users with color vision deficiencies. You can also prompt the AI to adjust chart colors to better suit your needs.
These features aim to make data exploration more inclusive and user-friendly for both technical and non-technical users.
## Next steps
> [card] [Dual-Axis Charts](/product-updates/february-2026/dual-axis-charts)
>
> Plot two metrics with different scales on the same chart.
> [card] [Build Dashboards](/improve-wisdom-ai-responses/build-dashboards)
>
> Compile your favorite charts and visualizations into a shareable dashboard.
# Chat 2.0
Source: https://docs.wisdom.ai/chat/overview
The new and improved WisdomAI chat experience: ask in plain language, pick a reasoning mode, follow the work, and turn answers into reports, dashboards, and agents.
Chat is where you ask questions about your data in plain language. You pick a domain, type a question, and WisdomAI plans the analysis, runs it against your governed data, and answers with tables, charts, and explanations you can inspect step by step.
> [!NOTE]
>
> This page describes **Chat V2**, the new chat experience that is now the default for everyone. It replaces the Classic and Deep Analysis modes: Classic chats still open, but new conversations use the experience described here.
## Ask a question
1. **Start a new chat.** Click **New chat** in the sidebar and pick the domain that owns the data you're asking about.
2. **Type your question.** Ask the way you'd ask a colleague: "What was revenue by region last quarter?" For phrasing that gets better answers, see [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions).
3. **Follow the work.** The answer streams in along with what the AI is doing. For multi-step questions you'll see its plan as a to-do list that checks off as it progresses.
While an answer is running you can press the **stop** button to cancel it, or keep typing: messages you send mid-answer are queued and handled next. You can also **edit** a question you already asked, or **retry** the last one.
## Choose a mode
The mode selector under the chat input controls how much reasoning your question gets:
| Mode | What it's for |
| - | - |
| **Thinking** (default) | Dynamic reasoning. Best for most questions. |
| **Lite** | Lightweight mode for easy queries and quick answers. |
| **Expert** | Highest reasoning, for the hardest questions and complex analysis. Expect it to take longer, go deeper, and often produce a full report. |

A conversation's mode is fixed after the first message, so start a new chat to switch modes.
> [!NOTE]
>
> The earlier **Deep Analysis** and **Classic** modes are deprecated. For the long-running, open-ended investigations you used Deep Analysis for, use **Expert** — it runs inside the normal chat flow, so you can watch the plan progress and answer clarifying questions along the way.
## When WisdomAI asks you a question
If your question is ambiguous, the AI asks instead of guessing. A clarification appears just above the chat input with the likely interpretations as clickable options. Click one and the analysis continues immediately, or type your own answer if none of the options fit.
## See how an answer was produced
Every answer shows its work. Click the activity indicator on a message to open the **AI Workstream** panel: a step-by-step list of what ran. Click any step to see its detail, including the exact **SQL** or **Python** that executed, the context it used, and the output table it produced. If web search is enabled for the domain, searches and fetched pages show up here too.
This is the fastest way to verify a number before you rely on it.
## Work with answers and artifacts
Results open as tabs in a side panel next to the conversation:
* **Charts** can be opened, restyled, and exported.
* **Tables** support instant [filters](/dashboards/instant-filters), so you can narrow a result in place without re-asking.
* **Files** referenced in the analysis, including PDFs and images, preview in place.
Tables and charts carry thumbs up/down buttons. Rating an answer, especially explaining a thumbs-down, helps your admins improve the domain's context.
## Reports
For questions that deserve more than a table, the AI writes a report. An **Open report** card appears in the conversation; click it to watch the report stream in, section by section, in its own panel. From the report's **Share** menu you can:
* **Export as PDF** or **Word (DOCX)**
* **Share via link**, so teammates can open the report directly
Expert mode produces reports most often, but any mode can generate one when the question calls for it.
## Bring your own context
* **Attach files** from the **+** button: spreadsheets and CSVs, PDFs, images, and most text formats. Ask questions across them together with your connected data. See [Use File Attachments in Chat](/improve-wisdom-ai-responses/attach-files-to-chat).
* **Reference a domain file** from the same menu to pull an existing dataset or document into the conversation without re-uploading it.
* **Paste** images or code straight into the input.
## Type less
* Type **/** to insert a [skill](/setting-up-wisdom-ai/manage-domains/skills) your team has defined for recurring analysis patterns.
* Gray **ghost text** suggests a completion as you type; press **Tab** to accept it.
* Click the microphone to **dictate** your question instead of typing it.
## Discover existing apps as you type
Before you send a question, WisdomAI can point you to published content that may already answer it. Suggestions appear below the input as you type. See [Find an existing app while typing](/live-apps/overview#find-an-existing-app-while-typing) for details.
## Long-running questions
Deep questions take time. When a turn runs long, a **Notify me when complete** option appears above the input; enable it and your browser alerts you when the answer is ready, so you can work elsewhere in the meantime.
## Manage a conversation
* **Share** the conversation from the top bar and control who can open it.
* **In this chat** lists every question asked, so you can jump around long conversations.
* From a message you can **copy a direct link** to it or **fork the chat** from that point to explore a different direction.
* Rename, pin, duplicate, or delete the chat from its options menu.
## Turn answers into assets
A good answer shouldn't stay buried in a conversation:
* **Add to dashboard** pins the result where your team will see it refreshed. See [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards).
* When a question implies a recurring cadence ("every Monday", "each month"), chat offers to create an **Agent** that runs it on schedule and delivers the result.
* When the AI learns something about your business worth keeping, it can propose saving it as domain **knowledge** for users with domain edit access to approve.
## Next steps
> [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> Build sharper natural-language questions to get more accurate answers.
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Compile key insights and visualizations into a shareable, narrative-driven report.
# Cached Data on Dashboards and Apps
Source: https://docs.wisdom.ai/dashboards/cached-data
When an admin registers tables for caching, your dashboards and apps serve tiles from the data cache. Learn how to check data freshness, refresh data, and read per-tile cache chips.
> [!NOTE]
>
> Wisdom Smart Cache is in beta and is enabled per account.
## Check data freshness
When any tile is served from the data cache, the dashboard header shows **Data as of \ · uses data cache**. The timestamp is the oldest data shown anywhere on the artifact.

## Refresh data
Refresh Data re-runs every widget query. Cached tables read the latest snapshot, and everything else queries the warehouse.
Refreshing never rebuilds the cache. Admins control rebuilds from **Domains**, or with **Build now**.
## Per-tile cache chips
Superusers see a cache chip on each tile with the source and cache time. Other users rely on the header line.
## Related articles
> [card] [Cache tables for faster apps and dashboards](/setting-up-wisdom-ai/cache-tables)
>
> Register tables for caching and set rebuild intervals.
> [card] [The Smart Cache screen](/setting-up-wisdom-ai/smart-cache)
>
> Monitor cache usage and find caching candidates.
# Dashboard Versioning
Source: https://docs.wisdom.ai/dashboards/dashboard-versioning
Dashboard Versioning introduces a draft/publish model for dashboards and their widgets. Every change you make creates a draft that does not affect the version users are viewing. Saving promotes the draft to a new published version and preserves the previous version in history. Admins can revert to any prior version at any time. This guide walks you through the draft and publish flow, version statuses, and how to restore a prior version.
## How it works
A continuous lifecycle process that lets admins safely modify analytics interfaces without impacting what users see in production until changes are published.
**1. Create a draft**
When you make any change to a dashboard, a draft is automatically created as an isolated copy of the current published version. The published version remains unchanged, and users continue viewing it normally. For changes that affect widget data (SQL, filters, visualization config), a draft is created only for the affected widget. Other widgets on the same dashboard are not touched. For layout-only changes (repositioning widgets), only a dashboard draft is created with no widget rows cloned.
**2. Save and publish**
Click **Save** to promote the draft to the new published version. The previously published version moves to history.
**3. Manage version statuses**
Every dashboard version exists in one of three statuses.
| Status | Description |
| :- | :- |
| **Latest (Published)** | The current version all users see. |
| **Draft** | Work in progress, based on the current published version. Not visible to end users. |
| **History** | All previous published versions, retained permanently for audit and rollback. |
**4. Revert to a prior version**
Open the version history panel for the dashboard, find the version you want to restore, and confirm. The selected version becomes the new published version. Reverting creates a new version entry and history is append-only. Widget membership is restored exactly as it was in the selected version.
> [!NOTE]
>
> Multiple admins can maintain separate drafts simultaneously. If two admins try to publish from drafts based on the same version, the second publish is blocked with a conflict notice until the conflict is resolved. When viewers apply temporary filter changes, a session-only draft is created scoped to that session. These changes are never published and are cleaned up automatically.
## Target users
Dashboard Versioning is available to:
* **Dashboard Admins**: Create, edit, publish, and revert dashboard versions.
* **Support and Operations teams**: Use version history to diagnose what changed and when without reconstructing issues from memory.
* **Viewers and Explorers**: Can apply temporary filters without creating permanent versions or disrupting the published dashboard.
## FAQs
> [accordion] Does versioning apply to individual widgets as well as dashboards?
>
> Yes. Widgets are independently versioned. A change to one widget creates a new widget version for that widget only. Other widgets on the same dashboard are unaffected.
> [accordion] Will existing dashboards automatically get version history?
>
> Dashboards gain versioning from the point this feature is enabled. Historical status prior to the release is not retroactively captured.
> [accordion] What happens when multiple admins edit the same dashboard?
>
> Each admin works in their own draft. The first to publish goes through. The second admin's draft is flagged as a conflict and they must resolve it before publishing.
> [accordion] Can viewers accidentally overwrite dashboard changes?
>
> No. Viewer filter changes create a temporary session-only draft that is never published.
> [accordion] How far back does version history go?
>
> All published versions are retained. There is no automatic pruning in the current release.
## Next steps
> [card] [Understand domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Explore how domains organize the data logic that powers your dashboards.
> [card] [Domain Health](/setting-up-wisdom-ai/manage-domains/domain-health)
>
> Monitor the readiness and accuracy of the domain your dashboards query against.
# Instant Filters
Source: https://docs.wisdom.ai/dashboards/instant-filters
Narrow any results table in place. Filters apply in your browser, last for your session, and never change the underlying query.
Results tables in WisdomAI have built-in filters. Pick the values you want to keep in a column, and the table narrows immediately. Nothing is re-queried, and nothing you have shared changes: the filters apply only to your view and reset when you leave the page.
Reach for them when the answer is right but the table is too broad, like when you want one region out of the twenty in the result.
## Filter a column
1. **Open the column menu.** Hover over a column header and click the menu icon.
2. **Choose Filter values.** A checklist opens with every value in the column and a count of rows for each. Use the search box to find values in long lists. `(Blank)` matches empty cells.
3. **Tick the values to keep.** The table updates as you select. **Select all** and **Select none** flip the whole list at once.
A funnel icon marks each filtered column, and a summary bar above the table shows how many filters are active. **Reset** on the summary bar clears everything at once.
## Hide a column
The same column menu has a **Hide column** option. At least one other column must be visible before you can hide one.
## What these filters never touch
* The underlying query, the saved answer, and the dashboard stay exactly as they were.
* Nobody else sees your filters. Two people can look at the same table and each keep their own view.
* Nothing persists. Refresh the page and the table returns to its full state.
> [!TIP]
>
> This makes instant filters safe to use aggressively. There is no way to break a shared dashboard or a saved answer with them.
## Limits
* Filters work on the rows loaded in your browser, up to 10,000.
## Next steps
> [card] [Build Dashboards](/improve-wisdom-ai-responses/build-dashboards)
>
> Arrange widgets, add summaries, and prepare a dashboard for sharing.
> [card] [Chat](/chat/overview)
>
> Ask questions about your data, and WisdomAI analyzes your governed data to provide answers.
# Organize a Dashboard with Tabs
Source: https://docs.wisdom.ai/dashboards/tabs
Split a dashboard into named tabs, move widgets between them, and share links that open on a specific tab.
Tabs split a single dashboard into named views. Instead of one long page of widgets, or several near-copies of the same dashboard, you can give each audience or topic its own tab, say an overview for leadership and a pipeline deep dive for sales ops.
Everyone who can open the dashboard can switch between its tabs. Adding, renaming, reordering, and deleting tabs requires editor access to the dashboard.
## Add a tab
1. **Open a dashboard you can edit.** Click **Dashboards** in the sidebar and select the dashboard.
2. **Click + next to the tab bar.** The first time you add a tab, the widgets already on the dashboard are collected into an **Overview** tab, and your new tab appears beside it. After that, each click adds one empty tab.
3. **Name the tab.** Click the tab's name and type over it. You can rename a tab at any time the same way.
> [!NOTE]
>
> The tab bar appears once a dashboard has two or more tabs. A dashboard with a single tab looks the same as it always did.
## Put widgets on tabs
New widgets are added to the tab you are currently viewing. To rearrange existing widgets, open a widget's menu and choose:
* **Move to tab** to place the widget on another tab.
* **Clone to tab** to copy it, which is useful when two audiences want the same chart alongside different neighbors.
## Reorder or delete tabs
Drag a tab left or right to reorder it.
To delete a tab, click the **×** on the tab and confirm. Deleting a tab removes the widgets on that tab from the dashboard draft, so move any widgets you want to keep first. A dashboard always keeps at least one tab, so the delete option is only available while more than one exists.
## Share a link to a specific tab
The active tab is part of the page URL. Copy the URL while viewing a tab, and anyone who opens the link lands on that exact tab. They still need access to the dashboard to see it.
## Good to know
* Existing dashboards are unchanged until the first time someone edits tabs on them.
* Dashboard filters are shared across the whole dashboard. A filter you set applies on every tab, not only the tab where you set it.
## Next steps
> [card] [Build Dashboards](/improve-wisdom-ai-responses/build-dashboards)
>
> Arrange widgets, add summaries, and prepare a dashboard for sharing.
> [card] [Share Dashboards and Set Access Control](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control)
>
> Control who can view or edit each dashboard.
# Deployment Models
Source: https://docs.wisdom.ai/deployment/deployment-models
This guide details WisdomAI's three deployment models, helping you select the best path based on your organization's security, data residency, and infrastructure requirements.
> [card] [Cloud-Prem](#cloud-prem)
>
> Managed service, deployed inside your own cloud account (AWS, GCP, or Azure).
> [card] [Customer On-Prem](#customer-on-prem)
>
> Full stack deployed on infrastructure you own, not a hyperscaler.
> [card] [SaaS Hosted](#saas-hosted)
>
> WisdomAI-managed cloud service. The fastest time-to-value, with zero infrastructure to run.
## Cloud-Prem
**Model:** Managed service, deployed inside your own cloud account
**Best for:** Teams that need data residency and cloud-account isolation while still letting WisdomAI operate the platform.
### Overview
In the Cloud-Prem model, your WisdomAI tenant is deployed as a managed service, isolated within your own cloud account on AWS, GCP, or Azure. Your data stays inside your cloud boundary; WisdomAI retains remote access to deliver updates and patches.
Operating this model is a shared responsibility: WisdomAI operates the platform itself, while provisioning of the underlying cloud resources within your account remains governed by you.
### Advantages
* **Strict data residency:** Data never leaves your organizational boundaries or your chosen cloud account.
* **Cloud spend utilization:** Apply your existing AWS, GCP, or Azure spend commitments to offset hosting costs.
* **Full operational visibility:** Retain access to all raw logs for compliance and security auditing.
### Supported cloud environments
| Cloud | Isolation |
| :- | :- |
| AWS | Deployed inside your VPC; compatible with Service Control Policies (SCPs). |
| GCP | Deployed within your project; compatible with VPC Service Controls. |
| Azure | Deployed within your VNet; integrated with Azure Policy. |
### Infrastructure layer
Cloud-Prem runs on a cloud provider and uses that cloud's managed primitives:
* **Object store:** the cloud's managed object storage (e.g. S3, GCS, Azure Blob).
* **PostgreSQL:** the cloud's managed Postgres (e.g. RDS, Cloud SQL, Azure Database for PostgreSQL).
This is the defining difference from Customer On-Prem, which runs on infrastructure you own rather than a hyperscaler.
### Red Hat OpenShift
WisdomAI runs natively on Red Hat OpenShift Container Platform for enterprises that standardize on OpenShift and require every application to conform to its hardened security model. OpenShift is a platform choice rather than a separate deployment model: on Cloud-Prem, it's supported via managed OpenShift (Amazon ROSA, Azure ARO) in your cloud account.
### Access & identity
These are two separate layers: a load balancer handles network traffic, and the identity provider handles authentication and authorization:
* **Network ingress:** traffic enters through a customer-controlled load balancer, kept local to your cloud environment.
* **Identity & access:** BYO IdP (Okta / Entra ID) enforces enterprise SSO and RBAC.
## Customer On-Prem
**Model:** Full stack deployed on infrastructure you own
**Best for:** Strategic enterprise deals with a hard requirement to run entirely on customer-owned infrastructure.
### Overview
In the Customer On-Prem model, the complete WisdomAI stack runs on your own infrastructure, not a hyperscaler, and not WisdomAI's own infrastructure. You control upgrade timing, and nothing is stored outside your environment. This option is reserved for strategic enterprise deals.
### Infrastructure layer
The defining difference from Cloud-Prem is the infrastructure layer. Customer On-Prem does not run on AWS, GCP, or Azure. Because there are no cloud-managed primitives to rely on, you provide your own:
* **Object store:** your own object storage.
* **PostgreSQL:** your own Postgres instance for metadata and audit logs.
### Compute
Kubernetes-based infrastructure running the Core Engine, Context Engine, Metadata Extractor, and Chunker/Indexer.
### Upgrades
Updates are delivered over-the-air, but you control when they are applied, upgrade timing is in your hands rather than WisdomAI's.
### Red Hat OpenShift
WisdomAI runs natively on Red Hat OpenShift Container Platform for enterprises that standardize on OpenShift and require every application to conform to its hardened security model. OpenShift is a platform choice rather than a separate deployment model, set up on your on-prem datacenter.
### Access & identity
These are two separate layers: a load balancer handles network traffic, and the identity provider handles authentication and authorization:
* **Network ingress:** traffic enters through a customer-controlled load balancer, kept local to your environment.
* **Identity & access:** BYO IdP (Okta / Entra ID) enforces enterprise SSO and RBAC.
### Data handling
Nothing is stored outside the customer environment. WisdomAI operates under Zero Data Retention (ZDR) agreements with model providers (e.g. OpenAI, Anthropic).
## Cloud-Prem & Customer On-Prem Shared Capabilities
These capabilities apply equally to Cloud-Prem and Customer On-Prem:
* **Bring Your Own Identity Provider (BYO IdP):** enterprise SSO and RBAC via your Okta or Entra ID.
* **Bring Your Own LLM (BYO-LLM):** on-prem or private-cloud model endpoints, with no hard dependency on any single model provider.
* **OpenSearch:** a single system providing both the lexical index and vector search. It is the vector store, not a separate component.
* **PostgreSQL:** metadata and audit logs.
* **Data residency:** no customer data leaves their controlled environment.
* **Encryption:** AES-256 at rest, TLS 1.2+ in transit.
## SaaS Hosted
**Model:** WisdomAI-managed cloud service
**Best for:** Teams that want the fastest time-to-value with zero infrastructure to run.
### Overview
In the SaaS Hosted model, WisdomAI runs and operates the entire platform for you. There is no infrastructure for your team to provision, patch, or monitor. WisdomAI handles upgrades, scaling, and operations.
This is the fastest path to production and the lowest operational burden of the three deployment options.
### What WisdomAI manages
* All compute, storage, and networking
* Upgrades and patching (delivered continuously)
* Scaling and availability
* Monitoring and operations
### Security
* **Encryption:** AES-256 at rest, TLS 1.2+ in transit.
* **Model access:** WisdomAI operates under Zero Data Retention (ZDR) agreements with model providers (e.g. OpenAI, Anthropic), so prompts and completions are not retained by those providers.
### When to choose SaaS Hosted
Choose SaaS Hosted when you want to evaluate or adopt WisdomAI quickly and do not have a requirement to keep the deployment inside your own cloud account or infrastructure. If data residency or infrastructure ownership is a hard requirement, see [Cloud-Prem](#cloud-prem) or [Customer On-Prem](#customer-on-prem).
## Deployment models at a glance
| | Cloud-Prem | Customer On-Prem | SaaS Hosted |
| :- | :- | :- | :- |
| Where it runs | Your hyperscaler account (AWS/GCP/Azure) | Your own infrastructure (not a hyperscaler) | WisdomAI's cloud |
| Who operates it | Shared (WisdomAI operates the platform; you govern provisioning of cloud resources) | You | WisdomAI |
| Object store & Postgres | Cloud provider managed primitives | You provide your own | WisdomAI-provided |
| BYO Identity Provider | ✓ | ✓ | ✓ |
| BYO LLM | ✓ | ✓ | ✓ |
| Data stays in your environment | ✓ | ✓ | — |
| Setup complexity | Medium | High | Low |
## FAQs
The following questions cover common concerns about data handling across WisdomAI's deployment models.
> [accordion] Is the data encrypted in transit?
>
> Yes, across all three deployment models. WisdomAI uses AES-256 at rest and TLS 1.2+ in transit.
> [accordion] Customer On-Prem: Is there any data stored outside the customer environment?
>
> No. For Customer On-Prem deployments, nothing is stored outside of the customer environment. The WisdomAI Customer Success team works jointly with the customer application admin to help set up the WisdomAI SDK and the embeddings database (for RAG) metadata.
> [accordion] How long is personal data stored?
>
> WisdomAI does not store any personal data, across any of its deployment models. The WisdomAI Platform connects to the customer's data warehouse via native and third-party integrations, and uses functionality provided by OpenAI and Anthropic to convert natural language into database queries and generate business intelligence from the data returned. Zero Data Retention (ZDR) agreements are in place with OpenAI and Anthropic. The customer can also choose to provide their own API key and host the WisdomAI Platform as a private SaaS instance within their environment.
## Related articles
> [card] [iframe](/integrations/embeddings/embedding-modes)
>
> Integrate WisdomAI using the iframe embedding path.
> [card] [SDK](/integrations/embeddings/sdk/sdk-overview)
>
> Use the React SDK for a native component approach.
# Owls
Source: https://docs.wisdom.ai/early-access/owls
Owls are AI analysts that work on a goal in the background. WisdomAI is looking for design partners.
We're building Owls in close collaboration with a small group of design partners. If you have work that an Owl could take on, contact us at [support@wisdom.ai](mailto:support@wisdom.ai?subject=Owls+design+partner) and we'll follow up.
> [!NOTE]
>
> Owls are in alpha.
## What is an Owl
An Owl is an AI analyst that works for you. You give it a goal in one sentence, such as "find \$50 million of working capital" or "close the gap in the quarter," and it does the work in the background. It finds the data, runs the analysis, recommends what to do, carries out the actions you approve, and reports the result.
Dashboards show you what happened, but moving your numbers takes further work. Finding the opportunity, deciding what to do, carrying it out in the systems where your business runs, and checking whether it worked. Today, this work usually falls to you in addition to your day job.
You interact with your Owl in Slack, Microsoft Teams, or any other surface you use. It keeps working whether or not you're online, and it contacts you only when it needs a decision.
## What an Owl does
An Owl works through the following actions:
* **Analyzes and recommends:** Plans the analysis, runs governed queries across your connected data, and turns the result into a concrete recommendation.
* **Acts with your approval:** Prepares the change, such as CRM tasks or new reorder levels, and executes it when you say so. You can give standing approval for actions you trust it with.
* **Follows through:** Tracks the metric the work was meant to move and reports results against what it projected.
* **Remembers:** Keeps a diary of its brief, decisions, actions, and results, so ongoing work picks up where it left off.
## How to become a design partner
To become a design partner, complete the following three steps:
1. Email us. Write to [support@wisdom.ai](mailto:support@wisdom.ai?subject=Owls+design+partner) with the subject line "Owls design partner."
2. Tell us about the work. Share your team, the business systems you use, and one or two goals you'd hand an Owl. A sentence each is plenty.
3. Get started together. We'll set up a short call, pick a first goal, and get your Owl to work.
## Who is a good fit
A good fit is a team that already uses WisdomAI with a connected, governed domain and has at least one person with a clear goal they would hand to an analyst tomorrow if they had one.
## Design partner benefits
Alpha is the stage where your feedback changes the product the most. Design partners get:
* Early access. Put Owls to work on your real goals before general availability.
* A direct line to the team. Regular sessions with the product and engineering team building Owls.
* Influence on the roadmap. Your use cases shape which actions, connectors, and controls we build next.
* Hands-on setup. We help you scope a first goal and get your Owl working on it.
## Use cases
The following examples show what an Owl does in each area:
* **Sales:** Close the quarter's gap. Ask what it will take to hit the quarter. The Owl estimates the shortfall, points to the late-stage deals and expansion accounts most likely to close it, and, once you approve, creates tasks for each deal owner in your CRM and reports weekly on progress.
* **Marketing:** More pipeline on the same budget. Give it a pipeline target. The Owl estimates return by channel, finds where spend has stopped paying off, recommends a reallocation, and tracks pipeline from the shifted spend.
* **Product growth:** Raise trial conversion. Point it at a conversion goal. The Owl finds where trial users stall, recommends changes, sets up the experiment, and reports by group until the result is clear.
* **Finance:** Reduce days sales outstanding. The Owl finds the accounts driving late payments, builds a collections priority list, and assigns tasks in your billing system once you approve.
* **Operations:** Release working capital. The Owl finds inventory that exceeds forecast demand, recommends new reorder levels with the cash released and stockout risk for each, and tracks results monthly.
## Security and controls
Owls run on the same foundation as the rest of WisdomAI. The Analytics Harness plans each analysis, runs the queries, and verifies results at each step. The Enterprise Context Layer supplies your approved metric definitions and business rules. Every figure, recommendation, and action links back to the queries that produced it.
They also stay inside the lines your company draws:
* Your permissions, nothing more. Each Owl runs in a secured sandbox with its owner's access, including row and column-level security. It has no credentials of its own.
* Approval by default. Actions that send, publish, or change another system wait for you, within limits your administrators set.
* Full visibility. Your data team can see every Owl, what it's working on, and its full history in the audit log.
* Your data stays yours. It is not used to train models.
## FAQs
> [accordion] How can I start using Owls in WisdomAI?
>
> Owls are currently in alpha with a small group of design partners. Email [support@wisdom.ai](mailto:support@wisdom.ai?subject=Owls+design+partner) to request a spot.
> [accordion] How is an Owl different from a WisdomAI Agent?
>
> An Agent is a job that runs on a schedule or trigger, such as watching a metric around the clock. An Owl owns a piece of work: it decides which jobs are needed, sets them up, and answers for the result. Your existing Agents keep running, and Owls can create and use them.
> [accordion] Will an Owl in WisdomAI take actions without asking?
>
> No. By default it answers, analyzes, and recommends on its own, and asks before it sends, publishes, or changes anything in another system. You can grant standing approval for specific kinds of actions, within your company's limits.
> [accordion] Will an Owl in WisdomAI message me all day?
>
> No. It reaches out when it needs a decision or approval, or when a result changes materially. Its diary shows everything else it checked and did.
> [accordion] Can an Owl in WisdomAI work on more than one thing?
>
> Yes. An Owl can carry several pieces of work at once, each with its own progress and reporting.
> [accordion] What should I expect from the Owls alpha in WisdomAI?
>
> Real capability with some rough edges. Features and controls will change as we learn from design partners, and we'll keep you informed about what's changing and why.
# Provide Feedback to the System
Source: https://docs.wisdom.ai/explorers-feedback/provide-feedback-to-the-system
Your feedback is essential for improving WisdomAI's accuracy and reliability. By rating answers and providing corrections, you help the system learn and refine its responses. This guide walks you through the feedback process for all users.
* [Rate an Answer](#1-rate-an-answer)
* [Provide a Correction](#2-provide-a-correction)
* [Refine Your Question](#3-refine-your-question)
## 1. Rate an answer
After WisdomAI provides an answer, you will see thumbs-up (👍) and thumbs-down (👎) icons.
* **Click Thumbs Up (👍):** Use this if the answer is accurate, relevant, and helpful. This positive reinforcement helps the system understand what a good response looks like.
* **Click Thumbs Down (👎):** Use this if the answer is incorrect, incomplete, or unhelpful. This flags the response for review.
## 2. Provide a correction
When you click **Thumbs Down (👎)**, you will be prompted to provide more details. This is the most direct way to teach the system.
* **If the answer was incorrect:** Provide the correct answer in the text field.
* **If the answer was incomplete:** Add the missing context or information.

> [!NOTE]
>
> Currently, feedback icons (thumbs-up and thumbs-down) appear only for responses containing charts or structured data. Feedback for text-only responses is not yet supported, but will be available in a future update.
## 3. Refine your question
You can also provide feedback by rephrasing your original question. If an initial query does not provide the desired result, refining it with more specific details helps WisdomAI learn to interpret your intent more accurately.
## Next steps
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Validate and Test Answers](/improve-wisdom-ai-responses/validate-and-test-answers)
>
> Test and validate both natural language responses and SQL query results directly within the chat interface.
# Chat with a Dashboard
Source: https://docs.wisdom.ai/explorers/chat-dashboard
Chat with a Dashboard embeds a conversational AI copilot directly into dashboard pages. You can ask natural-language questions about your dashboard data, get AI-generated executive summaries, see what changed since your last visit, and add new widgets to the dashboard, all without leaving the page.
## Before you start
To use this feature, make sure you have a dashboard to chat with. If you haven't created one yet, see [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards) or [Build Dashboards](/improve-wisdom-ai-responses/build-dashboards).
## Ask a question about your dashboard data
When you open a dashboard, the chat sidebar opens on the right side of the page, and two AI-generated tiles appear at the top:
* **Executive Summary**: A streaming narrative summary of all data in the current dashboard.
> [!TIP]
>
> The Executive Summary can be customized to focus on the metrics and dimensions most relevant to you and your team. Use the customization options on the tile to tailor the narrative to your audience.
>
> 
* **With changes since**: A comparison highlighting differences since your last visit or a specific date. You can select what suits you best.

These tiles load automatically. No action is required to generate them.

To start a chat with a dashboard:
1. Click **Dashboards** on the sidebar.
2. Select the dashboard you want to chat with.

3. Click the chat input at the bottom of the sidebar and type a natural-language question about the data shown on the dashboard.
4. Press **Enter** or click the send button.

The AI agent responds with data, tables, or charts scoped to the dashboard's domain.

## Add tiles to the dashboard
You can add new tiles to the dashboard directly from a chat response. Three tile types are available:
* **Visualization**: Wisdom queries your connected data source and returns an answer to your input. You can review the result, and once you're happy, click **Add latest visualization as a Tile** to lock it onto your dashboard. From then on, that metric is always visible without having to ask the question again.

* **SQL query**: A tile that runs a custom SQL query directly against your data source. When you add a SQL tile, WisdomAI automatically generates the query based on your question. You can review and edit the query in the built-in SQL editor, give the tile a title, then click **Execute SQL** to preview the result. Once confirmed, click Add as Tile to pin it to your dashboard.
* **Summary**: A narrative text tile generated by WisdomAI that interprets and explains your dashboard data. When you add a summary tile, you can give it a title, write custom instructions to guide the format and focus of the summary.

## Next steps
> [card] [Schedule Dashboard Notifications](/using-wisdom-ai-everyday/schedule-dashboards-notifications)
>
> Set up automated notifications to keep stakeholders updated with the latest dashboard insights.
> [card] [Share Dashboards and Set Access Control](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control)
>
> Learn how to share your dashboards with others and manage who can view or edit them.
# Getting Started for Explorers
Source: https://docs.wisdom.ai/explorers/getting-started-explorers
Welcome to WisdomAI. As an Explorer, you are the engine of data-driven decision-making. Your role is to transform raw data into meaningful business reports by asking questions in plain English, analyzing trends, and sharing those insights with your team.
This guide will help you navigate the platform and start uncovering insights in minutes.
## Power your analysis
Whether you need a quick answer or a deep dive, WisdomAI scales with you. You can easily query your data, fine-tune the logic for precision using SQL, and build insightful dashboards to share with your team:
> [card] Ask Questions
>
> Query your data using natural-language, just like you're talking to a colleague.
> [card] Build Dashboards
>
> Compile findings into dynamic, narrative-driven reports.
> [card] Share Insights
>
> Export or email your findings to keep your stakeholders informed.
## Get started in 3 steps
Follow this path to go from your first login to expert analysis.
**1. Ask your first question**
Navigate to **New Chat** in the left sidebar. Type a specific question about your business, such as:
> "What was our total revenue by region last quarter?"
For complex queries, switch to [**Expert mode**](/chat/overview#choose-a-mode). Propose your question, and the AI will outline an investigation plan for you before carrying it out in the same chat window.
**2. Refine and filter**
Once WisdomAI provides an answer, use the **Filters** option to narrow your focus. You can filter by dates, specific table data, or product categories to get the exact data you need.
**3. Turn answers into dashboards**
Don't let your answers sit in the chat. Use the **Add to Dashboard** feature to combine multiple visualizations and your own commentary into a shareable report.
## Essential guides for Explorers
Master the platform by exploring these detailed resources.
> [card] [Chat 2.0](/chat/overview)
>
> Explore the new and improved chat experience: reasoning modes, live workstreams, and shareable reports.
> [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> Learn how to phrase queries using specific terms and timeframes for the most accurate results.
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Master the art of building interactive reports and diagrams to communicate insights.
> [card] [Provide Feedback](/explorers-feedback/provide-feedback-to-the-system)
>
> Help WisdomAI learn your company's unique terminology and logic by rating responses.
# Command Palette
Source: https://docs.wisdom.ai/explorers/using-wisdom-ai-everyday/command-palette
The command palette is a keyboard-first launcher for WisdomAI. Open it with a single shortcut to jump to any chat, dashboard, domain, connection, or settings page, search across your workspace, or trigger actions like inviting a user or adding a new connection — without leaving the page you're on.
The palette only ever shows entries you have permission to use, so the items in your palette may differ from a teammate's.
## Open the command palette
Press the keyboard shortcut from anywhere in WisdomAI:
* **macOS:** ⌘ + K
* **Windows / Linux:** Ctrl + K
Press the same shortcut again, click outside the dialog, or press Esc to close it.

> [!TIP]
>
> The shortcut works on every authenticated page. If nothing happens, make sure WisdomAI is the focused tab and that you don't have a system-level shortcut bound to ⌘ +K .
## Layout
When you open the palette, you see:
* A **search input** at the top with the placeholder *Ask or jump to anything...*
* A **list of items** grouped by section. The home view shows: **Quick Actions**, **Browse**, **Users**, **Profile**, and **Help**.
* A **footer** that shows the available keyboard shortcuts for the current view.
After you select a category, a **breadcrumb bar** appears above the search input with a **Back** button so you can return to the home view.
## Search anything
Start typing in the search input to filter across every entry in the palette — chats, dashboards, domains, connections, agents, subscriptions, settings pages, and built-in actions.
WisdomAI uses fuzzy matching, so typos and partial words still surface relevant results. Each entry is also indexed by its keywords; typing `sso` finds **Single Sign-On (SSO)**, `embed` finds **Embedded Mode**, and so on.
Results are ordered by relevance:
1. **Exact name matches** appear first.
2. **Quick Actions** (such as **New Chat**) and **direct navigation** entries (such as **Dashboards** or **Domains**) come next.
3. **Action items** (entries marked with the **Action** badge) follow.
4. **Items whose names start with your query** are then prioritized over partial matches.
5. **Other fuzzy matches** appear at the bottom.
When a result lives inside a category — for example, a specific dashboard — the palette shows a small *in \* hint below its name so you know where it came from.

## Navigate with the keyboard
The footer always shows the shortcuts available in the current view:
| Key | What it does |
| :- | :- |
| ↑ / ↓ | Move the selection up or down. |
| Enter | Open the highlighted item or run the highlighted action. |
| Backspace | Return to the previous view (only shown when you're inside a category and the search box is empty). |
| Esc | Close the palette. |
You can also click any entry with the mouse.
## Browse by category
The **Browse** section on the home view lists the major areas of WisdomAI. Selecting one opens its submenu, which contains the actions you can run there plus a live list of items you have access to.
The categories the palette can show are:
| Category | What you'll find |
| :- | :- |
| **Chats** | Your recent conversations. Selecting one opens the chat. |
| **Agents** | The **Add Agent** and **View All Logs** actions, plus your existing agents. |
| **Dashboards** | The **Add Dashboard** action, plus dashboards you can view. |
| **Domains** | The **Add Domain** action, plus domains you have access to. |
| **Connections** | The **Add Connection** action, plus your data source connections. |
| **Playground** | Opens the SQL Playground directly. |
| **Chat Log** | Opens the Chat Log directly. |
| **Subscriptions** | Your scheduled dashboard and notification subscriptions. |
| **Settings** | All settings pages, listed below. |
| **Organizations** | The **Add Organization** action, plus organizations you can switch into. |
> [!NOTE]
>
> Categories whose pages don't have a submenu — such as **Playground** and **Chat Log** — navigate directly when you select them. Categories that you don't have permission for, or that aren't enabled for your instance, are hidden from the home view entirely.

## Run actions
Some entries are **actions** rather than destinations — they are tagged with an **Action** badge in the list. Selecting an action triggers it immediately. Examples include:
* **New Chat**: start a fresh conversation.
* **Add Dashboard**, **Add Domain**, **Add Connection**, **Add Agent**, **Add Organization**: open the relevant create flow.
* **View All Logs** (under **Agents**): jump to the agent run log.
* **Invite Users** (under **Users**): open the invite flow.
* **Sign out** (under **Profile**): sign out of WisdomAI.
* **Customer Portal** (under **Profile**): open the support portal in a new tab.
## Jump to settings
Selecting **Settings** in the **Browse** section reveals every settings page in a single submenu, so you don't have to navigate through the sidebar to reach them. The submenu can include:
* **Single Sign-On (SSO)**
* **API Keys**
* **Connected Apps**
* **Chart Colors**
* **Embedded Mode**
* **Slack Integration**
* **Notifications**
* **Email Access Control**
You can also type a setting's name into the search input from the home view to jump straight to it — for example, typing `email access` highlights the [Email Access Control](/settings/email-access-control) page.
> [!TIP]
>
> The palette respects your permissions: each entry only appears if you have access to it. If a setting isn't listed, ask your administrator to grant the relevant role.
## Switch organizations
If your WisdomAI tenant has multiple organizations and you have access to more than one, the **Organizations** category lets you switch contexts without leaving the page. Selecting an organization in the submenu loads it as your active organization and takes you to the search page in that organization.
## Profile and help shortcuts
Two sections at the bottom of the home view give you fast access to account-level actions:
* **Profile** — Open **Profile settings**, jump to the **Customer Portal**, or **Sign out**.
* **Help** — Open the [WisdomAI Documentation](https://docs.wisdom.ai) in a new tab.
## Tips for working faster
> [accordion] Use keywords, not exact names
>
> Every entry has a list of keywords attached to it. Typing a related term — `auth` instead of `Single Sign-On`, `iframe` instead of `Embedded Mode`, `add user` instead of `Invite Users` — surfaces the right entry without you having to remember its exact label.
> [accordion] Stay in a category to narrow your search
>
> Open a category first (for example, **Dashboards**), then type your query. The palette restricts results to that category, which is faster than scanning a global search.
> [accordion] Use the palette to launch creation flows
>
> Instead of clicking **+** buttons across multiple pages, type the entity you want to create — `add dashboard`, `add agent`, `add connection` — and run the matching action straight from the palette.
## Next steps
> [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> Build sharper natural-language questions to get more accurate answers.
> [card] [Email Access Control](/settings/email-access-control)
>
> Configure who can sign in to your WisdomAI instance.
> [card] [Slack](/integrations/connect-to-slack)
>
> Connect WisdomAI to your Slack workspace.
> [card] [Schedule Dashboards & Notifications](/using-wisdom-ai-everyday/schedule-dashboards-notifications)
>
> Set up recurring dashboard updates and alerts for your team.
# Connect via AWS VPC Peering
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-aws-vpc-peering
This method establishes a private, secure connection between WisdomAI's AWS environment and your Amazon VPC. This process is managed with the help of the WisdomAI support team.
> [!WARNING]
>
> VPC Peering cannot be configured directly in the UI. You must contact the WisdomAI support team to initiate this process.
## Prerequisites
Before you begin, ensure you have the following:
* An active WisdomAI account.
* A supported data source (e.g., Redshift, Databricks) that is already deployed and running within an AWS VPC.
* Access to an AWS IAM user or role with permissions to manage your VPC. Specifically, you will need to be able to:
* View VPC details (like VPC ID and CIDR blocks).
* Accept VPC peering requests.
* Modify VPC route tables and security groups.
## Supported data sources
This connection method is applicable to any supported data source you have deployed within an AWS VPC, including but not limited to:
* Amazon Redshift
* Databricks (when deployed on AWS)
* ClickHouse (when deployed on AWS)
## Configuration steps
1. Collect the following details from your AWS account:
* AWS Account ID and Region of the VPC
* VPC ID
* VPC CIDR block(s) (both primary and any secondary)
2. Email the information gathered in the previous step to the WisdomAI support team at `support@askwisdom.ai` to request a VPC peering connection.
3. The WisdomAI team will initiate a VPC peering request. You will receive an email with the request details and instructions to accept it within your AWS Management Console.
4. After accepting the request, you must update your VPC's route tables to direct traffic destined for the WisdomAI VPC through the peering connection. You also need to configure your security group rules to allow inbound traffic from WisdomAI's VPC CIDR. The support team will provide all necessary information for these steps.
## Next steps
> [card] [Connect to Amazon Redshift](/getting-started/connect-data-sources/connect-to-amazon-redshift)
>
> Connect to Amazon Redshift using three methods: Direct Connection, SSH Tunnel, or VPC Peering, according to your network architecture.
> [card] [Connect to Databricks](/getting-started/connect-data-sources/connect-to-databricks)
>
> Connect to Databricks using a Client ID and Client Secret for authentication, enabling secure and controlled access to your data.
> [card] [Connect to Google BigQuery](/getting-started/connect-data-sources/connect-to-google-bigquery)
>
> Connect to Google BigQuery using a Google Cloud Platform Service Account for secure and granular access to your data.
# Connect an external MCP server
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-mcp-server
WisdomAI allows you to connect to any server that implements the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro). This integration enables WisdomAI to scan metadata, build a knowledge graph, and fetch real-time data to generate visualizations when users ask natural-language questions.
> [!NOTE]
>
> To connect an AI client to WisdomAI's hosted MCP server, see [WisdomAI MCP Server](/integrations/mcp-server).
## Prerequisites
* [Admin access](/manage-account/access-management) to your WisdomAI Organization.
* The Server URL (for HTTP/SSE) or Command (for STDIO) of your MCP server.
* Authentication credentials (API Key or OAuth configuration), if required by your server.
## Connect an external MCP server
Follow these steps to register your MCP server as a data source in WisdomAI.
1. Navigate to **Connections** > **Add Connection**.
2. In the **Data source** dropdown, select **MCP Server**.
3. Enter a unique **Connection name** (e.g., "Linear MCP Server").
4. Select the **Transport Type** supported by your server:
* **Streamable HTTP**: Uses standard HTTP streaming for communication.
* **SSE**: Uses Server-Sent Events.
* **STDIO**: Runs the server as a local process via standard input/output.
5. Enter the **Server URL** (for HTTP/SSE) or connection details.
6. Select the **Authentication Type**:
* **None**: For public or internal servers without auth.
* **API Key**: Uses a static key for all requests.
* **OAuth**: Uses user-based authentication.
7. (Optional) Click **+ Add Header** to include custom headers required by your environment.

8. Click **Connect**. You may be prompted to authorize the connection to validate the setup.

> [!NOTE]
>
> **User-based authentication**
>
> If you select **OAuth**, authentication happens on a user-by-user basis. WisdomAI does not store a global credential. Instead, when a user asks a question that requires data from this server, WisdomAI will prompt them to authenticate via a secure pop-up during the chat session.
## Validate the connection
Once connected, you can verify the integration by asking a natural language question in the chat interface.
1. Start a **Chat**.
2. Ask a question relevant to the connected tool (e.g., "Show me my issues").
3. If using OAuth, and you haven't authenticated yet, WisdomAI will detect the need for authentication. Click **Connect** in the chat response and Authorize the request in the pop-up window. \
WisdomAI will pull the requested data and generate the appropriate visualization or text response.

## Next steps
> [card] [Connect to Databricks](/getting-started/connect-data-sources/connect-to-databricks)
>
> Connect to Databricks using a Client ID and Client Secret for authentication, enabling secure and controlled access to your data.
> [card] [Connect to Google BigQuery](/getting-started/connect-data-sources/connect-to-google-bigquery)
>
> Connect to Google BigQuery using a Google Cloud Platform Service Account for secure and granular access to your data.
> [card] [Connect to Amazon Redshift](/getting-started/connect-data-sources/connect-to-amazon-redshift)
>
> Connect to Amazon Redshift using three methods: Direct Connection, SSH Tunnel, or VPC Peering, according to your network architecture.
# Connect to Amazon Redshift
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-to-amazon-redshift
WisdomAI allows you to connect to Amazon Redshift by choosing one of three methods:
1. [Direct Connection](#option-1-direct-connection)
2. [Connect via an SSH Tunnel](#option-2-connect-via-an-ssh-tunnel)
3. [Connect via VPC Peering](#option-3-connect-via-vpc-peering)
This flexibility ensures you can establish a secure connection that matches your specific network architecture.
## Prerequisites
Before you begin, make sure you have the following:
* Your Amazon Redshift cluster endpoint, port, database name, and user credentials.
* Network access that allows WisdomAI to connect to your Redshift cluster. This may require configuring your firewall or AWS security groups.
* If using an SSH tunnel, you need the credentials for your bastion host.
* If using VPC peering, you need permissions to manage VPC settings in your AWS account.
## Option 1: Direct connection
Use this method if your Redshift cluster is publicly accessible or if you have allowlisted WisdomAI's CIDR blocks (`35.238.115.103/32` and `34.82.248.105/32`) in your security group.
1. In WisdomAl, navigate to the **Connections** section and click **Add Connection**.
2. Select **Redshift** as the data source type.
3. Fill in the connection details in the **Redshift connection details** section:
| Requirement | Description |
| :- | :- |
| Host | Redshift cluster endpoint |
| Port | Typically `5439` |
| Username | Database user with read access |
| Password | User password |
| Database Filters | Optionally restrict which databases are crawled. |
4. Click **Save and Sync metadata.** WisdomAl will use the provided credentials to connect to your Redshift account and scan the metadata of the specified databases and tables.


## Option 2: Connect via an SSH tunnel
Use this method to securely connect to a Redshift cluster that is not publicly accessible by routing traffic through a bastion host.
1. On the **Add Connection** page, fill in the direct connection details and expand the **SSH Tunnel Configuration** section.
2. Complete the **SSH Tunnel configuration fields**.
| Requirement | Description |
| :- | :- |
| SSH Host | Hostname or IP address of the bastion host |
| SSH Port | Port number on the SSH host (e.g., `22`) |
| SSH Username | The username required to log in to the bastion host |
| Authentication Method | Authenticate using either a **Private Key** or a **Password** |
| SSH Private Key/Password | The Private Key or Password for the SSH authentication |
3. Click **Save and Sync metadata.**

## Option 3: Connect via VPC peering
This method establishes a private and secure network connection between WisdomAI's AWS environment and your Amazon VPC, preventing exposure to the public internet.
This is a standardized procedure for all supported data sources hosted on AWS. For the complete, step-by-step instructions, please refer to our comprehensive guide: [Connect via AWS VPC Peering](/getting-started/connect-data-sources/connect-aws-vpc-peering).
## Next steps
> [card] [Connect to Databricks](/getting-started/connect-data-sources/connect-to-databricks)
>
> Connect to Databricks using a Client ID and Client Secret for authentication, enabling secure and controlled access to your data.
> [card] [Connect to Google BigQuery](/getting-started/connect-data-sources/connect-to-google-bigquery)
>
> Connect to Google BigQuery using a Google Cloud Platform Service Account for secure and granular access to your data.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
# Connect to Databricks
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-to-databricks
WisdomAI connects to Databricks using a **Client ID** and **Client Secret** for authentication. This method ensures secure and granular control over the data WisdomAI can access.
## Prerequisites
Before you begin, make sure you have the following:
* An active Databricks workspace.
* Permissions to create and manage **Service Principals** within your Databricks account or workspace.
* A Databricks **SQL Warehouse** set up and running.
## 1. Obtain Databricks connection details
You will need the following four pieces of information from your Databricks environment:
1. **Host**: The URL of your Databricks workspace, which typically looks like `https://.cloud.databricks.com/`. You can find this in your SQL Warehouse connection details.
2. **HTTP Path**: The specific path to your SQL Warehouse, usually starting with `/sql/1.0/warehouses/`. You can find this in the "Connection Details" tab of your SQL Warehouse.
3. **Client ID**: The Application ID of your Databricks Service Principal.
4. **Client Secret**: The secret key generated for your Databricks Service Principal.
### How to find your connection details
Follow these steps to find the necessary credentials.
#### Host and HTTP path
1. Navigate to your Databricks Workspace.
2. Go to **SQL Warehouses** (or SQL Endpoints).
3. Select the warehouse you want to connect to.
4. Click on the **Connection Details** tab. Here you will find the **Server Hostname** (your Host) and the **HTTP Path**.
#### Client ID and client secret (using a Databricks-managed Service Principal)
You'll first need to create a Service Principal in Databricks.
**Step 1: Create a Service Principal**
1. Log in to your Databricks environment.
* **A) account-level permissions:** Log in to your Databricks **account console**.
* **B) administrator-level permissions:** Log in to your Databricks **workspace** as an administrator.
2. Navigate to the Service Principals section.
* **A) From Account Console:** Navigate to **User management > Service principals**.
* **B) From Workspace:** Navigate to **Admin Settings** (click your username in the top right, then Admin Settings) > **Identity and access > Service principals**.
3. Click **Add service principal**.
4. Select **Databricks managed**.
5. Provide a descriptive **Name** for the service principal (e.g., WisdomAI-ServicePrincipal).
6. Click **Add service principal**.
7. Once created, you will see the **Application ID** for this service principal. This is your **Client ID**. Copy this value.
**Step 2: Generate a Client Secret for the Service Principal**
1. From the service principal's page, go to the **Secrets** tab.
2. Under OAuth secrets, click **Generate secret**.
3. Set a lifetime for the secret (up to 730 days) and click **Generate**.
> [!NOTE]
>
> Choose an expiration that balances security and operational convenience.
4. Immediately copy the displayed secret. This is your **Client Secret**.
> [!WARNING]
>
> The Client Secret is only shown once and cannot be retrieved later. Please store it in a secure location immediately.
## 2. Assign permissions in Databricks
The Service Principal needs specific permissions to access the required data that WisdomAI needs.
* **SQL Warehouse/Cluster Permissions**: Grant **CAN USE** permission to the Service Principal on the SQL Warehouse you are connecting to. You can do this from the **Permissions** tab of the SQL Warehouse.
* **Data Privileges**: The service principal requires the following privileges in Unity Catalog (or Hive Metastore):
* `USE CATALOG` on the target catalog.
* `USE SCHEMA` on the target schema.
* `SELECT` on the tables and views you want WisdomAI to access.
You can grant these permissions using SQL commands. Here are some examples:
```sql theme={null}
-- Grant permission to use a specific catalog
GRANT USAGE ON CATALOG TO ``;
-- Grant permission to use a specific schema
GRANT USAGE ON SCHEMA . TO ``;
-- Grant select permission on table
GRANT SELECT ON TABLE .. TO ``;
-- Grant select permission on all tables in a schema
GRANT SELECT ON SCHEMA . TO ``;
```
Replace `` with the Application ID of your service principal, and ``,``, and `` with your specific values.
## 3. Connect WisdomAI to Databricks
Once you have gathered the required information, you can configure the connection in WisdomAI:
1. In WisdomAI, navigate to the **Connections** section and click **Add Connection**.
2. Select **Databricks** as the data source type.
3. Fill in the connection details in the "Databricks connection details" section.
* **Connection Name**: Choose a descriptive name for your connection (e.g., "Databricks Prod").
* **Host**: Paste the Server Hostname you obtained from Databricks.
* **HTTP Path**: Paste the HTTP Path for your SQL Warehouse.
* **Client ID**: Enter your Client ID (Application ID). This field is mandatory.
* **Client Secret**: Enter your Client Secret (the value copied immediately after creation). This field is mandatory.
* **Catalog Filters (Optional)**: Specify any Catalog Filters if you want to further restrict the catalogs/schemas WisdomAI crawls.
4. Click **Save and Sync metadata**. WisdomAI will use the provided credentials to connect to Databricks and scan the metadata of the specified catalogs and tables.

## Security considerations and best practices
* **Least Privilege**: Always follow the principle of least privilege. Only grant the necessary permissions to the Service Principal.
* **Secure Key Management**: Treat your Client ID and Client Secret like passwords. Avoid sharing them via insecure channels, such as unencrypted email. Use secure methods, such as LastPass or other secure file-sharing services.
* **Credential Rotation**: Regularly rotate your Client Secrets to enhance security, especially before their expiration.
## Troubleshooting common issues
Having trouble? Here are solutions to some frequently encountered problems.
### Authentication failed or invalid credentials
* Ensure the Host, HTTP Path, Client ID, and Client Secret are complete and correct. No extra characters, spaces, or missing lines.
* Verify that the Client Secret has not expired or been revoked in Databricks.
* Confirm that the Service Principal exists and is enabled in Databricks.
### Permission denied errors
* Double-check that the Service Principal has the necessary `CAN USE` permission on the SQL Warehouse.
* Verify that the Service Principal has the correct `USE CATALOG`, `USE SCHEMA`, and `SELECT` privileges on the Databricks catalogs, schemas, and tables you are trying to access.
* Confirm that the SQL Warehouse is running and accessible.
### Catalog not found or table not found
* Verify the spelling of the catalog or table names.
* If using catalog filters in WisdomAl, ensure the catalog is included in the filter.
* Confirm that the Service Principal has permissions on the specific catalog you are trying to access.
### Connection timeout or network errors
* Verify that WisdomAI's CIDR blocks (`35.238.115.103/32` and `34.82.248.105/32`) are allowlisted in your Databricks network policies or any corporate firewalls.
## Next steps
> [card] [Connect to Snowflake](/getting-started/connect-data-sources/connect-to-snowflake)
>
> Connect to Snowflake directly or via a proxy using key-pair authentication and a Snowflake virtual warehouse.
> [card] [Connect to Google BigQuery](/getting-started/connect-data-sources/connect-to-google-bigquery)
>
> Connect to Google BigQuery using a Google Cloud Platform Service Account for secure and granular access to your data.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
# Connect to Google BigQuery
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-to-google-bigquery
WisdomAI connects to Google BigQuery using a service account for background operations such as metadata crawling. To run end-user queries, you can either continue using that same service account or enable Google OAuth so each user authenticates with their own Google account for finer-grained access control and per-user audit trails.
## Prerequisites
* A GCP service account created with the required BigQuery roles. See [Set up a GCP service account for WisdomAI](/getting-started/connect-data-sources/set-up-gcp-service-account).
* The JSON key file for that service account, downloaded to your computer.
* Your Google Cloud project ID, available on the GCP Console dashboard.
## Create the connection
These steps create the connection in WisdomAI and authenticate the service account. Complete them whether you plan to use service account authentication only or enable OAuth on top.
1. In WisdomAI, go to **Connections** and click **Add Connection**.
2. Select **BigQuery** as the data source type.

3. Enter a **Connection name**, for example `BigQuery Prod`.
4. Under **Account Information**, paste the contents of your service account JSON into **Service Account Info JSON**.
> [!NOTE]
>
> This field is required for crawling and metadata discovery.
5. (**Optional**) Enter **Authorization scopes** to restrict the OAuth permission scopes granted to the connection.
6. (**Optional**) Enter a **Billing Project ID** to specify which project to bill for queries. Leave this field empty to use your service account's default project.
7. Under **Projects**, configure at least one BigQuery project:
* In the **Project 1** card, enter your Google Cloud **Project ID**.
* (**Optional**) Enter **Dataset filters** to restrict which datasets WisdomAI crawls for that project.
* To connect additional projects, click **+ Add Project** and repeat these sub-steps for each one.

At this point, you have two options:
* To use the service account for all queries, click **Save and Sync metadata**. WisdomAI connects to BigQuery, scans metadata for the specified datasets and tables, and your connection is ready.
* To authenticate end-user queries with individual Google accounts, leave the form open and continue to the next section before saving.
## Enable OAuth for user queries
OAuth lets each WisdomAI user run BigQuery queries under their own Google identity. The service account still handles crawl jobs and metadata discovery in the background.
> [!NOTE]
>
> Enabling OAuth requires you to work across two systems. You will create an OAuth client in the Google Cloud Console, then return to WisdomAI to paste the credentials and authenticate.
### Start the OAuth setup in WisdomAI
Begin in the connection form you already filled out in the previous section.
1. Select **Enable OAuth for user queries (optional)**. The **Google OAuth Client ID** and **Google OAuth Client Secret** fields appear.
2. Leave the form open. You will return here after creating the OAuth client in Google Cloud.

### Create an OAuth client in Google Cloud
The OAuth client lets WisdomAI request access tokens on behalf of your users.
1. In the Google Cloud Console, open the **Google Auth Platform**.
2. Go to **Clients** and access **Create OAuth client ID**.
3. Set **Application type** to **Web application**.
4. Enter a **name** for the client, for example `WisdomAI`.
5. Leave **Authorized JavaScript origins** empty.
6. Under **Authorized redirect URIs**, add:
```text theme={null}
https://api.descope.com/v1/outbound/oauth/callback
```
7. Click **Create**.

8. Google Cloud displays a confirmation dialog with the new credentials. Copy the **Client ID** and **Client Secret**, and optionally click **Download JSON** to save them locally for reference.

### Authenticate in WisdomAI
Return to the WisdomAI connection form to finish the OAuth setup.
1. Paste the **Client ID** and **Client Secret** into the corresponding fields.
2. Click **Connect with Google**.
3. In the Google sign-in popup, select the Google account you want to use for authentication.

4. After successful authentication, you are redirected back to WisdomAI. Verify that the OAuth connection status shows as connected.
5. Click **Save** to complete the connection setup.
## Security considerations
Follow these practices to keep your BigQuery connection secure:
* **Least privilege.** Grant only the roles WisdomAI needs. If dataset-level access is sufficient, avoid assigning project-level roles.
* **Secure key management.** Treat the service account JSON key like a password. Store it in a secrets manager and share it only through secure channels such as a password manager.
* **OAuth for audit trails.** When you need per-user accountability for query activity, enable OAuth so each query runs under an individual Google identity.
## Troubleshooting
Common issues you might run into when setting up the connection.
> [accordion] Authentication failed or invalid credentials
>
> * Confirm the JSON key you pasted is complete, with no missing lines or extra characters.
> * Verify that the `project_id` value in the JSON key matches the project ID you entered in the connection form.
> [accordion] Permission denied errors
>
> * Check that the service account has all three required roles: **BigQuery Data Viewer**, **BigQuery Job User**, and **BigQuery Read Session User**.
> * Confirm those roles are assigned at the right level — either project-wide, or on every dataset WisdomAI needs to read.
> * Confirm the BigQuery API is enabled in your Google Cloud project.
> [accordion] Dataset or table not found
>
> * Verify the spelling of the dataset and table names.
> * If you set **Dataset Filters** in the connection, confirm the dataset is included in the filter.
> * Confirm the service account has access to the specific dataset you are querying.
## Next steps
> [card] [Connect to Snowflake](/getting-started/connect-data-sources/connect-to-snowflake)
>
> Connect to Snowflake directly or via a proxy using key-pair authentication and a Snowflake virtual warehouse.
> [card] [Connect to any MCP server from WisdomAI](/getting-started/connect-data-sources/connect-mcp-server)
>
> Connect WisdomAI to any server implementing the Model Context Protocol (MCP) to scan metadata, build a knowledge graph, and retrieve real-time data for natural language queries.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
# SharePoint
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-to-sharepoint
WisdomAI supports connecting to Microsoft SharePoint as an unstructured data source. The SharePoint connector crawls files from your SharePoint sites and enables multi-site ingestion of diverse file formats, including PDFs, spreadsheets, and images, while providing granular filtering to ensure that only new or modified content is processed after the initial crawl.
## Get started
Before you begin, ensure you have the following:
* **SharePoint Online:** The connector works with SharePoint Online (part of Microsoft 365). On-premises SharePoint Server is not supported.
* **SharePoint Site URLs:** The full URLs of the sites you want to connect (e.g., `https://contoso.sharepoint.com/sites/teamsite`).
* **Azure AD permissions**: The connector requires the following Microsoft Graph API application permissions granted on your Azure AD tenant:
* `Sites.Read.All`: Read items in all site collections.
* `Files.Read.All`: Read all files that the app has access to.
* **Authentication Methods:** You must have one of the authentication methods configured:
* An Azure AD app registration with a client secret (Service Principal).
* Your Azure AD Tenant ID for the WisdomAI-managed app (Dedicated Multitenant App).
## Authentication methods
Choose the authentication method that best fits your organization's security requirements.
> [tab] Service Principal (Client Secret)
>
> Use your own Azure AD app registration to authenticate. This gives you full control over the app and its permissions.
>
> 1. In the [**Azure Portal**](https://portal.azure.com), navigate to **Azure Active Directory** > **App registrations** > **New registration**.
> 2. Register a new application (e.g., "WisdomAI SharePoint Connector").
> 3. Note the **Application (client) ID** and **Directory (tenant) ID** from the **Overview** page.
> 4. Navigate to **Certificates & secrets** > **New client secret**.
> 5. Create a secret and copy the **Value** immediately; it will not be shown again.
> 6. Navigate to **API permissions** > **Add a permission** > **Microsoft Graph** > **Application permissions**.
> 7. Add the following permissions:
> * `Sites.Read.All`
> * `Files.Read.All`
> 8. Click **Grant admin consent** to approve the permissions for your tenant.
>
> You will need the following values when configuring the connection in WisdomAI:
>
> | Field | Description |
> | :- | :- |
> | Client ID | The Application (client) ID from your app registration |
> | Tenant ID | The Directory (tenant) ID of your Azure AD tenant |
> | Client Secret | The client secret value you generated |
> [tab] Dedicated Multitenant App (WisdomAI Managed)
>
> WisdomAI creates and manages the Azure AD app on your behalf. You only need to provide your Tenant ID and grant admin consent.
>
> 1. Locate your **Azure AD Tenant ID** in the [Azure Portal](https://portal.azure.com) under **Azure Active Directory** > **Overview**.
>
> 2. During the WisdomAI connection setup, enter your **Tenant ID**.
>
> 3. Click **Grant Admin Consent** when prompted.
>
> 4. A Microsoft consent dialog will open. You must approve the permissions (`Sites.Read.All` and `Files.Read.All`) for the WisdomAI-managed app.
>
> 5. The status in WisdomAI will update to **Granted** once approved.
>
> > [!NOTE]
> >
> > Granting admin consent for these permissions requires a user with the **Global Administrator** or **Privileged Role Administrator** role in your Azure AD tenant.
## Setting up the connection
Follow these steps to establish the connection within WisdomAI:
1. Navigate to the **Overview** tab in your WisdomAI domain and click **Add Data Source**.
2. Select **Connect another source** from the **Add** **Data Source** selector and click **Add Data Source**.

3. Select **Connect to Data store or MCP server**.
4. Enter a descriptive **Connection name** (e.g., "Marketing SharePoint") and select **SharePoint** as the data source.

5. **Configure Authentication:** Choose your preferred method (Service Principal or Dedicated Multitenant App) and enter the required credentials.

6. **Configure SharePoint Sites:**
* Click **Add Site** and enter the full **Site URL** (e.g., `https://contoso.sharepoint.com/sites/teamsite`).
> [!NOTE]
>
> You can add multiple sites to a single connection.
* (Optional) Click **Add Library** to restrict crawling to specific document libraries. If left blank, all libraries on the site are crawled.
* (Optional) Click **Add Path** to restrict crawling to specific folders within a library. Enter the path prefix (e.g., `Marketing/2024`) without a leading `/`.
7. Click **Save**. WisdomAI will validate the credentials before saving.

8. After the connection is created, add it as a data source to your domain. WisdomAI will begin crawling the configured SharePoint sites.
## Configuration reference
This section details the parameters used to define the scope of your data connection.
### Sites
Each connection can include one or more SharePoint sites. At least one site is required.
| Field | Required | Description |
| :- | :- | :- |
| **Site URL** | Yes | The full URL of the SharePoint site (e.g., `https://contoso.sharepoint.com/sites/teamsite`). |
| **Document Libraries** | No | Optionally restrict which document libraries within the site are crawled. |
### Document libraries
Within each site, you can optionally specify which document libraries to crawl. If none are specified, all document libraries in the site are included.
| Field | Required | Description |
| :- | :- | :- |
| **Library Name** | Yes | The name of the document library (e.g., `Documents`). |
| **Path Prefix Filters** | No | Optionally restrict which folders within the library are crawled. |
### Path prefix filters
Within each document library, you can optionally specify folder path prefixes to scope the crawl. If none are specified, all files in the library are included.
* **Formatting:** Do **not** include a leading `/`. Use `Reports/Q1`, not `/Reports/Q1`.
* **Case-Sensitivity:** Filters are case-insensitive (e.g., `Marketing` matches `MARKETING`).
* **Matching:** Filters match on prefix. `Marketing` will match `Marketing/file.pdf` and `Marketing/2024/report.pdf`.
* **Multiple Filters:** You can add multiple filters per library. A file is included if it matches **any** configured filter.
**Example configuration**:
```txt theme={null}
Site:
Library: Shared Documents
Path Filter: Campaigns/2024
Path Filter: Brand Guidelines
Library: Reports
(no path filters — all files in this library are crawled)
```
## Troubleshooting
> [accordion] Authentication failed
>
> * Verify that the **Client ID**, **Tenant ID**, and **Client Secret** are correct and have not expired.
> * For the Dedicated Multitenant App method, confirm that admin consent has been granted (the status should show "Granted" in WisdomAI).
> [accordion] Connection validates, but no files were crawled
>
> * Confirm the Site URL is correct and accessible. Ensure the **Site URL** points to a specific site, not the root SharePoint domain.
> * Verify the **Library Name** matches the SharePoint library exactly.
> * If using path prefix filters, verify the paths exist and do not start with `/`.
> * Ensure the Azure AD app's permissions (`Sites.Read.All`, `Files.Read.All`) have been granted admin consent.
> [accordion] Specific inaccessible sites
>
> * The app may authenticate successfully but lack access to certain sites. Verify that your Azure AD app permissions are tenant-wide (admin-consented), not scoped to specific sites only.
> [accordion] Admin consent cannot be granted
>
> * The user granting consent must have the **Global Administrator** or **Privileged Role Administrator** role in Azure AD.
> * If your organization restricts app consent, contact your Azure AD administrator.
## Next steps
> [card] [Export to Google Sheets](/integrations/google-sheets)
>
> Pull live WisdomAI dashboard data directly into Google Sheets with the WisdomAI add-on.
> [card] [Connect to Slack](/integrations/connect-to-slack)
>
> Learn how to connect WisdomAI to Slack.
# Connect to Snowflake
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/connect-to-snowflake
WisdomAl supports connecting to Snowflake directly or via a Proxy. This document outlines the process for direct connections.
## Prerequisites
Before connecting WisdomAl to Snowflake, be sure to have:
* An active Snowflake account and workspace.
* A Snowflake virtual warehouse with appropriate compute resources.
* A Snowflake user with the necessary permissions to create or assign roles and manage private keys.
* Network access configured to allow connections from WisdomAl to your Snowflake instance.
## 1. Information required for direct connection setup:
To connect WisdomAl to Snowflake directly, you will need the following information:
* **Account**: Your Snowflake account identifier. This consists of the name of the account prefixed by its organization (e.g., myorg-account123).
> [!NOTE]
>
> Refer to [the Account identifiers page on the Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier) for details on finding your account identifier.
* **Warehouse**: The name of the virtual warehouse to use for compute (e.g., "COMPUTE\_WH").
* **User**: The Snowflake username that WisdomAl will use for access.
* **Private Key**: The private key associated with the Snowflake user. Ensure the key is in PEM format, including the `----BEGIN...PRIVATE KEY` and `-END...PRIVATE KEY` headers and footers.
> [!NOTE]
>
> Refer to the [Key-pair authentication page on the Snowflake documentation](https://docs.snowflake.com/en/user-guide/key-pair-auth) for details on generating a private key.
* **Private Key Passphrase**: This is required if your private key is encrypted.
* **Role**: The Snowflake role to use for access privileges (e.g., ACCOUNTADMIN). See the Using a Custom Role section below for details.
* **\[Optional] Database Filters**: See the Database Filters section below for more details.
* **\[Optional] Allowlist**: You may need to allowlist WisdomAI's CIDR blocks in your Snowflake network policies or firewalls to allow incoming connections: `35.238.115.103/32` and `34.82.248.105/32`.
## 2. Using a custom role:
To create a custom role and use it for WisdomAl communication, ensure the role has:
* USAGE privilege on the warehouse and on the required databases/schemas.
* SELECT privilege on all tables that you want to connect with WisdomAl.
Refer to the following SQL statements to grant appropriate privileges:
* `grant usage on warehouse to role ;`
* For each database:
* `grant usage on database to role ;`
* `grant usage on all schemas in database to role ;`
* `grant select on all tables in database to role ;`
* To grant access to all future schemas and tables added in this database:
* `grant usage on future schemas in database to role ;`
* `grant select on future tables in database to role ;`
> [!NOTE]
>
> See [this page of the Snowflake documentation](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege) for more details on granting privileges to your role.
## 3. Connect WisdomAI to Snowflake:
Once you have gathered the required information, you can configure the connection in WisdomAI:
1. In WisdomAl, navigate to the **Connections** section and click **Add Connection**.
2. Select **Snowflake** as the data source type.
3. Fill in the connection details in the **Snowflake connection details** section:
* **Connection Name**: Choose a descriptive name for your connection (e.g., "Snowflake Prod").
* **Account**: Enter your Snowflake account identifier (e.g., XMSPMYE-PAB51256).
* **Warehouse**: Enter the name of your virtual warehouse (e.g., COMPUTE WH).
* **User**: Enter the Snowflake username (e.g., user01).
* **Private Key**: Paste the content of your private key, including the `BEGIN ENCRYPTED PRIVATE KEY` and `END PRIVATE KEY` headers and footers.
* **Private Key Passphrase**: Enter the passphrase if your private key is encrypted.
* **Role**: Enter the Snowflake role (e.g., ACCOUNTADMIN).
* **Database Filters (Optional)**: Specify any Database Filters if you want to restrict the databases WisdomAl crawls further.
4. Click **Save and Sync metadata.** WisdomAl will use the provided credentials to connect to your Snowflake account and scan the metadata of the specified databases and tables.

## Security considerations and best practices
* **Least Privilege**: Always follow the principle of least privilege. Only grant the necessary permissions (USAGE, SELECT) to the Snowflake user that WisdomAl will use, and restrict it to specific warehouses, databases, and schemas.
* **Secure Credential Management**: Treat your private key file (rsa\_key.p8) as extremely sensitive. Store it in a secure, encrypted location (e.g., a secrets manager or secure file system). Never hardcode private keys in application code or share them via insecure channels.
* **Credential Rotation**: Regularly rotate private keys used for WisdomAl's Snowflake connection.
* **Auditing**: Enable and regularly review Snowflake audit logs to monitor access and activity performed by the WisdomAl connection.
## Troubleshooting common issues
Having trouble? Here are solutions to some frequently encountered problems.
### Authentication failed or invalid private key
* Ensure the private key content is copied exactly, including the `BEGIN` and `END` headers and footers, without any extra spaces or line breaks.
* If your private key is encrypted, verify that the Private Key Passphrase is entered correctly.
* Confirm that the Snowflake username matches the user associated with the private key.
### Warehouse not found or database not found
* Double-check the spelling of the warehouse and database names in the WisdomAl connection details.
* Ensure the Snowflake user/role has USAGE privilege on the specified warehouse and database.
### Insufficient privileges
* Verify that the Snowflake role assigned to WisdomAl has all the necessary USAGE and SELECT privileges as detailed in the Using a Custom Role section above.
* If you're using database filters, ensure the role has privileges on the filtered databases.
### Connection timeout or network errors
* Verify that WisdomAl's CIDR block (`35.238.115.103/32` and `34.82.248.105/32`) is allowlisted in your Snowflake network policies or any corporate firewalls.
## Next steps
> [card] [Connect to Databricks](/getting-started/connect-data-sources/connect-to-databricks)
>
> Connect to Databricks using a Client ID and Client Secret for authentication, enabling secure and controlled access to your data.
> [card] [Connect to any MCP server from WisdomAI](/getting-started/connect-data-sources/connect-mcp-server)
>
> Connect WisdomAI to any server implementing the Model Context Protocol (MCP) to scan metadata, build a knowledge graph, and retrieve real-time data for natural language queries.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
# Search the Web
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/search-the-web
WisdomAI can search the internet and fetch content from public web pages when answering user questions. When enabled on a domain, the AI automatically supplements its database-driven analysis with real-time information from the web, such as industry benchmarks, market trends, competitor data, or publicly available reference material.
## Prerequisites
* [Admin access](/manage-account/access-management) to your WisdomAI Organization.
* An existing [Domain](/setting-up-wisdom-ai/manage-domains/understand-domains) to enable Web Search on.
## 1. Enable web search on a Domain
You can enable Web Search when creating a new domain or by adding it as a data source to an existing domain.
### Add web search to an existing Domain
1. Navigate to your **Domain** and open the **Overview** tab.
2. Click **Add Data Source**.
3. In the data source picker, select **Web Search**.
4. Click **Submit**. A confirmation message will appear indicating that Web Search has been enabled.

### Enable web search during Domain creation
1. Navigate to **Domains** and click **Add Domain**.
2. Enter a **Domain name**.
3. In the data source selection, choose **Web Search**.
4. Complete the domain creation process.
Once enabled, a **Web Search** card will appear on the Domain Overview tab, and a **Web Search** sub-tab will be available under the **Data Sources** tab.

## 2. Configure the source policy
After enabling Web Search, you can control which websites WisdomAI is allowed to search. This is configured through the **Source Policy** on the Web Search configuration page.
1. Go to your **Domain** > **Data Sources** tab > **Web Search** sub-tab.
2. Under **Source Policy**, select one of the three options:
| Policy | Description |
| :- | :- |
| **Include all domains** | WisdomAI can search any website. This is the default. |
| **Include only specific domains** | WisdomAI will only return results from the listed domains (allowlist). |
| **Exclude specific domains** | WisdomAI will return results from all domains except the listed ones (blocklist). |
> [!WARNING]
>
> **Include only specific domains** and **Exclude specific domains** are mutually exclusive — you can only use one at a time.
3. If you selected **Include only specific domains** or **Exclude specific domains**, add the domains you want to include or exclude:
* Click **Add domain** to add a new entry.
* Enter the domain in apex form (e.g., `example.com`).
* You can add up to **10 domains**, one per entry.
4. Click **Save Configuration**.

### Domain format guidelines
When entering domains in the source policy, follow these rules:
* Use apex domain form: `example.com`, `wikipedia.org`
* Subdomains are supported: `subdomain.example.gov`
* Bare domain extensions starting with a period are allowed: `.gov`, `.edu`, `.co.uk`
* Do **not** include URL schemes (`http://`, `https://`)
* Do **not** include `www.` prefixes
* Paths are **not** supported (e.g., `example.com/blog` is invalid)
## How web search works in chat
WisdomAI uses two tools behind the scenes:
* **Web Search**: Searches the web for information relevant to a user's question, returning results with titles, URLs, and content excerpts.
* **Web Fetch**: Fetches and extracts content from specific web page URLs.
> [!NOTE]
>
> Web Search is an AI-driven tool. WisdomAI decides **when** to invoke web search or fetch based on the user's question. You do not need to explicitly request a web search — if the question benefits from external information, WisdomAI will automatically search the web.
When WisdomAI decides to use the web:
1. It calls the **web search** tool with a search objective and optional keyword queries.
2. Results are returned with titles, URLs, publish dates, and content excerpts.
3. If it needs more detail from a specific page, it calls the **web fetch** tool to extract the page content.
4. It synthesizes the web results into a response with **inline citations** and a **Sources** section listing all referenced URLs.
> [!NOTE]
>
> Web Fetch can only access publicly available pages. It **cannot** access content behind login walls, authentication gates, or private documents (e.g., private Google Docs).
## Next steps
> [card] [Connect Unstructured Repositories](/improve-wisdom-ai-responses/connect-unstructed-repositories-datasets)
>
> Integrate unstructured data sources, such as documents or knowledge bases, to enrich your analysis.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Set up a GCP service account for WisdomAI
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/set-up-gcp-service-account
WisdomAI uses a Google Cloud Platform (GCP) service account to authenticate with BigQuery for background operations such as metadata crawling and data discovery. This guide walks you through creating the service account, assigning the required IAM roles, and generating the JSON key that WisdomAI needs to connect.
## Prerequisites
* An active Google Cloud project
* The BigQuery API enabled in that project
* Permission to create service accounts and assign IAM roles in your GCP project
## Create the service account
A service account is a Google account that an application uses to make authorized API calls on its own behalf.
1. Open the GCP Console and go to **IAM & Admin** > **Service Accounts**.
2. Click **+ CREATE SERVICE ACCOUNT**.
3. Enter a descriptive **Service account name**, for example `Wisdom-bigquery`. The **Service account ID** is generated automatically from the name.
4. Optionally, add a **Service account description** such as `Service account for WisdomAI BigQuery connectivity`.
5. Click **CREATE AND CONTINUE**.
## Assign IAM roles
WisdomAI needs three roles to read metadata, run queries, and stream results efficiently from BigQuery:
* **BigQuery Data Viewer**: view BigQuery data and metadata
* **BigQuery Job User**: run BigQuery jobs, including queries
* **BigQuery Read Session User**: retrieve data efficiently through the BigQuery Storage API
Assign these roles at the project level for broad access:
1. On the **Grant this service account access to project** step, open the **Select a role** dropdown.
2. Add **BigQuery Data Viewer**, **BigQuery Job User**, and **BigQuery Read Session User**.
3. Click **DONE**.
### Restrict access to specific datasets
If you want WisdomAI to access only certain datasets in your project, grant data roles at the dataset level instead of the project level.
1. Open BigQuery in the GCP Console and select the dataset you want to share.
2. Click **SHARE DATASET**.
3. In the **Add principals** field, enter the email address of the service account.
4. Assign **BigQuery Data Viewer** and **BigQuery Read Session User** to the service account for this dataset.
5. Repeat for every dataset WisdomAI needs to access.
6. Assign **BigQuery Job User** once at the project level. This role cannot be granted at the dataset level.
## Generate a JSON key
WisdomAI authenticates with BigQuery using a JSON key file associated with the service account.
1. Go back to **IAM & Admin** > **Service Accounts** and click the service account you created.
2. Open the **KEYS** tab.
3. Click **ADD KEY** > **Create new key**.
4. Select **JSON** as the key type and click **CREATE**.
The key file downloads to your computer.
> [!WARNING]
>
> The JSON key file contains sensitive credentials. Treat it like a password: store it in a secrets manager or secure file-sharing tool, and never send it over unencrypted email or chat.
## Next steps
> [card] [Connect to Google BigQuery](/getting-started/connect-data-sources/connect-to-google-bigquery)
>
> Use the service account to create a BigQuery connection in WisdomAI.
> [card] [Connect to Snowflake](/getting-started/connect-data-sources/connect-to-snowflake)
>
> Connect to Snowflake directly or via a proxy using key-pair authentication.
# Supported Data Sources
Source: https://docs.wisdom.ai/getting-started/connect-data-sources/supported-data-sources
This page covers the data sources that can be connected to WisdomAI, including databases, data warehouses, and Files (PDFs, PPTs, Docs). It outlines the connection requirements, necessary configurations, and troubleshooting tips for seamless integration.
WisdomAI works with the following data sources:
## Warehouse & Database sources
* PostgreSQL
* Microsoft SQL Server
* MySQL
* Oracle
* Databricks
* Snowflake
* Google BigQuery
* Google Cloud Spanner
* Amazon Redshift
* Amazon Athena
* Teradata
* Azure Synapse & Synapse Serverless
* ClickHouse
* Trino
* CSV files
* Azure DevOps
* Dremio
> [!WARNING]
>
> **Note on Syncing**: After successfully adding a connection, the initial sync may take a few minutes to complete before data is available for analysis.
## File & Repository sources
* Amazon S3
* Google Cloud Storage (GCS)
* Azure Blob Storage
* SharePoint
* Direct upload
* GitHub
* GitLab
Supported file types: PDFs, DOC/DOCX files, PowerPoint files, txt files, and images.
To learn how to connect to your Data Sources, read the [Quickstart: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test).
### Connection requirements
This section outlines common prerequisites for connecting to data sources. Specific requirements are detailed under each data source.
* **Network Access:** Ensure WisdomAI has network access to your database or data warehouse host. This may involve configuring firewall rules or security groups.
* **Authentication Details:** You will need the correct credentials (username, password, keys, etc.) for your chosen data source.
* **SSL/TLS Configuration:** For secure connections, ensure your database/data warehouse is configured to accept SSL/TLS connections, and configure WisdomAI accordingly (e.g., `SSL Mode: require` for PostgreSQL).
* **Service Accounts (Google BigQuery):** A Google Cloud service account with appropriate BigQuery permissions is required.
> [!NOTE]
>
> For PostgreSQL and Amazon Redshift, you can optionally configure an SSH Tunnel to connect through a bastion host.
> [tab] PostgreSQL
>
> The following table lists the requirements you must provide when connecting to PostgreSQL.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> > [!NOTE]
> >
> > SSH settings are optional.
>
> | Requirement | Description |
> | :- | :- |
> | Host | Server address or IP |
> | Port | Typically `5432` |
> | Database | Name of the database |
> | Username | Database user with read access |
> | Password | User's password |
> | SSH Host | Hostname or IP address of the bastion host (Optional) |
> | SSH Port | Port number on the SSH host (Optional) |
> | SSH Username | The username required to log in to the bastion host (Optional) |
> | Authentication Method | You can authenticate using either a Private Key or a Password (Optional) |
> | SSH Private Key/Password | The Private Key or Password used for the SSH authentication (Optional) |
>
> Find below an example connection:
>
> ```txt theme={null}
> Host: postgres.example.com
> Port: 5432
> Database: analytics
> Username: wisdom_reader
> Password: ********
> SSL Mode: require
> ```
> [tab] Microsoft SQL Server
>
> The following table lists the requirements you must provide when connecting to Microsoft SQL Server.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Server | SQL Server address or instance name |
> | Port | Typically `1433` |
> | Database | Name of the database |
> | Authentication | SQL Server or Windows Authentication |
> | Username | SQL Server login with read access |
> | Password | Login password |
> | Trust Server Certificate | Whether to trust the server's SSL certificate |
>
> Here's an example connection:
>
> ```txt theme={null}
> Server: sqlserver.example.com
> Port: 1433
> Database: business_data
> Authentication: SQL Server
> Username: wisdom_reader
> Password: ********
> Trust Server Certificate: True
> ```
> [tab] Databricks
>
> The following table lists the requirements you must provide when connecting to Databricks.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Server Hostname | Databricks SQL endpoint hostname |
> | HTTP Path | HTTP path for the SQL endpoint |
> | Username | Databricks username |
> | Password | Databricks password |
> | Catalog | Optional Databricks catalog name |
> | Schema | Optional schema name |
>
> Below is an example key pair connection:
>
> ```txt theme={null}
> Server Hostname: dbc-xxxx-yyyy.cloud.databricks.com
> HTTP Path: /sql/1.0/warehouses/abcdef123456
> Username: wisdom_user
> Password: ********
> Catalog: main
> Schema: default
> ```
> [tab] Snowflake
>
> The following table lists the requirements you must provide when connecting to Snowflake.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Account | Snowflake account identifier |
> | Username | Snowflake user with access privileges |
> | Private Key File | Private Key File |
> | Warehouse | Compute warehouse to use |
> | Database | Database name |
> | Schema | Schema name (optional) |
> | Role | User role (optional) |
>
> To set up key pair authentication for Snowflake:
>
> 1. Generate an RSA key pair (2048-bit minimum length).
> 2. Register the public key with your Snowflake user.
> 3. Use the private key (PEM format) when creating a WisdomAI connection.
>
> Here's an example key pair connection:
>
> ```txt theme={null}
> Account: xy12345.us-east-1
> Username: wisdom_analytics
> Private Key File: Upload your private key file (.p8 or .pem format)
> Warehouse: ANALYTICS_WH
> Database: BUSINESS_DATA
> Schema: PUBLIC
> Role: ANALYST_ROLE
> ```
>
> Access the [Snowflake Docs](https://docs.snowflake.com/en/user-guide/key-pair-auth.html) to get more information about Key Pair Authentication.
> [tab] Google BigQuery
>
> The following table lists the requirements you must provide when connecting to Google BigQuery.
>
> | Requirement | Description |
> | :- | :- |
> | Project ID | Google Cloud project identifier |
> | Authentication | Service account key (JSON format) |
> | Dataset | Default dataset (optional) |
>
> Find below an example connection:
>
> ```txt theme={null}
> Project ID: my-analytics-project-123
> Authentication: Upload service account key JSON file
> Dataset: analytics_data
> ```
>
> > [!WARNING]
> >
> > You'll need to create a service account in Google Cloud with appropriate permissions on the BigQuery datasets you want to access.
> [tab] Amazon Redshift
>
> The following table lists the requirements you must provide when connecting to Amazon Redshift.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> > [!NOTE]
> >
> > SSH settings are optional.
>
> | Requirement | Description |
> | :- | :- |
> | Host | Redshift cluster endpoint |
> | Port | Typically `5439` |
> | Database | Database name |
> | Username | Database user with read access |
> | Password | User password |
> | Schema | Schema name (Optional) |
> | SSH Host | Hostname or IP address of the bastion host (Optional) |
> | SSH Port | Port number on the SSH host (Optional) |
> | SSH Username | The username required to log in to the bastion host (Optional) |
> | Authentication Method | You can authenticate using either a Private Key or a Password (Optional) |
> | SSH Private Key/Password | The Private Key or Password used for the SSH authentication (Optional) |
> [tab] CSV Files
>
> You can also upload CSV files to a Domain. Here are the requirements for these files:
>
> * File must be in a valid CSV format
> * Maximum file size: 100MB
> * UTF-8 encoding recommended
> * Headers should be in the first row
>
> To learn how to upload them, read [Upload CSV files](/setting-up-wisdom-ai/basic-tutorial-connect-and-test#3-upload-csv-files-optional).
> [tab] Amazon Athena
>
> The following table lists the requirements you must provide when connecting to Amazon Athena.
>
> | Requirement | Description |
> | :- | :- |
> | AWS Access Key ID | The access key for an IAM user with permissions to access Athena and the underlying S3 data |
> | AWS Secret Access Key | The secret access key associated with the AWS Access Key ID |
> | Region Name | The AWS region where your Athena service is hosted |
> | S3 Staging Directory | The S3 bucket path where Athena stores query results |
> | Work Group | The specific Athena workgroup used to run queries |
>
> Here's an example connection:
>
> ```txt theme={null}
> AWS Access Key ID: AKIAIOSFODNN7EXAMPLE
> AWS Secret Access Key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
> Region Name: us-west-2
> S3 Staging Directory: s3://wisdomai-athena-results-bucket/
> Work Group: primary
> ```
> [tab] Azure Synapse
>
> The following table lists the requirements you must provide when connecting to Azure Synapse.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Workspace SQL endpoint | The SQL endpoint URL for your workspace |
> | Subscription ID | The ID of your Azure subscription |
> | Resource Group ID | The name of the Azure resource group where the Synapse workspace is located |
> | Workspace ID | The ID for the Synapse Analytics workspace |
> | Client ID | The Application ID of the Azure Service Principal used for authentication |
> | Tenant ID | The Directory ID of your Azure Active Directory |
> | Client Secret | The secret value generated for the Service Principal |
>
> Here's an example connection:
>
> ```txt theme={null}
> Workspace SQL endpoint: synapse-prod-ondemand.sql.azuresynapse.net
> Subscription ID: a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
> Resource Group ID: rg-analytics-prod
> Workspace ID: synapse-workspace-01
> Client ID: 00000000-0000-0000-0000-000000000000
> Tenant ID: ffffffff-ffff-ffff-ffff-ffffffffffff
> Client Secret: ********
> ```
> [tab] Azure Synapse Serverless
>
> The following table lists the requirements you must provide when connecting to Azure Synapse Serverless.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Serverless SQL endpoint | The on-demand SQL endpoint for your Synapse workspace |
> | Client ID | The Application ID of the Azure Service Principal used for authentication |
> | Tenant ID | The Directory ID of your Azure Active Directory |
> | Client Secret | The client secret value generated for the Service Principal |
>
> Here's an example connection:
>
> ```txt theme={null}
> Serverless SQL endpoint: my-workspace-ondemand.sql.azuresynapse.net
> Client ID: 00000000-0000-0000-0000-000000000000
> Tenant ID: ffffffff-ffff-ffff-ffff-ffffffffffff
> Client Secret: ********
> ```
> [tab] Azure Blob Storage
>
> The following table lists the requirements you must provide when connecting to Azure Blob Storage.
>
> | Requirement | Description |
> | :- | :- |
> | Storage Account Name | The name of your Azure Storage account |
> | Container Name | The specific blob container where your data is stored |
> | Connection String | The Azure Storage connection string used for authentication |
>
> Here's an example connection:
>
> ```txt theme={null}
> Storage Account Name: wisdomstorageaccount
> Container Name: customer-data
> Connection String: DefaultEndpointsProtocol=https;AccountName=wisdomstorageaccount;AccountKey=xxxxxx...xxxxxx;EndpointSuffix=core.windows.net
> ```
> [tab] ClickHouse
>
> The following table lists the requirements you must provide when connecting to ClickHouse.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Host | The hostname or IP address of your ClickHouse server |
> | Port | The port number used for the connection |
> | Username | The database user account with read access to the metadata |
> | Password | The password for the specified database user |
>
> > [!NOTE]
> >
> > Database filters are optional, but it is recommended to specify only the databases that you want to expose to Wisdom.
>
> Here's an example connection:
>
> ```txt theme={null}
> Host: ch-cluster.example.com
> Port: 8123
> Username: wisdom_scanner
> Password: ********
> Database filters: sales_data, inventory_records
> ```
> [tab] Trino
>
> The following table lists the requirements you must provide when connecting to Trino.
>
> > [!NOTE]
> >
> > If your database is protected by a firewall or network access policies, allowlist both of WisdomAI's CIDR blocks (35.238.115.103/32 and 34.82.248.105/32).
>
> | Requirement | Description |
> | :- | :- |
> | Host | The hostname or IP address of your Trino coordinator node |
> | Port | The port number used for the connection |
> | Username | The user account with appropriate permissions to access the catalogs |
> | Password | The password for the specified user account |
> | Use SSL (HTTPS) | Toggle to enable secure communication via SSL |
> | Skip SSL Certificate Verification | If enabled, WisdomAI will not validate the SSL certificate (common for self-signed certs) |
> | Force HTTPS | Forces the connection to use HTTPS even if the endpoint suggests otherwise |
>
> > [!NOTE]
> >
> > Catalog filters are optional, but it is recommended to specify only the catalogs and their schemas that you want to expose to Wisdom.
>
> Here's an example connection:
>
> ```txt theme={null}
> Host: trino.internal.company.com
> Port: 8443
> Username: query_service
> Password: ********
> Use SSL (HTTPS): True
> Skip SSL Certificate Verification: False
> Force HTTPS: True
> Catalog Filters: snowflake_prod, glue_catalog
> ```
> [tab] SharePoint
>
> The following table lists the requirements you must provide when connecting to SharePoint.
>
> | Requirement | Description |
> | :- | :- |
> | Client ID | The client ID of the Azure App registration used for authentication |
> | Tenant ID | The Directory ID of your Azure Active Directory |
> | Client Secret | The client secret value generated for the Azure App registration |
> | Site URL | The full URL of the SharePoint site you want to crawl |
>
> > [!NOTE]
> >
> > By default, all document libraries are crawled. It is recommended to specify only the libraries that you want to expose to Wisdom in the **Document Libraries** field.
>
> Here's an example connection:
>
> ```txt theme={null}
> Client ID: 00000000-0000-0000-0000-000000000000
> Tenant ID: ffffffff-ffff-ffff-ffff-ffffffffffff
> Client Secret: ********
> Site URL: https://website.sharepoint.com/sites/internal-knowledge
> Document Libraries: Policies, Procedures
> ```
> [tab] Google Cloud Spanner
>
> The following table lists the requirements you must provide when connecting to Google Cloud Spanner.
>
> | Requirement | Description |
> | :- | :- |
> | Project ID | The unique identifier for your Google Cloud Project |
> | Instance ID | The ID of the Cloud Spanner instance |
> | Database ID | The ID of the specific database within the Spanner instance |
> | Service Account Info JSON | The complete contents of your GCP service account JSON key file |
>
> Here's an example connection:
>
> ```txt theme={null}
> Project ID: majestic-project-12345
> Instance ID: spanner-instance-main
> Database ID: inventory_db
> Service Account Info JSON: { "type": "service_account", "project_id": "majestic-project-12345", ... }
> ```
> [tab] Teradata
>
> The following table lists the requirements you must provide when connecting to Teradata.
>
> | Requirement | Description |
> | :- | :- |
> | Host | The hostname or IP address of your Teradata server |
> | Port | The port number used for the connection, typically `1025` |
> | Username | The database user account with appropriate read permissions |
> | Password | The password for the specified database user |
>
> > [!NOTE]
> >
> > **Database filters** are optional, but it is recommended to specify only the databases that you want to expose to Wisdom.
>
> Here's an example connection:
>
> ```txt theme={null}
> Host: td-prod.example.com
> Port: 1025
> Username: wisdom_read_only
> Password: ********
> Database filters: sales_v, marketing_v
> ```
> [tab] GitHub
>
> The following table lists the requirements you must provide when connecting to GitHub.
>
> | Requirement | Description |
> | :- | :- |
> | Connection name | A name to identify this connection |
> | Repository URL | The URL of the repository you want WisdomAI to extract context from |
> | Personal access token | Required for private repositories |
> | Branch | The branch WisdomAI should crawl |
>
> > [!NOTE]
> >
> > A personal access token is required for private repositories.
>
> Here's an example connection:
>
> ```txt theme={null}
> Connection name: product-docs-repo
> Repository URL: https://github.com/your-org/your-repo
> Personal access token: ********
> Branch: main
> ```
> [tab] GitLab
>
> The following table lists the requirements you must provide when connecting to GitLab.
>
> | Requirement | Description |
> | :- | :- |
> | Connection name | A name to identify this connection |
> | Project URL | The URL of the GitLab project you want WisdomAI to extract context from |
> | Access token | Required for private projects |
> | Branch | The branch WisdomAI should crawl |
>
> > [!NOTE]
> >
> > An access token is required for private projects.
>
> Here's an example connection:
>
> ```txt theme={null}
> Connection name: product-docs-project
> Project URL: https://gitlab.com/your-group/your-project
> Access token: ********
> Branch: main
> ```
> [tab] Azure DevOps
>
> The following table lists the requirements you must provide when connecting to Azure DevOps.
>
> | Requirement | Description |
> | :- | :- |
> | Connection name | A name to identify this connection |
> | Repository URL | The URL of the Azure DevOps repository you want WisdomAI to extract context from |
> | Organization | The Azure DevOps organization that owns the repository |
> | Project | The Azure DevOps project that contains the repository |
> | Repository | The name of the repository |
> | Repository ID | The unique identifier for the repository |
> | Server base URL | The base URL for on-premises Azure DevOps Server instances |
> | Branch | The branch WisdomAI should crawl |
>
> You must also choose an authentication method:
>
> | Authentication method | Description |
> | :- | :- |
> | Connect as user | Authenticate with your own Azure DevOps user account via OAuth |
> | Wisdom managed app | Use WisdomAI's managed OAuth app credentials |
> | Service principal | Authenticate using a Tenant ID, OAuth client ID, and OAuth client secret |
> | Managed identity | Authenticate using an Azure managed identity |
> | Personal access token | Authenticate using a PAT generated in Azure DevOps |
> | SSH key | Authenticate using an SSH key pair |
>
> > [!NOTE]
> >
> > The **Tenant ID**, **OAuth client ID**, and **OAuth client secret** fields are only required when using the **Service principal** authentication method.
>
> Here's an example connection:
>
> ```txt theme={null}
> Connection name: product-docs-repo
> Repository URL: https://dev.azure.com/your-org/your-project/_git/your-repo
> Organization: your-org
> Project: your-project
> Repository: your-repo
> Branch: main
> Authentication method: Personal access token
> Personal access token: ********
> ```
> [tab] Dremio Connection
>
> The following table lists the requirements you must provide when connecting to Dremio.
>
> | Requirement | Description |
> | :- | :- |
> | Connection name | A name to identify this connection |
> | Host | The hostname or IP address of your Dremio server |
> | Port | The port number used for the connection |
> | Authentication | Basic (Software / on-prem) or Bearer (Cloud / PAT) |
> | Username | The Dremio username (Basic authentication) |
> | Password/PAT | The password or personal access token, depending on the authentication method |
> | Use TLS | Whether to encrypt the connection using TLS |
> | Skip TLS Certificate Verification | Whether to skip verification of the TLS certificate |
> | Catalog Filters | Optionally filter Dremio catalogs (sources / spaces) and their schemas |
>
> > [!NOTE]
> >
> > Each catalog filter can have its own schema filters. You can also add alternate credential sets under **Advanced** to use different credentials based on user attributes (e.g. region, environment); any fields left empty for an alternate are inherited from the primary connection at runtime.
>
> Here's an example connection:
>
> ```txt theme={null}
> Connection name: analytics-dremio
> Host: dremio.example.com
> Port: 9047
> Authentication: Bearer (Cloud / PAT)
> Password/PAT: ********
> Use TLS: True
> Skip TLS Certificate Verification: False
> ```
***
## Protocol-based source: MCP server
Connect to any server that implements the [Model Knowledge Protocol](https://modelcontextprotocol.io). MCP enables WisdomAI to fetch real-time data and scan metadata from external systems through a standardized protocol.
### MCP server requirements
To connect an MCP server, you must provide:
| Requirement | Description |
| :- | :- |
| **Transport Type** | Streamable HTTP, Server-Sent Events (SSE), or STDIO |
| **Server URL/Command** | The endpoint or command used to run the MCP server |
| **Auth Type** | API Key, OAuth, or None |
> [!NOTE]
>
> For detailed setup instructions, see [Connect an MCP Server](/getting-started/connect-data-sources/connect-mcp-server).
## Web search
WisdomAI can search the internet and fetch content from public web pages as a data source. When enabled on a domain, the AI automatically supplements its answers with real-time web information — such as industry benchmarks, market trends, or publicly available reference material.
Web Search is configured per domain with an optional **source policy** that controls which websites WisdomAI can search (allowlist or blocklist up to 10 domains).
> [!NOTE]
>
> For detailed setup instructions, see [Search the Web](/getting-started/connect-data-sources/search-the-web).
## Integrations
Connect WisdomAI to your essential business applications and services to unlock deeper insights from all your data.
### ETL integration for SaaS applications
WisdomAI works with leading (Extract, Transform, and Load) ETL partners to provide data integration from various SaaS applications.
WisdomAI leverages **Fivetran** or **Airbyte** to ETL data from SaaS applications into a customer-owned data warehouse or, alternatively, into a WisdomAI-managed **BigQuery**-based analytics environment.
### Supported SaaS data sources
A non-exhaustive list of SaaS Sources includes:
* CRM tools (Salesforce, Hubspot)
* Financial systems (NetSuite)
* Ticketing systems (Jira, Zendesk)
* Marketing platforms (Google Analytics, Facebook Ads)
### Setting up SaaS integration
To integrate data from SaaS applications, please contact WisdomAI support at `support@askwisdom.ai`. Our team will work with you to set up the appropriate ETL pipelines using our partner technologies.
## Limits
This section details any known limitations or restrictions when connecting to data sources.
* **File Size:** The Maximum file size for direct upload is 100MB. For larger files or datasets, consider uploading them to a data warehouse or cloud storage (e.g., Amazon S3, Google Cloud Storage) and connecting WisdomAI to the warehouse/storage.
* **Query Limits:** Be aware of any rate limits or query concurrency limits imposed by your database or data warehouse provider. WisdomAI's queries will contribute to these limits.
* **Data Type Support:** While WisdomAI strives to support a wide range of data types, some highly specialized or proprietary data types might require specific handling or may not be fully supported. Contact us if you request any assistance.
## Troubleshooting
Understand common problems and systematic troubleshooting techniques that can help you quickly identify and resolve connectivity issues.
### Common connection issues
| **Issue** | **Possible Causes** | **Resolution** |
| - | - | - |
| Connection Timeout | - Network latency - Firewall blocking - Server overload | - Check network connectivity - Verify firewall rules - Increase connection timeout setting |
| Authentication Failed | - Incorrect credentials - Expired API keys/tokens - Account lockout | - Verify username/password - Regenerate API keys - Check account status |
| Permission Denied | - Insufficient privileges - IP restriction - Resource access limits | - Update user permissions - Whitelist IP addresses - Check resource quotas |
For persistent connection issues, contact WisdomAI support at `support@askwisdom.ai` with the connection ID and error logs for assistance.
## Next steps
> [card] [Connect Unstructured Repositories](/improve-wisdom-ai-responses/connect-unstructed-repositories-datasets)
>
> Integrate unstructured data sources, such as documents or knowledge bases, to enrich your analysis.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Glossary
Source: https://docs.wisdom.ai/getting-started/glossary
Find here a list of key terms used throughout the Wisdom AI product and documentation. Use it as a quick reference to ensure a shared vocabulary across Admins, Data Admins and Explorers.
## A
**Administrator / Admin**: Highest-privilege user role with full access to connect data sources, configure domains, manage security, and govern the rollout of WisdomAI. Also responsible for foundational setup and governance, including user, domain, data source, data model, and knowledge management, as well as accessing dashboards and reports, monitoring, and auditing.
**Agentic Analytics**: A multi-step analytic workflow executed by an internal planning agent that decomposes complex questions into sub-queries and composes the final answer automatically.
**Analysis Plan**: The intermediate set of steps (SQL, transformations, visualisations) generated by WisdomAI when executing Agentic Analytics.
**Answer Accuracy Score**: A system metric that tracks the percentage of answers receiving positive feedback (👍) versus total answers served, used to judge readiness for roll-out.
**Audit Logs**: Records of events within the WisdomAI system, used to track usage and monitor platform health.
## B
**Build Dashboards (Dashboards)**: The capability to create and maintain Dashboards (WisdomAI's term for dashboards), including dashboards and domain-specific assets.
## C
**Chat Analytics**: Conversational, natural-language interaction mode where users ask questions and receive answers in real time.
**Column-Level Security**: A granular access control mechanism that restricts user access to specific columns within a data table.
**Connector**: Reusable integration module that handles authentication and data extraction for a specific database, warehouse, or SaaS application.
**Continuous Learning**: WisdomAI’s process of improving answer quality over time based on feedback, reviewed queries, and added context.
**Knowledge Enhancement**: The act of supplying extra business logic, synonyms, or documentation so the NLQ engine produces domain-specific answers.
## D
**Data Administrator**: A role with privileges focused on domain and data-model maintenance but without full system-wide admin rights. They can connect domain-level data, model business context, manage content, apply data policies, and collaborate with Explorers.
**Data Dictionary**: Human-readable catalogue of domain tables, columns, metrics, and their business definitions.
**Data Model Augmentation**: Enhancing the semantic model with derived fields, entities, or metrics to create richer answers.
**Data Source**: Any origin from which WisdomAI ingests data (database, warehouse, CSV, SaaS API, etc.).
**Data Warehouse**: Centralised analytical database (e.g., Snowflake, BigQuery) commonly used as a primary data source.
**Derived Column**: A calculated column added to a table or view within a domain, not present in the raw source.
**Derived Table**: A table produced from transformations or joins on raw tables, materialised or virtual, and added to the semantic model.
**Domain**: A dedicated, configurable space within the platform designed to represent a specific business area or dataset. It functions as the core container for your data sources, business knowledge (including context, metrics, and entities), and settings, enabling you to connect data, apply business logic, and fine-tune the AI for accurate and relevant data analysis responses.
**Domain Management**: The capability to configure and maintain organizational domains within WisdomAI.
**Domain-Level Permissions**: Fine-grained access rules that determine who can query or edit each domain.
## E
**Embedded Analytics**: Mechanism for embedding WisdomAI Dashboards or charts into external applications via iframe or public link.
**Entity**: A business object represented in the semantic model (e.g., *Customer*, *Order*); usually maps to a primary-key table.
**Explorer**: End-user role focused on asking questions, creating Dashboards, and sharing insights; cannot access admin configuration. They can ask questions, explore dashboards, share insights, save views, and utilize knowledge management, including access to dashboards and reports.
## F
**Feedback Loop**: Cycle in which user feedback (👍/👎, edits, reviewed queries) trains WisdomAI to improve future answers.
**Fork (Chats)**: Create an independent copy of a chat or Dashboard so it can be modified without affecting the original.
## G
**Go/No-Go Demo**: Validation checkpoint where Admins present curated dashboards to stakeholders to decide if WisdomAI is ready for wider release.
**Governance**: Set of policies and controls that maintain data integrity, security, and compliance within WisdomAI.
## L
**Limits & Quotas**: System-enforced maximums on rows processed, file sizes, API calls, or concurrent queries.
**Live App**: An interactive application that WisdomAI generates from a plain-language prompt, built on governed domain data. Every widget in a Live App is backed by a governed query, and access follows the same permission model as dashboards.
## M
**Metric**: Quantitative measure (e.g., *total revenue*, *active users*) defined in the semantic model and calculated by WisdomAI.
**Mirror**: Read-only, live view of a domain or dashboard from one organization in another organization. See [Object mirroring](/access-management/object-mirroring).
**Monitoring Dashboard**: Admin-only Dashboard that surfaces operational KPIs such as sync latency and answer accuracy.
## N
**Natural-Language Query (NLQ)**: An end-user question expressed in everyday language, parsed and converted to SQL by WisdomAI.
## P
**Python Intepreter Tool**: Feature that uses AI-generated Python code to perform advanced data science operations—such as forecasting, regression, clustering, and mathematical calculations—directly from natural-language questions in Chat.
**Phased Roll-out**: Controlled deployment approach that starts with a pilot domain and gradually expands to more data and users.
**Prompt Template**: Preset wording used to influence the NLQ engine’s tone, terminology, or calculation logic.
## Q
**Query Pattern**: Reusable example or phrasing that teaches users how to ask effective questions (e.g., “Show *metric* by *dimension* for last *n* days”).
## R
**Reports**: Formal presentations of data and analysis, accessible by various roles.
**Reviewed Query**: An NLQ that has been checked by an Admin, corrected if necessary, and saved as a trusted reference.
**Role-Based Access Control (RBAC)**: A security model where permissions are organized around roles, and users are assigned to roles, ensuring appropriate access based on responsibilities.
**Row-Level Access Control (RLAC)**: Rules that restrict data visibility at the row level based on user attributes (e.g., region).
## S
**Scheduled Dashboard**: Dashboard or chart automatically sent at a defined cadence via email or Slack.
**Schemas**: The structure of tables and relationships within a database or data source.
**Semantic Model**: Layer that abstracts raw tables into business-friendly entities, metrics, relationships, and dimensions.
**Sharing Model**: Framework that governs who can view, edit, fork, or subscribe to content within WisdomAI.
**Dashboards**: WisdomAI’s term for a dashboard: a collection of answer cards and visualisations saved with a title and description.
**Subscription**: User opt-in to receive scheduled Dashboard deliveries or notifications.
**Sync Latency**: Elapsed time between the source data change and its availability in WisdomAI after the latest sync.
## T
**Tenant / Environment**: Isolated instance of WisdomAI (with its own domains, users, and settings) provisioned for a single customer or business unit.
**Thumbs-Up / Thumbs-Down**: Simple feedback buttons that signal whether an answer was helpful and drive the Continuous Learning process.
## U
**Usage Metrics**: Data points that measure how the WisdomAI platform is being used, contributing to monitoring system health.
## W
**Webhook**: HTTP callback that triggers an external system when certain events occur in WisdomAI (e.g., Dashboard published, data sync complete).
**Wisdom Smart Cache**: Feature that serves apps and dashboards from WisdomAI-managed snapshots of registered tables, so they load faster. Queries the cache can't serve run against the warehouse.
# How WisdomAI Works
Source: https://docs.wisdom.ai/getting-started/how-wisdom-ai-works
WisdomAI is a platform that helps businesses analyze their data and make informed decisions. It allows users to ask questions in plain English and receive clear, data-driven answers and visualizations, without the need for coding or manual dashboard creation.
## What does WisdomAI do?
WisdomAI transforms your company's raw data into actionable insights through several key capabilities:
> [card] Understands Your Questions
>
> You can ask questions in everyday language, like "What was our revenue last quarter?" or "Which products are selling best?" WisdomAI uses advanced Natural-Language Query (NLQ) to understand what you're asking.
> [card] Connects to Your Data
>
> It seamlessly connects to various data sources your business uses, such as databases like PostgreSQL and SQL Server, or data warehouses like Snowflake and Google BigQuery.
> [card] Organizes Your Business Data
>
> WisdomAI helps you organize your data into domains that represent different parts of your business, like Sales or Marketing. This makes your data more relevant and easier for everyone to use.
> [card] Turns Answers into Dashboards
>
> Instead of just giving you numbers, WisdomAI can create interactive Dashboards with charts and text. They are automatically updated as your data changes, making it easy to share insights across your team.
> [card] Automates Workflows
>
> You can set up Agents to automate everyday analytical tasks, from recurring analyses to threshold-based alerts, so your team gets answers without having to ask.
> [card] Learns and Improves
>
> WisdomAI continually improves its capabilities based on user feedback. When you provide corrections or refine questions, the system learns to give even better answers in the future.
This means WisdomAI helps you quickly get the information you need from your data, making data-driven decisions simpler and faster for everyone.
## Who uses WisdomAI?
WisdomAI is designed for businesses of all sizes, from small startups to large corporations, across various industries. It's intended to be useful for different roles within your organization:
> [card] Admins
>
> These are typically IT or BI directors who set up WisdomAI, connect it to your data sources, manage user access, and define the overall data structure on the platform.
> [card] Explorers
>
> This group comprises business users, executives, and other stakeholders who utilize WisdomAI to ask questions in natural language, create and view Dashboards, share insights with their team, and subscribe to scheduled updates.
> [card] Developers
>
> Software engineers and technical teams who build on top of WisdomAI — embedding dashboards into products, managing users via the API, or connecting WisdomAI to AI tools.
> [!TIP]
>
> This documentation is organized to help you focus on what matters most in your role. For more information on each role, visit the [Where to Start](/getting-started/overview#where-to-start) section.
## WisdomAI vs generic RAG systems
Unlike generic Retrieval-Augmented Generation (RAG) solutions that rely purely on embedding search over documents, WisdomAI builds a structured understanding of your data through semantic modeling, curated context, and validated logic.
| **Feature** | **WisdomAI** | **Generic RAG** |
| - | - | - |
| Understands data relationships | ✅ | ❌ |
| Requires semantic modeling | ✅ | ❌ |
| Validated, testable logic | ✅ | ❌ |
| Dynamic, auto-updating dashboards | ✅ | ❌ |
| Tailored for business data | ✅ | ❌ |
> [!TIP]
>
> WisdomAI is purpose-built for enterprise analytics, not just document Q\&A.
## Data flow & architecture overview
WisdomAI transforms your business data into actionable insights using a multi-layered pipeline. The following components work together to deliver accurate, contextualized answers and auto-updating Dashboards.

### 1. Connected Data Sources
WisdomAI integrates with your data platforms (such as Snowflake, BigQuery, or Redshift), serving as the entry point for all information flowing through the system.
### 2. Semantic Modeling
Admins and data owners enrich the data by documenting tables, columns, and domains. They also define relationships (e.g., one-to-many, many-to-many) to create a business-friendly context for natural language understanding.
### 3. Natural Language Query (NLQ) Engine
Users ask questions in plain language. The NLQ engine parses these questions and translates them into SQL queries using the underlying semantic model.
### 4. Dashboard Creation
Responses are generated and formatted into interactive Dashboards — data-driven narratives that combine visualizations, text, and insights. These can be scheduled and shared.
### 5. Delivery and Reporting Layer
Dashboards and answers can be delivered via email or embedded into external applications, helping teams stay informed with minimal effort.
### 6. User Feedback and Corrections
Users can give feedback on dashboard accuracy, suggest corrections, or add clarifying context to improve future results.
### 7. Knowledge Updates and Review Loop
Admins and Data Admins review user feedback and update the semantic layer accordingly, closing the loop and continuously improving answer quality and domain understanding.
## Next steps
> [card] [Supported Data Sources](/getting-started/connect-data-sources/supported-data-sources)
>
> Explore the full list of databases and platforms you can connect to the system.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
> [card] [Provide Feedback](/setting-up-wisdom-ai/feedback-mechanisms/provide-feedback-to-the-system)
>
> Help improve model accuracy by rating answers and providing corrections.
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Compile key insights and visualizations into a shareable, narrative-driven report.
# Overview
Source: https://docs.wisdom.ai/getting-started/overview
Welcome to the WisdomAI documentation site. These guides provide all the essential information you need to effectively utilize the platform’s features, from querying data using natural language to setting up granular access controls. Whether you are an Admin, an Explorer, or a Developer building on top of the platform, you will find detailed instructions for your role.
## Where to start?
WisdomAI caters to diverse user roles. Follow the path that aligns with your responsibilities:
> [tab] Admins (Data Administrators)
>
> **Objective**: Set up and configure WisdomAI for your organization.
>
> **Start Here:**
>
> > [card] [Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> > [card] [Create Context](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> **Key Actions:**
>
> * Connect data sources and define Domains.
> * Document tables and columns for clarity.
> * Add contextual information and reviewed queries.
> * Configure access controls and security settings.
> * Define table relationships (1:1, 1:M, M:M) to model data associations and enable efficient querying.
> * Connect your AI coding assistant to WisdomAI data using the MCP Server.
> [tab] Explorers (Business Users)
>
> **Objective:** Use WisdomAI's tools and capabilities to extract meaningful insights from your data and effectively communicate them to others.
>
> **Start Here:**
>
> > [card] [Ask Better Questions](/using-wisdom-ai-everyday/ask-better-questions)
>
> > [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> > [card] [Share Dashboards and Set Access](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control)
>
> > [card] [Subscribe to a Dashboard](/using-wisdom-ai-everyday/schedule-dashboards-notifications)
>
> **Key Actions:**
>
> * Pose natural language questions to explore data.
> * Create and customize interactive Dashboards.
> * Share insights with team members and stakeholders.
> * Set up notifications to stay updated on key metrics.
> [tab] Developers
>
> **Objective:** Integrate WisdomAI into your product or connect it to your AI coding tools.
>
> **Start Here:**
>
> > [card] [Developers Overview](/integrations/developers)
>
> > [card] [Embedding](/integrations/embeddings/embedding)
>
> > [card] [GraphQL API](/integrations/graphql-api/GraphQL-API)
>
> > [card] [User Management](/integrations/user-management/user-lifecycle)
>
> **Key Actions:**
>
> * Embed dashboards and chat into your web app using the iframe or React SDK.
> * Create and manage users programmatically via the GraphQL API.
> * Control data access at the user level with attributes and parameterized connections.
## Next steps
> [card] [Developers](/integrations/developers)
>
> Embed, query, and extend WisdomAI from your own stack.
> [card] [Supported Data Sources](/getting-started/connect-data-sources/supported-data-sources)
>
> Explore the full list of databases and platforms you can connect to the system.
> [card] [Connect and Test Tutorial](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
> [card] [Provide Feedback](/setting-up-wisdom-ai/feedback-mechanisms/provide-feedback-to-the-system)
>
> Help improve model accuracy by rating answers and providing corrections.
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Compile key insights and visualizations into a shareable, narrative-driven report.
# Using File Attachments in Chat
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/attach-files-to-chat
You can attach a file to your WisdomAI chat to provide additional context for the session. This feature enables WisdomAI to use the information in the file to better understand and respond to your queries, serving as a temporary knowledge base throughout your conversation.
## How it works
To attach a file to your chat session, follow these steps:
1. In your chat session, click the **Upload File** icon.
2. Select your file, and ensure it is a supported file type.
3. Add your query in the chat, and click **Send**.
WisdomAI will then process the file's content and use it as a reference for your questions.
This allows for a more fluid and intuitive interaction, especially when dealing with complex data tasks. For example, you could upload a screenshot of a bar chart and ask WisdomAI to generate a similar chart using the dataset of the Domain you are using.
## Supported file types
WisdomAI currently supports a variety of file types, including images, documents, and different text formats. See the following list:
* **Images**
* .png
* .jpeg
* .webp
* **Documents**
* .pdf
* **Text Files**
* Any file with a text/MIME type
* .json
* .lkml
* .md (Markdown)
* .log
* .yml
* .yaml
> [!TIP]
>
> * The maximum file size you can upload is 20MB.
> * These files can also be used as data sources. To learn how to upload files to a Domain, read [**Quickstart: Connect and Test > Upload CSV files**](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)**.**
## Next steps
> [card] [Configure Domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Manage and customize your data domains to refine context and improve query results.
> [card] [Auditing](/using-wisdom-ai-everyday/auditing)
>
> Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
> [card] [Basic Tutorial: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Build Dashboards
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/build-dashboards
Use Dashboards to transform data insights into compelling, interactive visual reports that you can arrange and share. Building dashboards helps you consolidate multiple metrics, share key findings across your organization, and ensure stakeholders are aligned on essential business data.
> [!NOTE]
>
> If you are looking for help on how to turn chat answers into Dashboards, read the article [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards).
This guide will walk you through the following steps after your answers are ready to be showcased, including:
* [Explore the Dashboards Editor](#explore-the-dashboards-editor)
* [Arrange Dashboard Layout](#arrange-dashboard-layout)
* [Get Stakeholders Sign-Off](#get-stakeholders-sign-off)
* [Export your Dashboard](#export-your-dashboard)
## Explore the Dashboards Editor
Once your analysis is complete and you have turned answers into cards (see the [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards) article), the **Dashboards** section becomes your central workspace. Here, you can refine the presentation of your insights, build out full dashboards, and prepare content for sharing.
The Dashboards Editor includes features such as:
1. A collapsible **Overview** section that includes:
* An **Executive Summary** for setting context at the top of your Dashboard.
* A data summary for **what's changed since** a specific date, such as yesterday, last week, etc.
2. An option to **add** a **widget** directly from the Dashboard interface. Create **Visualization** or **Text** widgets that communicate key takeaways.
> [!NOTE]
>
> The **Visualization** option opens a chat interface that helps you generate visual content based on your data. In contrast, the **Text** option opens an MDX editor to add narrative or explanatory content.
3. A **Filters** pane for interactive data exploration.
4. An option to **share** your Dashboard effectively.

## Arrange Dashboard layout
Make your Dashboard both visually compelling and logically structured:
* **Move Dashboards cards around the workspace** to arrange them in order by importance, logical flow, or stakeholder preference.
* **Group related cards** to create thematic Dashboards (e.g., “Monthly Revenue Trends,” “Top Performing Reps,” “Churn Metrics”).
* [**Edit the answers to Dashboards cards**](/improve-wisdom-ai-responses/validate-and-test-answers) to emphasize key metrics and insights, ensuring your visuals match the narrative flow.
> [!TIP]
>
> A well-structured layout helps stakeholders grasp patterns faster and ask more meaningful follow-up questions.
All changes are saved automatically as you work. You can always return to the Dashboard later to iterate.

## Get stakeholders sign-off
Before finalizing your Dashboard for broader distribution or operational use, it is essential to obtain approval from key stakeholders. This ensures the information is accurate, aligned with business goals, and ready to guide decisions.
Here is a suggested flow:
1. [**Share the Dashboard link**](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control) with stakeholders.
2. **Add context**: summarize what the Dashboard includes and the decisions it is intended to support.
3. **Collect feedback** directly within the platform or through async tools (Slack, email).
4. **Incorporate edits** based on feedback, then tag the Dashboard as final or rename it for future iterations.
> [!TIP]
>
> Keeping track of who has reviewed and approved the Dashboard helps streamline communication and build trust in the data.

## Export your Dashboard
Once you are satisfied with your layout and stakeholders have approved it, you may want to **share** it or **schedule notifications** to keep stakeholders and explorers informed. Both topics are covered in related articles.
* To learn how to share your Dashboard and manage access permissions, see the [**Share Dashboards and Set Access Control**](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control) article.

* If you would like to schedule Dashboard updates and receive notifications, check out the [**Schedule Dashboard Notifications**](/using-wisdom-ai-everyday/schedule-dashboards-notifications) guide.

## Next steps
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Compile key insights and visualizations into a shareable, narrative-driven report.
> [card] [Schedule Dashboard Notifications](/using-wisdom-ai-everyday/schedule-dashboards-notifications)
>
> Set up automated notifications to keep stakeholders updated with the latest dashboard insights.
> [card] [Share Dashboards and Set Access Control](/using-wisdom-ai-everyday/share-dashboards-and-set-access-control)
>
> Learn how to share your dashboards with others and manage who can view or edit them.
# Connect Unstructured Repositories or Datasets
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/connect-unstructed-repositories-datasets
WisdomAI allows you to connect your domain to an unstructured repository or dataset from an **Amazon S3 bucket**, thereby enhancing your chatbot responses and ensuring the AI understands the underlying structure of your information.
## Connect an Amazon S3 dataset
Follow the steps below to connect your Amazon S3 bucket as a data source.
1. Access your domain and, in the **Overview** tab, click **Add Data Source**.
2. In the modal that opens, select **Connect another source** from the **Data Source** selector.
3. Click **Add Data Source** to continue.

4. Select **Connect to Data store or MCP server**, then provide the following **Connection Details**:
* **Connection name**
* **Data source**: Select **Amazon S3**
5. Fill in the **Amazon S3 connection details**:
* **Bucket Name**: The bucket where your files are stored.
* **Authentication Method**: Choose one of the following:
* **Access Key & Secret Key**: Provide the **Region**, **AWS Access Key ID**, and **AWS Secret Access Key**.
* **Cross-Account Role**: Provide the **AWS Account ID** that has access to the bucket and the **AWS Role Name**.
6. Click **Select Data** to continue.

7. In the data selection screen, browse the contents of the S3 bucket and select the files or paths you want to include.
8. Confirm your selection to add the dataset as a data source.
## Next steps
> [card] [Manage Domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Manage and customize your data domains to refine context and improve query results.
> [card] [Auditing](/using-wisdom-ai-everyday/auditing)
>
> Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
> [card] [Quickstart: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Enhancing Data Analysis with Custom Business Knowledge
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/enhancing-data-analysis-with-custom-business-context
WisdomAI is engineered to perform a wide range of queries directly on your dataset. If you are seeking to conduct more advanced, customized analysis, the custom business Knowledge feature allows the system to be aligned with your specific operational logic and proprietary terminology. This document outlines an example procedure for leveraging this feature to generate strategic insights.
## 1. Foundational data interrogation
The system is designed to process queries that reference explicit data points within your tables. For example, it can accurately count, group, or filter based on existing columns and values.
When a query includes business-specific terminology not explicitly defined in the dataset, such as "Strategic Account" or "At-Risk", the system, by design, will prompt for clarification. This ensures that all subsequent analysis is precise and perfectly aligned with the user's intent.

## 2. Implementing custom logic with business Knowledge
The Knowledge feature enables the system to execute complex queries autonomously. This is achieved by providing the tool with a set of rules that define your organization's internal logic.
As an example, let's consider that you want to empower the system to identify "At-Risk Strategic Accounts". To accomplish this, you need to provide the following definitions via the Knowledge feature:
```
1. Geographical Sales Territories:
- NA-West (North America West): Includes [Account Names]
_ NA-East (North America East): Includes [Account Names]
- EMEA (Europe, Middle East, and Africa): Includes [Account Names]
2. Account Tier Definitions:
- A "Strategic Account" is any customer with a contract duration of 3 years or more.
- An "At-Risk Strategic Account" is a Strategic Account where Auto Renewal is set to False.
- A "Secure Strategic Account" is a Strategic Account where Auto Renewal is set to True.
```

## 3. Executing multi-layered strategic analysis
With the business Knowledge supplied, the system no longer needs to prompt for clarification. It is now configured to perform the multi-layered analysis directly.
When presented with the same query:
```
Generate a list of all 'At-Risk Strategic Accounts' and show me which sales region they belong to.
```
The system executes the request. It cross-references contract duration, renewal status, and account-to-territory mapping to produce the precise, targeted list required.
This demonstrates the successful application of custom context to yield high-value, strategic business insights.

## 4. Granular analysis using JSON parsing Knowledge
A key challenge in data analysis is extracting information from fields containing semi-structured text. For example, a single `Skus` column might contain multiple products, tiers, and quantities in one text string, making direct calculations difficult.
The Knowledge feature resolves this by allowing users to define parsing logic with a JSON input. Without this logic, the system cannot perform calculations on data embedded within text.
The following code snippet shows an example of using JSON context \~\~was provided \~\~to teach the system how to parse the `Skus` column:
```
{
"example_for_skus_column": {
"comment": "Parse the 'Skus' column into a structured list.",
"original_skus_column_value": "Sales Ultimate 15 licenses, Marketing Professional 50 users",
"expected_parsed_structure": [
{ "product_family": "Sales", "tier": "Ultimate", "quantity": 15, "unit": "licenses" },
{ "product_family": "Marketing", "tier": "Professional", "quantity": 50, "unit": "users" }
]
}
}
```

With this parsing logic supplied, it is now possible to execute precise queries, like the following example:
```
What is the total quantity of 'Ultimate' tier licenses sold for the 'Sales' product line?
```
The system can now deconstruct the `Skus` field for every contract in real-time. It filters for the "Sales" product, identifies the "Ultimate" tier, extracts the corresponding quantity, and aggregates the total, providing a precise numerical answer that was previously impossible to calculate.

## Next steps
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
> [card] [Validate and Test Answers](/improve-wisdom-ai-responses/validate-and-test-answers)
>
> Understand the methods for verifying the correctness and reliability of generated answers.
> [card] [Provide Feedback to the System](/setting-up-wisdom-ai/feedback-mechanisms/provide-feedback-to-the-system)
>
> Learn how to rate answers and provide corrections to improve the system's accuracy.
> [card] [Turn Answers into Dashboards](/using-wisdom-ai-everyday/turn-answers-into-dashboards)
>
> Compile key insights and visualizations into a shareable, narrative-driven report.
# How to Create Metrics
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/how-to-create-metrics
Metrics are numeric, quantitative values that can be measured to assess and track business performance. They help you identify trends to make informed decisions. This guide will walk you through creating and using metrics effectively in WisdomAI.
## Types of Metrics
You can have different kinds of Metrics. Here's a breakdown of the most common types:
* **Simple Metrics:** These are direct calculations from existing data. Think of something straightforward, such as the sum of your total revenue.
* **Calculated Metrics:** These metrics combine other metrics using formulas. For example, Profit could be a calculated metric derived from subtracting "Cost" from "Revenue."
* **Ratios:** Ratios involve dividing one metric by another. A classic example is Conversion Rate, calculated as "Orders" divided by "Visits."
* **Time-based Metrics:** These metrics incorporate time into their calculation, allowing you to analyze trends over periods. Examples include year-over-year growth or rolling averages.
## Create a Metric
The process of creating a metric in WisdomAI is managed within each specific Domain.
Here's a step-by-step guide:
1. Navigate to the **Metrics** Tab within a **Domain**.
* Select the relevant **Domain** (e.g., "B2B Sales") > go to the **Context** tab > click **Metrics**.
2. Click the **Add Metric** button.

3. In the Add a Metric modal window that opens, provide your metric with a clear, concise **name** that accurately describes what it measures.
4. Input your **SQL expression** in the corresponding area.
5. Toggle the **Advanced Options** switch to access additional configurations:
* **Associated date column:** (Optional) This allows you to specify a date column in your data that is relevant to this metric. This is particularly useful for time-based analyses, filtering by date, or for metrics that inherently track changes over time.
* **Associated group-by columns:** (Optional) Here, you can pre-define columns that are commonly used for grouping or segmenting this metric. (e.g., account State, customer ID)
6. Once you have configured your metric, click **Save** to add it to your Domain's metrics list.

## Sales Metrics examples
When you create metrics, you define the SQL expression that dictates how the metric is calculated from your raw data. This allows for precise data analysis. Once defined, they will appear in your Metrics list with their descriptions and display formats.
Here are some practical examples of sales metrics and how they might be configured.
| Metric Name | Description | SQL Expression | Display Format |
| :- | :- | :- | :- |
| **Revenue** | Total revenue before discounts and returns | `SUM(total_amount)` | Currency (USD, 2 decimal places) |
| **Average Order Value** | Average amount spent per order | `AVG(total_amount)` | Currency (USD, 2 decimal places) |
| **Profit Margin** | The percentage of revenue that is profit | `(SUM(total_amount) - SUM(cost)) / SUM(total_amount) * 100` | Percentage (1 decimal place) |
| **Items Per Order** | Average number of items in each order | `SUM(item_count) / COUNT(DISTINCT order_id)` | Number (1 decimal place) |
| **Days to Ship** | Average time between order and shipment | `AVG(EXTRACT(DAY FROM ship_date - order_date))` | Number (1 decimal place) |
| **AverageSalesPerRep** | Average Sales Per Rep | *(Specific SQL would be defined in the system)* | Automatic |
| **Total Revenue** | Total revenue from closed-won opportunities | `SUM(total_amount)` *(example)* | Automatic |
| **Win\_Rate** | Ratio of the sum of amounts for closed won opportunities to the sum of quantities for closed won and closed loss opportunities. | *(Specific SQL would be defined in the system)* | Automatic |
By effectively defining and utilizing metrics within your chosen Domains, you can gain deeper insights into your operations and make data-driven decisions that propel your business forward.
## Next steps
> [card] [Manage Domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Manage and customize your data domains to refine context and improve query results.
> [card] [Auditing](/using-wisdom-ai-everyday/auditing)
>
> Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
> [card] [Quickstart: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Use Evaluations Sets and Runs
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/use-evaluations-sets-and-runs
This article describes the concepts of Evaluation Sets and Evaluation Runs, which are tools used to test and validate your AI's domain performance.
## Evaluation Sets
In the Evaluation Sets tab, you can create specific sets of prompts that simulate user interactions and provide expected SQL outputs alongside these prompts. This allows for a direct comparison to see how accurately the AI converts natural language into database queries.
To create an Evaluation Set:
1. Open a Domain and click on the **Evaluation** tab.
2. Navigate to the **Evaluation Sets** Sub-tab.
3. Click **Add Evaluation**.

4. Fill out the **Create Evaluation Set** Form, providing a set **Name** and presenting a natural language query. Optionally, you can import CSV and also ground truth SQL.
5. Click on **Create Evaluation Set**. The new Evaluation set will appear listed.

## Evaluation Runs
Evaluation Runs are where the AI processes your defined Evaluation Sets. After running these evaluations, you can review the results to identify areas for improvement.
To run an Evaluation, go to the **Evaluations Set** tab, select an evaluation, and click on the **run icon**. You will see the results in the Evaluation Runs tab.

### Evaluation Run indicators
Evaluation Run Indicators provide a concise overview of the Run's progress and outcome. These indicators offer immediate feedback on the Evaluation's status and score, detailing how well the AI's generated responses matched the expected results. They are:
* **Status:** Signals its progress or completion.
* Running: The evaluation run is currently in progress.
* Completed: The evaluation run has finished successfully.
* **Score:** Reflects the result of the completed Evaluation. It tells you how many conversations passed based on the predefined **evaluation criteria** (i.e., Prompt + Expected SQL result added in the Evaluation set modal).
> [!TIP]
>
> The Score evaluation criteria refer to how much the generated answer matches the expected SQL result defined previously.

### Evaluation Run report
When you click the **View Report** option, you will see comprehensive details about how the evaluation run performed. Here's a breakdown of the information you'll find:
* **View Domain:** A link that allows you to navigate to the specific domain that was evaluated.
* **Soft Match:** This **Score** indicates the overall performance of the Evaluation. It shows how many of the evaluation criteria were successfully met out of the total. It is named as Soft Match since results may be considered a match even if they are not the same as the expected (provided) SQL.
* **Individual Session Details**: The report organizes the evaluation results by individual sessions or queries (e.g., Session 1, Session 2).

For each session, the report is broken down into several components, allowing you to analyze the AI's performance thoroughly.
* **Session Title:** This states the query or task that was evaluated for that particular session (e.g., "Calculate total revenue for closed won opportunities using ACV.").
* **Evaluation Details:** This expandable section provides specific insights into the session's outcome. The core components are detailed in the table below.
| Component | Description |
| :- | :- |
| **Prompt** | The specific input prompt that was used for the session. |
| **Manual Score** | An option for you to manually score the Evaluation (✅ or ❌), which overrides the automated score. |
| **Automated Score** | The system automatically assigns the score. This corresponds to the **Soft Match**. |
| **Ground Truth** | The expected or correct outcome, typically the ideal SQL query (`SELECT SUM(amount) FROM Opportunity`). |
| **Generated Result** | The output produced by the system, including the generated SQL query and the final result (e.g., `"$137.55M"`). |

> [!WARNING]
>
> Providing an incorrect SQL code will lead to a syntax or semantic error. The system will display a red message detailing the nature of the error, often including the location within the query where the problem occurred, to aid in correction.
>
> 
* **Conversation:** You can expand this section to review the entire conversational exchange related to that specific session. This includes:
* **AI Workstream:** Offers a look into the AI's process, showing the tool it selected, the examples it referenced, and the step-by-step plan it followed to generate the response.
* **Reviewed Status**: Confirms whether the response has been reviewed and summarizes the outcome (e.g., "The user received a complete response... so no further action or information is needed.").

Navigating the report helps you understand the system's processing, verify generated results, and review the underlying conversational logic.
## Next steps
> [card] [Manage Domains](/setting-up-wisdom-ai/manage-domains/understand-domains)
>
> Manage and customize your data domains to refine context and improve query results.
> [card] [Auditing](/using-wisdom-ai-everyday/auditing)
>
> Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
> [card] [Quickstart: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
>
> Walk through the initial setup to connect a data source and run your first query.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and context in your data to enable more powerful analysis.
# Validate and Test Answers
Source: https://docs.wisdom.ai/improve-wisdom-ai-responses/validate-and-test-answers
This guide is for Administrators responsible for ensuring the accuracy of WisdomAI responses. This workflow typically begins after an end-user [provides negative feedback on an answer](/setting-up-wisdom-ai/feedback-mechanisms/provide-feedback-to-the-system).
Here, you will learn how to edit, test, and validate responses to build confidence and improve the system's knowledge base.
## Prerequisites
* You must have **Administrator** permissions. For details, see [Access Management](/manage-account/access-management).
## 1. Edit the SQL query
When an answer is incorrect, you can directly edit the underlying SQL query.
1. Click the **Edit** button on the answer card in the chat interface.

2. The **Editor** window will open. Go to the **SQL Code** tab.
3. Modify the SQL statement to fix inaccuracies, add joins, or correct filters.
4. Click **Update response** to run the revised query and refresh the data.
5. (Optional) Switch back to the **Editor** tab to configure chart types, add filters, or drag-and-drop columns for visualization.

## 2. Test the updated answer
After editing the query, you must test the new response.
* **Retry with Adjustments:** Use the **Retry** option in the chat window to have the system regenerate the response using your new SQL.
* **Cross-Reference:** Validate the new result by cross-referencing it with a known value or an external report.
* **Test for Accuracy:** Try rephrasing the original question in a few different ways (e.g., "revenue by region" vs. "how much did each territory earn?"). If the system doesn't return the correct answer, you may need to [Add Context](#3-add-context-knowledge) to help it with precise queries.
## 3. Add Context (knowledge)
If the system consistently misunderstands terms, you can add explicit context. This helps the system formulate more precise queries.
1. Navigate to **Domains** > (Select your Domain)
2. Navigate to the **Context** tab.
3. Select the **Knowledge** tab inside the Context section.
4. Click the **+ Add Knowledge** button to begin a new entry and add natural language context. Add natural language sentences to define business terms.
* *Example 1:* `Regions are the same as Territories.`
* *Example 2:* `My sales stages are: Prospect, Negotiation, Closed.`
5. Click **SAVE**.

> [!NOTE]
>
> To learn more about adding context to a domain, refer to the [**Add Domain-Specific Knowledge**](/setting-up-wisdom-ai/add-domain-specific-knowledge) guide.
## 4. Mark the answer as reviewed
Once you have confirmed the SQL is correct and the answer is accurate, save it to the system's knowledge base.
1. From the **SQL Code** tab in the **Editor** window, click **Mark as reviewed**.
2. In the **Review Question** window, add a clear title for the question (e.g., "Official Quarterly Revenue by Region").
3. Click **Confirm**.

This action saves the question and its validated SQL as a [Validated Query](/setting-up-wisdom-ai/feedback-mechanisms/reviewed-queries), which serves as a trusted reference for similar future questions.
To ensure that the information provided in the answer is accurate, relevant, and reliable, you can:
* Test and validate both natural language responses and SQL query results directly within the chat interface.
* Review the generated output by providing feedback.
* Edit or vet the SQL query when necessary.
These features help you iterate efficiently and build confidence in the outputs you receive.

## Next steps
> [card] [Auditing](/using-wisdom-ai-everyday/auditing)
>
> Organize insights by tagging chats, navigating history, and sharing vetted answers with your team.
> [card] [Advanced Data Modeling](/setting-up-wisdom-ai/advanced-data-modeling-creating-context)
>
> Define relationships and Knowledge in your data to enable more powerful analysis.
# WisdomAI Docs
Source: https://docs.wisdom.ai/index
Meet Owls, AI analysts that work on a goal for you
Owls are in early access. Learn what they do and how to become a design partner.
Explore Owls
[Open](/early-access/owls)

### [Recently Launched](/product-updates/august-2026/august-features)
New
Discover Live Apps, Domain Groups, and more

### [Getting started](/getting-started/overview)
Everything you need to start using WisdomAI

### [Setting Up WisdomAI](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
Connect data sources and start creating knowledge

### [Improve WisdomAI Responses](/improve-wisdom-ai-responses/enhancing-data-analysis-with-custom-business-context)
Explore the available tools to enhance your responses

### [Using WisdomAI Everyday](/using-wisdom-ai-everyday/ask-better-questions)
Craft effective queries to get the best possible information

### [Developers](/integrations/developers)
Embed, query, and extend WisdomAI from your own stack.
# Slack
Source: https://docs.wisdom.ai/integrations/connect-to-slack
Integrate WisdomAI with your Slack workspace to query your business data directly from your channels and direct messages. This allows you to get insights without switching contexts.
## Before you begin
Make sure you have the following:
* An active WisdomAI account.
* Administrative permissions to install apps in your Slack workspace.
## Connect to your Slack workspace
Follow these steps to connect your WisdomAI account to Slack:
1. In the left-hand navigation of WisdomAI, click the **Settings** icon, then select **Slack Integration**. You can also navigate directly to `https://.askwisdom.ai/settings/slack`, replacing `` with your account name.

2. The **Slack Integration** page introduces what the WisdomAI Slack app can do. Click **Connect to Slack** to start the install.

3. Authorize the application on the Slack page you are redirected to. After reviewing the permissions WisdomAI is requesting, click **Allow** to grant access and install the app in your workspace.

4. After authorization, you are returned to the **Slack Integration** page. The page now shows that the WisdomAI app is connected to your Slack workspace, with a green **Connected** indicator.

5. Look for the **@WisdomAI** app in your Slack workspace and start using it. When you open a direct message with the app, you'll see a welcome message and some suggested questions. You can now ask questions in natural language to get insights from your data directly within Slack.

## Disconnect the Slack app
To disconnect the WisdomAI app from your Slack workspace:
1. Open **Settings** > **Slack Integration**.
2. Click the **Connected** chip in the upper right of the connection card.
3. Select **Disconnect Slack workspace** from the menu.
4. In the confirmation dialog, click **Disconnect**.

> [!NOTE]
>
> Disconnecting does not uninstall the app from your Slack workspace. The app stops responding to questions and scheduled Slack notifications stop working until you reconnect.
## Permissions
When you connect WisdomAI to Slack, you will be asked to grant a set of permissions. These allow the WisdomAI app to receive your questions and post answers back into your workspace.
Here is a detailed breakdown of what each permission allows WisdomAI to do:
| Permission | Description |
| :- | :- |
| `app_mentions:read` | Allows the app to see messages that directly mention `@WisdomAI` in conversations where the app is in. |
| `assistant:write` | Allows WisdomAI to act as an AI Assistant, enabling it to provide intelligent responses and analysis within Slack. |
| `channels:history` | View messages and content in public channels that WisdomAI has been added to. |
| `chat:write` | Allows WisdomAI to send messages and answers to your questions in channels and conversations. |
| `chat:write.public` | Allows WisdomAI to send messages to public channels that it isn't a member of. |
| `files:write` | Allows WisdomAI to upload, edit, and delete files. |
| `im:history` | View messages and content in direct messages with the WisdomAI app. |
| `reactions:write` | Allows WisdomAI to add emoji reactions to messages, for example, to acknowledge a command. |
| `users:read` | Allows WisdomAI to view basic information about users in your workspace, such as their names and user IDs. |
| `users:read.email` | View email addresses of people in the workspace. |
## Query your data in Slack
After connecting the app, you can interact with WisdomAI directly from your Slack workspace.
1. **Ask a Question**: You can start a direct message with the WisdomAI app or mention it in a channel to ask a question in natural language. The app will confirm that it is processing your request.
2. **Receive an Answer**: WisdomAI delivers an interactive response directly in Slack. A typical answer includes:
* A chart visualizing the data, such as a bar chart of AWS usage by service.
* A set of suggested follow-up questions to guide your analysis.
* Buttons to **Show data**, **Show SQL**, change the chart type, or **Export CSV**.

3. **Interact with Results**: You can modify the visualization and explore the data without leaving Slack. For example, you can change the chart to an Area chart or expand the data table to see the specific values for each service. See the example below:  You can also select **View in WisdomAI** to continue your analysis in the main web application.
## Next steps
> [card] [Embed Chat](/integrations/embeddings/iframe/embed-chat)
>
> Discover how to embed conversational AI chat interfaces
> [card] [Embed a Dashboard](/integrations/embeddings/iframe/embed-a-dashboard)
>
> Learn how to embed interactive dashboards and visualizations
> [card] [Impersonate User API](/integrations/graphql-api/queries/auth/impersonate-user)
>
> Detailed documentation for the authentication API
# Developers
Source: https://docs.wisdom.ai/integrations/developers
WisdomAI gives your team several ways to build on top of the platform. Whether you're embedding analytics into a product, managing users programmatically, or connecting WisdomAI to your AI toolchain, this section covers everything you need.
> [card] [Embedding](/integrations/embeddings/embedding)
>
> Embed WisdomAI dashboards and chat into your product using the iframe or SDK paths. Manage users, attributes, and sessions programmatically.
> [card] [GraphQL API](/integrations/graphql-api/GraphQL-API)
>
> Reference for all mutations, queries, objects, and subscriptions.
## Choose your path
If you're not sure where to start, pick the question that fits your goal.
> [accordion] I want to embed a WisdomAI dashboard or chat inside my web app.
>
> Use the [Embedding](/integrations/embeddings/embedding) path. Start with the [iframe overview](/integrations/embeddings/embedding-modes) for a quick integration, or the [SDK](/integrations/embeddings/sdk/sdk-overview) for a native React component approach.
> [accordion] I want to create and manage users from my backend.
>
> Use the [GraphQL API](/integrations/graphql-api/GraphQL-API). The [User Management](/integrations/user-management/user-lifecycle) section covers `createUsers`, `setUserAttributes`, `impersonateUser`, and related GraphQL operations with cURL examples.
> [accordion] I want to control what data each user can access.
>
> Read [User Attributes](/integrations/user-management/user-attributes) first. Attributes are the mechanism behind parameterized connections and row-level authorization.
## Before you start
Here are a few things that apply across all integration paths.
* All paths require a bearer token. Each section covers how to obtain one.
* Your base URL for all API calls is `https://.wisdom.ai/graphql`. Use the same domain you use to log in to WisdomAI.
> [!NOTE]
>
> Both `wisdom.ai` and `askwisdom.ai` are valid tenant domains depending on your deployment. If you see a `getaddrinfo ENOTFOUND` error, confirm your tenant URL with your WisdomAI account team.
## Start building
> [card] [Embedding overview](/integrations/embeddings/embedding)
>
> Start here if you're integrating WisdomAI into a product.
> [card] [SDK Quickstart](/integrations/embeddings/sdk/sdk-quickstart)
>
> Install, wire up auth, and render your first dashboard.
> [card] [User Management](/integrations/user-management/user-lifecycle)
>
> Create users, set attributes, and manage workspace access via API.
# Overview
Source: https://docs.wisdom.ai/integrations/embeddings/embedding
Embed a streamlined, white-label version of WisdomAI's chat and dashboards directly into your application.
Embedded pages intentionally omit WisdomAI branding and navigation. All core capabilities (natural-language Q\&A, table generation, and chart rendering) remain intact.
The section below describes the steps to configure and test your embedded chat and dashboards.
> [!NOTE]
>
> All API and embed URL examples use `{ACCOUNT}.wisdom.ai` as a placeholder. Replace it with the base URL of your WisdomAI tenant — the same domain you use to log in. Both `wisdom.ai` and `askwisdom.ai` are valid depending on your deployment.
## Before start
This overview walks through iframe embedding, the fastest path to a working embed. Depending on your use case, you may also want to reference:
> [card] [GraphQL API](/integrations/graphql-api/GraphQL-API)
>
> Build a fully custom, API-based integration. Covers authentication, mutations, queries, and error handling for developers who need more control than an iframe provides.
> [card] [User Management](/integrations/user-management/user-lifecycle)
>
> Create and manage end users on the WisdomAI platform, including role assignment, user attributes, and impersonation. Applies to every integration path.
User management is shared across all integration paths: whether you embed via iframe, call the GraphQL API directly, or use the SDK, end users must first be provisioned in WisdomAI before they can be impersonated into a session.
## Embedding flow
Every embedded session follows this five-step flow:
### 1. Get your access token
Contact `support@wisdom.ai` to receive your Access Key. This is a permanent credential, not a JWT or session token. It authenticates your server to the WisdomAI API and grants impersonation permissions. It does not expire and must be kept secret.
### 2. Get your access token
Every WisdomAI user can create and manage their own API keys. To obtain your dedicated access key, follow the steps in [this article](/settings/api-keys).
This is a permanent credential, not a JWT or session token. It authenticates your server to the WisdomAI API and grants impersonation permissions.
> [!WARNING]
>
> Never expose your access key in client-side code. It provides long-term impersonation capabilities and must be kept secret. Store it only in secure server-side environment variables or a secret management system. If compromised, an attacker could impersonate any user in your organization.
### 3. Create the end user
Call `createUsers` to provision the user in WisdomAI:
> [!NOTE]
>
> **Authentication:** This management mutation requires a valid Bearer JWT with `iam:write` permissions. Typically, your backend obtains this by exchanging your Access Key via your auth system.
Example Request:
```bash theme={null}
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $JWT" \
-d '{
"query": "mutation CreateUsers($input: CreateUsersInput!) { createUsers(input: $input) { status { code message } } }",
"variables": {
"input": {
"emails": ["alice@yourcompany.com"],
"workspaceID": "{{WORKSPACE_ID}}",
"roleAssignments": [{ "roleId": "00000000-0000-0000-0000-000000000003", "scopes": ["{{DOMAIN_ID}}"] }],
"sendWelcomeEmail": false
}
}
}' \
https://{ACCOUNT}.wisdom.ai/graphql
```
> [!NOTE]
>
> **Key considerations:**
>
> * **Email uniqueness:** User matching is email-based. If your users share emails across tenants, append a unique identifier (e.g., `alice+123@company.com`) to the email prefix to prevent session collisions.
> * **Role overwrites:** If a user already exists, `createUsers` succeeds but re-applies the provided roles, overwriting manual changes. Use `listUsers` to check status first if you wish to avoid resets.
### 4. Set user attributes (optional)
User attributes are key-value pairs used for row-level authorization and personalized data access.
* **Sources:** Attributes can be stored in the Wisdom **DATABASE** (via API) or derived from **JWT** SSO claims (read-only).
* **Creation/Update:** Set them at creation time via `userAttributes` in `CreateUsersInput`, or update them later via `setUserAttributes`.
> [!WARNING]
>
> The `setUserAttributes` mutation replaces **all** DATABASE-sourced attributes for that user. You must provide the complete set of attributes you wish to persist, not just the changes.
See [User Attributes](/integrations/user-management/user-attributes) for details on how attributes work and how to set them.
### 5. Impersonate the user to get a JWT
Call `impersonateUser` from your server to generate a 1-hour JWT for the user. This query is a public API member that uses your permanent Descope Access Key as an argument (`accessToken`) rather than a standard Authorization header. This step must always be performed server-side.
> [!WARNING]
>
> Never expose your permanent access token in client-side code. It provides long-term impersonation capabilities and must be protected on your backend. If compromised, an attacker could impersonate any user in your organization. Store it only in secure server-side environment variables or a secret management system.
Example Request:
```bash theme={null}
curl -s -X POST \
-H "Content-Type: application/json" \
-d '{
"query": "query ImpersonateUser($accessToken: String!, $userEmail: String!) { impersonateUser(accessToken: $accessToken, userEmail: $userEmail) }",
"variables": {
"accessToken": "",
"userEmail": "alice@yourcompany.com"
}
}' \
https://{ACCOUNT}.wisdom.ai/graphql
```
The API responds with a JWT that authenticates as the impersonated user. This token expires in **1 hour**. WisdomAI will notify your page via a `postMessage` event when the token is about to expire. See [Session Management](/integrations/embeddings/session-management) for the full refresh flow.
See [Impersonate User](/integrations/graphql-api/queries/auth/impersonate-user) for the full API reference, including information on passing transient attributes.
### 6. Impersonate the user to get a JWT
Call `impersonateUser` from your server to generate a 1-hour JWT for the user. This query is a public API member that uses your permanent Descope Access Key as an argument (`accessToken`) rather than a standard Authorization header. This step must always be performed server-side.
Example Request:
```bash theme={null}
curl -s -X POST \
-H "Content-Type: application/json" \
-d '{
"query": "query ImpersonateUser($accessToken: String!, $userEmail: String!) { impersonateUser(accessToken: $accessToken, userEmail: $userEmail) }",
"variables": {
"accessToken": "",
"userEmail": "alice@yourcompany.com"
}
}' \
https://{ACCOUNT}.wisdom.ai/graphql
```
The API responds with a JWT that authenticates as the impersonated user. This token expires in **1 hour**. WisdomAI will notify your page via a `postMessage` event when the token is about to expire. See [Session Management](/integrations/embeddings/session-management) for the full refresh flow.
See [Impersonate User](/integrations/graphql-api/queries/auth/impersonate-user) for the full API reference, including information on passing transient attributes.
### 7. Use the JWT in the embed URL
Append the JWT as a `token` query parameter to the embed URL and set it as the `src` of your embed.
> [!NOTE]
>
> If your embed uses voice input or camera features, add `allow="microphone; camera"` to the `