{"title":"Build a data app","description":"Describe a data app in Altertable, let the agent inspect relevant catalogs, and verify its queries, calculations, filters, and visible results.","order":100,"askSuggestions":["How do I build a data app from Claude or ChatGPT?","How do I check that a data app's numbers are correct?","How do I change part of an existing data app?"],"navigation":true,"routeId":"dataAppsBuild","body":{"code":"var Component=(()=>{var g=Object.create;var c=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var x=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports),D=(a,e)=>{for(var n in e)c(a,n,{get:e[n],enumerable:!0})},h=(a,e,n,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of y(e))!v.call(a,r)&&r!==n&&c(a,r,{get:()=>e[r],enumerable:!(o=w(e,r))||o.enumerable});return a};var k=(a,e,n)=>(n=a!=null?g(b(a)):{},h(e||!a||!a.__esModule?c(n,\"default\",{value:a,enumerable:!0}):n,a)),P=a=>h(c({},\"__esModule\",{value:!0}),a);var u=x((M,l)=>{l.exports=_jsx_runtime});var C={};D(C,{default:()=>m,frontmatter:()=>A});var t=k(u()),A={title:\"Build a data app\",routeId:\"dataAppsBuild\",description:\"Describe a data app in Altertable, let the agent inspect relevant catalogs, and verify its queries, calculations, filters, and visible results.\",order:100,askSuggestions:[\"How do I build a data app from Claude or ChatGPT?\",\"How do I check that a data app's numbers are correct?\",\"How do I change part of an existing data app?\"]};function f(a){let e={a:\"a\",h1:\"h1\",h2:\"h2\",p:\"p\",strong:\"strong\",...a.components},{DocsEntity:n,DocsMcpAccess:o,DocsPreviewDocument:r,DocsPreviewSection:s,DocsPrompt:d,DocsPrompts:p}=e;return n||i(\"DocsEntity\",!0),o||i(\"DocsMcpAccess\",!0),r||i(\"DocsPreviewDocument\",!0),s||i(\"DocsPreviewSection\",!0),d||i(\"DocsPrompt\",!0),p||i(\"DocsPrompts\",!0),(0,t.jsxs)(r,{anchors:\"build-a-data-app 1-describe-the-app 2-review-the-data 3-refine-the-app\",children:[(0,t.jsxs)(s,{sectionId:\"build-a-data-app\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,t.jsx)(e.h1,{id:\"build-a-data-app\",children:\"Build a data app\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Build an app that answers a question with your Altertable data. Start in the Altertable app for your first build. You can also use the \",(0,t.jsx)(n,{entity:\"slackAgent\"}),\", or use a connected agent in \",(0,t.jsx)(n,{entity:\"claude\"}),\", \",(0,t.jsx)(n,{entity:\"chatgpt\"}),\", or another MCP client.\"]}),`\n`,(0,t.jsxs)(e.p,{children:[\"You need \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/ingest-or-connect\",children:\"connected or ingested data\"}),\" and \",(0,t.jsx)(e.a,{href:\"/docs/administration/access-control\",children:\"permission to manage data apps\"}),\". The resulting app is hosted in Altertable, where you can review and share it.\"]}),`\n`]}),(0,t.jsxs)(s,{sectionId:\"1-describe-the-app\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,t.jsx)(e.h2,{id:\"1-describe-the-app\",children:\"1. Describe the app\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Open \",(0,t.jsx)(e.strong,{children:\"Data apps\"}),\", start a new app, and describe the audience, question, and controls you need. Include the intended date range and metric definitions when you know them.\"]}),`\n`,(0,t.jsx)(p,{children:(0,t.jsx)(d,{children:\"Build a data app for our weekly signup review. Show signups over time, break them down by source, and add a date filter.\"})}),`\n`,(0,t.jsxs)(e.p,{children:[\"For a \",(0,t.jsx)(e.a,{href:\"/docs/agents/setup\",children:\"connected MCP client\"}),\", use \",(0,t.jsx)(o,{tier:\"mcp:analyst\"}),\" access. Send the same prompt and open the app URL returned by the agent.\"]}),`\n`]}),(0,t.jsxs)(s,{sectionId:\"2-review-the-data\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,t.jsx)(e.h2,{id:\"2-review-the-data\",children:\"2. Review the data\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Check the catalogs, tables, joins, filters, and calculations behind the app. Compare a displayed value with a direct \",(0,t.jsx)(e.a,{href:\"/docs/lakehouse/query/sql-explorer\",children:\"SQL query\"}),\". Check how the app handles an empty result and a different date range.\"]}),`\n`]}),(0,t.jsxs)(s,{sectionId:\"3-refine-the-app\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,t.jsx)(e.h2,{id:\"3-refine-the-app\",children:\"3. Refine the app\"}),`\n`,(0,t.jsx)(e.p,{children:\"Ask the agent for a specific change. Use annotations when you want to point to part of the app. For example, ask it to explain a metric, change a breakdown, or add a filter.\"}),`\n`,(0,t.jsxs)(e.p,{children:[\"Open the app's activity history to inspect saved versions. Select a version and use \",(0,t.jsx)(e.strong,{children:\"Restore version\"}),\" to return to it, then verify the restored app's queries and interactions.\"]}),`\n`,(0,t.jsxs)(e.p,{children:[\"When the results and interactions match your goal, \",(0,t.jsx)(e.a,{href:\"/docs/data-apps/share\",children:\"share the app\"}),\".\"]})]})]})}function m(a={}){let{wrapper:e}=a.components||{};return e?(0,t.jsx)(e,{...a,children:(0,t.jsx)(f,{...a})}):f(a)}function i(a,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+a+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return P(C);})();\n;return Component;"},"_id":"docs/data-apps/build.mdx","_raw":{"sourceFilePath":"docs/data-apps/build.mdx","sourceFileName":"build.mdx","sourceFileDir":"docs/data-apps","contentType":"mdx","flattenedPath":"docs/data-apps/build"},"type":"Docs","path":"/data-apps/build","level":2,"parent":"data-apps"}