AI-powered embedded analytics: How AI works inside customer-facing products

AI-powered embedded analytics lets each of your customers ask questions, get summaries, and take action on their own data, inside your product. It's a great way to help your end users get answers without filing a request and help clear up your team’s to-do list to focus on more strategic initiatives.
However, key guardrails and security conditions must be met before unleashing AI assistants in customer-facing products. First, row- and column-level security needs to restrict data based on persona. Second, there needs to be a way to impersonate users to confirm security configurations. Third, AI must be given scoped access, with different roles based on the user's needs and settings. And last, there needs to be auditing and usage tracking for AI activities and spend.
Key takeaways
- AI is only safe with proper permissioning to the data layer under it. Row- and column-level security, impersonation, scoped access, and auditing carry each customer's limits into every AI request.
- Bolt-on AI breaks in three places: it sees only the screen, trusts a prompt to filter tenants, and can't take action.
- Questions, summaries, agents, and self-service should all run on one governed data layer, each with its own controls.
- Integrate Sigma's capabilities into your own conversational experience + agent, or embed Sigma's UI directly
What is AI-powered embedded analytics?
AI-powered embedded analytics adds AI to the embedded analytics a software company builds into its own product, so each end customer can use it on their own data. It ranges from natural-language questions to agents that take action, all without leaving the product. For example, a logistics platform's customer might ask why on-time delivery slipped last week and get a plain-language answer drawn from their own shipments.
The category covers assistants and agents alike. An assistant responds to a person's question and waits for the next one. An agent carries forward a goal a builder configured, such as drafting a weekly summary or logging a follow-up task, and runs steps on the user's behalf.
AI-powered embedded analytics vs AI chat added to a dashboard
A chat widget added to a dashboard typically sends a general-purpose model only what the page shows. AI-powered embedded analytics connects the model to the governed data underneath the product, so the AI inherits each customer's scoping, can query beyond the visible view, and can hand results to actions.
AI-powered embedded analytics vs internal AI-powered BI
Internal AI-powered business intelligence (BI) serves employees analyzing company data, usually inside one security domain. Embedded AI serves paying customers inside your product, where many tenants can share the same tables.
Where bolt-on AI hits limits in embedded analytics
Many teams start by wiring a general-purpose large language model (LLM) to an embedded dashboard. Many limits show up once real customers start asking questions.
Bolt-on AI can only answer from what's on screen
A model that sees only rendered data can describe a chart, but it can't answer a follow-up that needs a column, date range, or join the page doesn't show. Sending more data doesn't fix that, because large result sets strain context windows and models get less reliable on longer inputs while their answers still look plausible.
Filtering tenants in the prompt puts isolation in the model's hands
A common pattern runs text-to-SQL over a shared multitenant dataset and tells the model, in its system prompt, to filter on the current customer's ID. Strong security guardrails need controls that are deterministic and auditable, and a prompt instruction is neither. This leaves an opening for a crafted question, or instructions planted in a record the model reads, to override the filter.
No path from answer to action
An answer-only bolt-on assistant can tell a customer that refunds spiked in one region. Without action tools, it can't open a ticket, log a follow-up, or update a forecast. The customer copies the answer somewhere else, which repeats the read-only ceiling customers have already outgrown with dashboards.
Answers a customer can't verify
An answer with no visible logic is hard to trust. A customer, or your support team, can't tell whether the AI used the right filters, the right data source, or the right definition of a metric, so one wrong number becomes a support ticket and lost trust. AI that shows its steps and lets people open the underlying data turns a response into something they can confirm.
Why not build it yourself?
Going fully custom means your team owns the model integration, the SQL generation, the tenant controls, the action layer, and the audit trail, and keeps all of it working as models and warehouses change. That work competes with your product roadmap. A platform that already enforces row-level security, impersonation, and auditing lets you spend that effort on the experience your customers see.
4 forms of AI in customer-facing analytics
AI inside a customer-facing product can take a few forms, increasing in scope. Run all four on the same governed data layer, so isolation work done once covers each of them.
1. Natural language questions on each customer's data
A customer types a question, and the system turns it into a query against that customer's scoped data and returns a number, table, or chart. Grounding the model in governed data models, metrics, and semantic layers keeps answers consistent with definitions your data team already validated.
2. AI-generated summaries and narratives
Summaries turn a customer's data into prose: what changed this month, which accounts drove it, where the outliers sit. They give account teams a first draft of client reporting they'd otherwise write by hand.
3. Agents that take scoped actions
An internal builder sets the agent's instructions, the data it can read, and the actions it may run. Those actions might write a decision to a table, send a notification, or call an external API. Agents can work conversationally, propose actions for a user to approve before anything is written, or run autonomously on a schedule.
4. AI-powered self-service
Customers build their own analyses instead of waiting on your team. They can describe the view they want, such as late shipments by carrier for the last 90 days, and let the AI build it, or build and edit it themselves by adding columns, filters, and charts. Either way, they are empowered to save, refine, and share the result.
Newport ONE gives each of its nonprofit and political advocacy clients live reports built on one Sigma template, so every client sees only its own data and filters it on its own. Newport ONE reports that this cut ad hoc reporting time by 88% and lets it stand up a new client in about five minutes. AI-powered self-service extends that offering from the questions the team anticipated to the ones they didn't.
Multitenant governance for embedded AI
A central AI risk for multitenant products is one customer's question surfacing another customer's data. In June 2025, Asana took its Model Context Protocol (MCP) server offline after a flaw could expose other organizations' data. Incomplete access-control enforcement let requests cross the tenant boundary.
Four controls are essential to carry the embed's per-customer scoping over to the AI and keep a record of what it does.
1. Use row- and column-level security keyed to each customer
Row-level security restricts which rows each user can read. Warehouses enforce it as a policy attached to a table, and analytics platforms can enforce it through governed filters. Warehouses such as Databricks, Snowflake, BigQuery, and Amazon Redshift support the warehouse form, typically keyed to a user identity, group, or session value such as a customer ID. Column-level security applies the same idea to fields, hiding sensitive columns from roles that shouldn't see them.
When a customer signs in, the embed passes that identity, and the queries the AI generates run through the same filter as the charts. If the query runs as an identity the policy covers, SQL a model writes can't opt out of it.
2. Avoid service accounts for API-driven AI
When your backend calls the AI server-to-server, the call shouldn't run as a broad service account. With a shared account that can read every tenant, a customer who steers the prompt can borrow the account's full reach. Limit the user and agent permissions to a specific individual, and keep logs showing which customer triggered which action.
3. Scope data sources for each assistant or agent
Give each assistant or agent only the tables and columns it needs. For example, a narrative agent for client reports needs portfolio performance, and it has no reason to read billing records. Narrow scope limits what a misbehaving prompt can reach, and it helps accuracy because the model chooses among fewer, clearly described sources.
Scope write targets separately too. Snowflake row access policies and Redshift row-level security don't stop inserts, so an allowed table isn't a full write boundary. It is important to limit each agent to the tables it may write to, and check that each write carries the right tenant ID.
4. Maintain auditing and usage tracking
When an agent can change data, you need to be able to show what it did. Keep a record of each write: what changed, who triggered it, and when, down to the row. Then when a customer asks why their forecast changed overnight, you can show them.
Every AI query also costs compute, and one customer's heavy use shouldn't become your bill. Track usage per customer so you can see who uses the most, and set limits before a run starts, such as caps on tool-calling steps and output tokens or a monthly budget per user.
What to look for in an AI-powered embedded analytics platform
Many embedded analytics platforms demo well, but fall short in implementation. To reduce your risk, look for these areas in a platform before AI reaches your customers.
One live source for data and permissions
Every dashboard, app, and AI feature should run on the same live data and the same row- and column-level security. That gives you one thing to govern and one place to fix, so every end user gets right, current data. A separate copy, such as an extract or cache, can have its own refresh schedule and its own access rules, and when either falls out of sync, a user sees stale numbers or data they shouldn't.
Audited actions and write-back
Agent writes should leave an audit trail of what changed, who triggered it, and when. Check that the trail captures each row an agent changed along with the action that changed it. Without that trail, your team can't answer a customer who asks why their forecast changed overnight.
Usage and cost controls
Each AI query consumes compute, which is why AI products often run 50% to 60% gross margins compared with 80% to 90% for traditional SaaS. Look for limits set before a run starts, such as caps on tool-calling steps and output tokens. Usage logs should show consumption per customer, so you can map it to your pricing tiers.
Answers you can verify
A good platform shows its work. Each answer comes with the steps the AI took, the data source it used, and the filters it applied, plus a way to open the underlying data. Customers can then confirm an answer for themselves instead of taking it on faith.
How Sigma enables AI-powered embedded analytics
Sigma is the AI apps and analytics platform that lets users build agentic analyses and applications directly on live cloud data warehouse data. Embedded Sigma workbooks run their queries in the connected warehouse, and Sigma's AI features query that same governed data, so the AI works with the permissions your customer already has.
4 ways to surface Sigma’s AI in your embedded product
- Sigma Assistant. A built-in assistant you turn on in a secure embed so customers can ask natural language questions about anything in their data and explore the answers.
- Sigma Agents. Configure an agent with its own instructions, data sources, and actions for targeted conversations and workflows in workbooks.
- Agent API. Your backend calls one specific agent to use the predetermined instructions and data, but the conversation takes place in your own UI.
- Sigma MCP server. Connect an AI assistant or your own chat experience to Sigma as a whole, not just one agent. People signed in with a Sigma account can then search content, query data, build workbooks, and call agents from that interface, with their own permissions.
How Sigma governs AI in your product
Sigma applies your existing access rules to the AI, so each customer's questions only reach their own data. The embed passes each customer's identity in its JSON Web Token (JWT) claims, and row-level security keyed to the user attributes or teams in those claims filters the data an agent can use. Column-level security, set by team or user attribute, hides sensitive columns the same way. Apply both in an upstream data model so every element built on it stays protected.
To confirm those rules work, admins can impersonate a customer user and see what that user sees. Your backend can also impersonate a user through the API, so a call to an agent runs with that user's permissions and row-level security instead of a shared service account's. Every impersonation session is recorded in the audit logs.
Each agent also gets its own scope. It reaches only the data sources its builder gave it, and it can't use a tool or action the user running it isn't allowed to use. If a Sigma agent calls a warehouse agent as a tool, such as a Databricks Genie agent or Snowflake Cortex Agent, access follows the permissions you've set up in the warehouse.
Auditing covers both activity and spend. Input tables keep a row-level audit history, and each agent keeps an execution log, so your team can trace a change to the run that made it. The AI usage dashboard shows token usage by user and by agent, and admins can cap spending with monthly AI budgets per user, team, or account type.
Finally, you can check the answers. Sigma Assistant's Analysis breakdown shows the steps behind an answer, and Explore opens the underlying data, while the agent API returns tool calls with each answer so your team can inspect what the agent did.
Ship AI-powered embedded analytics with Sigma
Start your AI-powered embedded analytics rollout with questions your customers already send to support or customer success, since you already have your team’s past responses, making it an optimal test set. Roll out in this order:
- Embed an assistant scoped to the data those questions need, and no other tables.
- Sign in as two test tenants, ask each the same questions, and confirm each sees only its own answers.
- Widen access to more customers.
- Configure agents to act, for example, writing to a table.
Move on only after each step passes with both test tenants.
Sigma keeps analytics, AI, and write-back on your live warehouse data, governed by the security and permissions you configure. To see it inside your product, request a demo.


