Skip to content
Beltr documentation home
beltr.ai

Get started

Connect your first source

Add a source to a workspace, test the connection, save it and see what it holds.

A sourceSource A system Beltr reads plant data from, such as a historian over ODBC, a PostgreSQL database or CSV files. Beltr only ever reads. is a system that holds your plant data. Beltr can read five kinds: PostgreSQL, ODBC, AspenTech inmation, CSV files and DuckDB file. For a database or a historian, ask for an account that can only read.

Open the Sources sheet from the dock, or press GG then SS. A new workspace opens it for you.

  1. Choose Add source. When the workspace already has a source, the button says Add another source.
  2. Under What do you want to connect?, choose the kind of source and then Continue.
  3. Fill in the connection details.
  4. Choose Test connection. Beltr checks Connectivity, Server and version, Time zone, Sample read and Read-only posture, and shows the result of each.
  5. When the test has passed, choose Continue. Check the connection under Save the source and choose Save. A password you typed is stored in the system keychain when you save.
  6. After saving, Beltr looks at what is in the source and shows its datasetsDataset A table or file in a source that Beltr found when it looked at what the source holds, such as a history table or a CSV export.. For a PostgreSQL, ODBC or DuckDB source, that look also brings in the tags Beltr is sure about, as candidates. See See what is in a source. An AspenTech inmation source has no tables: Beltr syncs its tags instead.

You should see

You should see the source under Connections, with the number of tags it has, once Beltr has finished looking at it.
The Sources sheet of the demo workspace. Marker 1 is on Add another source. Below it, under Connections, is the demo plant's source with the result of its connection test and the buttons Test again and Sync tags.
The Sources sheet of the demo workspace. Marker 1 is on Add another source. Below it, under Connections, is the demo plant's source with the result of its connection test and the buttons Test again and Sync tags.

Save is available only after a successful test. If you change the form after the test, test again before saving.

  • PostgreSQL: a PostgreSQL historian or database, read with a read-only account. See Connect a PostgreSQL source.
  • ODBC: a database you reach through a 64-bit ODBC driver or data source (DSN) on this computer, such as SQL Server. Install the driver first; Beltr lists the drivers and data sources it finds. See Connect an ODBC source.
  • AspenTech inmation: an inmation historian, read through its Web API with a profile or a Windows account. See Connect AspenTech inmation.
  • CSV files: a folder or file of CSV exports. See Connect CSV files.
  • DuckDB file: a DuckDB database file from another program, opened read-only. See Connect a DuckDB file.

If you already set up a connection in another workspace, choose Copy from another workspace instead of a kind to reuse it.

To load the history of tags so you can chart them, see Sync tags and load data.