- Docs
- Get started
How Astrato works
Astrato does not copy your warehouse’s tables. It keeps rows you type inline into a semantic layer, and some of what it stores can hold values your queries returned: with Store Nash chats on, a stored Nash conversation keeps a preview of the rows its queries returned. See What Astrato stores. Astrato reaches your warehouse through a data connection, describes that data once in a semantic layer, and everything people use (workbooks, Data Apps, pinboards, Nash and AI assistants) asks the layer for numbers. The warehouse computes each answer. Access decides who can open what, and which rows they see.
Text description
- Your warehouse sits outside Astrato. It runs the SQL Astrato sends and returns the rows.
- The data connection holds the credentials and connection details, and carries the SQL to the warehouse and the rows back.
- The semantic layer has a draft, where edits save as you make them, and a published version. Publishing turns the draft into the published version.
- Everything people use reads the published version: workbooks, pinboards, Nash, AI assistants and Data Apps. A Data App stays pinned to the version that was published when the app itself was published.
- Access applies to all of it: a person’s role sets the most they can be given, grants on each item open it to them, and security rules filter the rows they see.
- The drawing is simplified. Nash, AI assistants and Data Explorer can query a draft in some cases, and a pin reads its business question from the draft. What publishing does to each consumer has the details.
The five parts
Section titled “The five parts”| Part | What it is | What to know |
|---|---|---|
| Data connection | The saved settings and credentials that let Astrato reach one warehouse, database or file. Astrato stores the credentials encrypted. | A semantic layer uses at most one connection, and cannot be published until it has one. See Data connections. |
| Semantic layer | The model of your data: the tables it reads, how they join, and the dimensions, measures, business questions and security rules built on them. | It has two versions. The draft is shared by everyone who can edit the layer and saves as you go. The published version is what people read. See Semantic layer. |
| What people use | Every workbook, pinboard and Data App, Nash, and AI assistants connected to your workspace. Each reads a semantic layer. | Built on the same layer, they get the same answer to the same question. Most move to a new publish straight away. See Choose how to build. |
| Data App publication | The deployment of a Data App: its address, its audience (signed-in people or the public), its access list, and the layer version it reads. | A Data App is pinned to the layer version it was published against. Publishing the layer again stops the app until you publish the app again. See Manage Data Apps. |
| Access | Who can open what. Every person has one workspace role: Owner, Admin, Creator, Designer or Viewer. Items carry their own grants. | The role is the ceiling and a grant is the key. Security rules on a layer’s tables then filter the rows each person sees. See Manage resource access and Restrict rows with a security rule. |
Saving is not publishing
Section titled “Saving is not publishing”Every edit to a semantic layer saves to its draft, and readers of the published version see no change. The exceptions read the draft: Nash and AI assistants when asked to query it, Data Explorer where the connection supports it, and a pin’s business question on a workspace pinboard. Only a publish changes what everyone else reads. That is also the moment every Data App on the layer stops, so plan to publish those apps again straight after. The full list of what a publish does to each reader is in What publishing does to each consumer, and the steps are in Publish your changes.
Who sees what
Section titled “Who sees what”Access works in three layers, from broad to narrow:
- Role. Your workspace role decides which areas and actions are open to you anywhere in the workspace. Only owners, administrators and creators can be granted more than view access to an item as a person or a role; a grant to a group has no such limit. Designers can still create and edit workbooks.
- Grants. A workbook, collection, semantic layer, data connection or Data App publication lists who can view it, edit it or manage its access. See Manage resource access.
- Rows. A security rule on a table compares a column with who is asking, so two people opening the same chart can see different rows. See Restrict rows with a security rule.
A public Data App is the exception: its viewers do not sign in and hold no role. They use an anonymous identity, never the author’s permissions, and they see data only once the semantic layer and its data connection are both Visible to everyone. See Public access and embedding.
What next
Section titled “What next”- Your first Data App: go from a data connection to a published Data App.
- Choose how to build: a workbook, a Data App, or Astrato inside your own app.
- Glossary: what each Astrato word means, and the word it is most often confused with.
- Platform architecture: where queries run and what Astrato stores, for a security review.