Getting started
This guide assumes a development stack is running: the interface responds at http://localhost:3100.
The demo
Section titled “The demo”In development, the first start creates a demo instance: two sources, a Sales folder and a Customer service folder, a metric, a model, about ten questions and a dashboard. The sign-in screen lists the two accounts: clicking one of them fills in the form. The demo content is created in French; this guide gives its names in English.
| Account | Password | What it sees |
|---|---|---|
admin@eodia.local | eodia-insights | everything: it is an administrator |
analyste@eodia.local | eodia-insights | the customers in its region and the orders from its channel, e-mails masked |
The two demo sources:
| Source | Engine | Trino catalog | Contents |
|---|---|---|---|
| Shop | PostgreSQL | boutique | customers, orders, products… |
| Customer support | MongoDB | support | customer service tickets, web events |
See permissions at work
Section titled “See permissions at work”- Sign in as the administrator and open the Shop sales dashboard, in the Sales folder. Its Customer service tab shows a cross-database question: MongoDB tickets joined to PostgreSQL customers.
- Open Administration › People: the analyst carries the
attributes
region = Bretagneandcanal = Web, and belongs to the Regional team group. - In Administration › Permissions, this group reads the Shop source with
Restricted access: a row rule on
clients(region = {{user.region}}), another oncommandes(canal = {{user.canal}}), and theemailcolumn masked. - Sign out, then sign in as
analyste@eodia.local: the same dashboard now shows only Bretagne and the Web channel. Open the SQL editor and runSELECT * FROM boutique.public.clients: the result is filtered the same way, and the e-mails are masked. Trino enforces these rules, not the interface.
A first source
Section titled “A first source”You need the Manage data sources permission (administrators have it).
- Open Data sources, then Add a data source.
- Choose the engine, then fill in the connection: host, port, database, user, password… The Trino catalog name is derived from the source name.
- Test connection tries the engine’s native driver.
- Add and sync creates the catalog in Trino, saves the source and starts the schema synchronization, whose progress is displayed.
A new source is readable by the All users group, which can also write SQL against it. Tighten these permissions in Administration › Permissions if needed. The details are in Data sources.
A first question
Section titled “A first question”- From the home page, Explore a table, or New › Question in the top bar.
- In Data, choose a table (or a model).
- Filter: for example
statutislivrée. - Summarize: a measure (
Sumofmontant_total) and a grouping (passee_leby month). Columns from tables linked by a foreign key are offered too: the join happens on its own. - Choose a visualization in the right-hand panel, then Save: name, description and folder.
Prefer SQL? New › SQL query opens the SQL editor, where
Ctrl+Enter runs the query (or the selection). See
Questions.
A first dashboard
Section titled “A first dashboard”- New › Dashboard, then choose its name and folder.
- In edit mode, Add a question places a card; title, text (Markdown) and embedded page cards can be added too.
- Filter adds a filter (period, category, text, number or date granularity); on each card, choose the column it restricts.
- Save. The dashboard can then be shared from Share, with people, groups or through a link.
An open question can also be added to an existing dashboard with Add to a dashboard. See Dashboards.
eodia insights is free software by Eodia.