Quickstart
This guide takes you from nothing to a monitored table that alerts Slack when it breaks. It uses PostgreSQL; the BigQuery guide covers the differences.
You need: a PostgreSQL database reachable from the internet, and permission to add an incoming webhook to a Slack channel. Plan on about ten minutes.
1. Sign in and create your organization
Section titled “1. Sign in and create your organization”-
Open console.dataloris.com and choose Continue with Google or Continue with email. With email, open the link we send you in the same browser (or type the 6-digit code it shows on another device). There are no passwords.
-
Confirm your display name.
-
On the welcome step, fill in Organization name (your company) and First workspace (for example
Production), then click Create organization. You start on the Free plan as the organization’s owner.
2. Connect your database
Section titled “2. Connect your database”Create a read-only user for DataLoris first. In psql, as an administrator:
CREATE ROLE dataloris_ro LOGIN PASSWORD 'choose-a-strong-password';GRANT CONNECT ON DATABASE shop TO dataloris_ro;GRANT USAGE ON SCHEMA public TO dataloris_ro;GRANT SELECT ON ALL TABLES IN SCHEMA public TO dataloris_ro;Replace shop and public with your database and schema. More options: PostgreSQL connection.
- In the console sidebar, open Connections and click Add connection.
- Choose PostgreSQL and fill in the host, port (5432), database, user (
dataloris_ro) and password. Keep SSL mode onrequireunless your server needs something else. - Save. DataLoris tests the connection right away. Wait for the status to turn ACTIVE. If it shows ERROR, read the message, fix the field and click Test again.
3. Add a Slack channel
Section titled “3. Add a Slack channel”- In Slack, create an incoming webhook for the channel that should receive alerts and copy its URL
(
https://hooks.slack.com/services/…). Step-by-step: Slack. - In the console, open Alert channels, click New channel, choose Slack, give it a name and paste the URL into Webhook URL.
- Click Send test and check that the message arrives in Slack.
4. Create a suite
Section titled “4. Create a suite”A suite is a group of tables checked on the same schedule.
- Open Suites and click New suite.
- Give it a name, for example
Orders pipeline. - Set Schedule (cron). On the Free plan the minimum interval is one day, so use a daily schedule such
as
0 6 * * *(every day at 06:00). Pick your Time zone. - Leave Alert mode on Per asset: one alert when a table starts failing, and one when it recovers.
- Click Create suite.
- On the suite’s Channels tab, click Attach channels, select your Slack channel and save.
5. Add a table and its rules
Section titled “5. Add a table and its rules”- On the suite page, click Add asset.
- Choose PostgreSQL table, pick your connection, and enter the schema and table name (for example
public.orders). Click Add asset. - On the “Asset added” screen, click Profile now. DataLoris reads aggregate statistics of the table (row count, null rates, key candidates, the newest timestamp) in the background, which takes a few seconds to a minute.
- When the profile is ready, review the Recommended rules. Untick anything you don’t want, edit thresholds if needed, and click Import.
Prefer to write rules yourself? Choose Add rules myself and use Add rule on the asset’s Rules tab. See rules.
6. Run it
Section titled “6. Run it”Open the suite and click Run now. The run page updates live with each table and rule: the measured value, the threshold and the outcome.
- If every rule passes, the table shows Healthy.
- If a rule fails, DataLoris opens an incident and posts to Slack. Open Incidents to acknowledge or resolve it. The next healthy run resolves it automatically and posts a recovery message.
From now on the suite runs on its schedule.
Next steps
Section titled “Next steps”- Add more tables to the suite, or create suites per pipeline or team. - Learn every rule type and when to use custom SQL.
- Switch a suite to Suite summary mode and customise the message template. - Route only critical incidents to a noisy channel with a minimum severity.
- Create an API key and push lineage from your pipelines.
- Invite colleagues and give them roles.