Data
The Data section is where you build a unified data layer for your workspace. Instead of keeping product data in one place, customer data in another, and business data in a third, you model everything once in DashX and read it back through a single API.
From the Data section you can:
- Connect your own databases and APIs — bring existing tables into DashX without migrating them.
- Create custom models or extend system models — add the entities your product needs, and add fields to the ones apps already provide.
- Access your data using REST, GraphQL, the dashboard UI, or the CLI — every model you define is queryable through the same interfaces.
How it fits together
The data layer is built from three pieces:
| Concept | What it is |
|---|---|
| Resources | A collection of records — the equivalent of a table or a model. |
| Operations | An action that reads or writes data, exposed as a GraphQL query or mutation. |
| Custom Data Types | Reusable field shapes — enums, objects, and unions — that you compose out of the built-in types. |
A resource holds attributes (its fields), and each attribute has a data type. Resources connect to each other through relationships, and the operations attached to a resource are what your apps and SDKs actually call.
The Data page
In the dashboard, open Data from your workspace. It has four tabs:
Overview Starting points for creating something new — either from scratch or by syncing an existing data source.
Resources Every resource owned by the workspace. Selecting one opens a detail pane with its attributes, relationships, segments, and operations.
Operations Every operation owned by the workspace, across all resources.
Data Types The custom data types defined in the workspace.
The Data page lists resources and operations that belong to the workspace. Resources that belong to an installed app are managed from that app's own page instead.
Where to go next
- Resources — create a resource from scratch, or sync one from an existing database.
- Operations — define how data is read and written.
- Custom Data Types — build enums, objects, and unions.
- Data Types — reference for the built-in types you compose from.