Skip to content

Connect a database through your company network (Gateway) ​

LumeDB | Gateway is an agent installed on a machine inside your company network. It reads the databases there and sends the data to LumeDB. LumeDB never opens a connection into your network: it's always the agent that sends.

Use the Gateway when the database can't be exposed to the internet. One gateway serves several connections: PostgreSQL, SQL Server and Oracle.

Before you start ​

  • A Windows machine that stays on and can reach the databases.
  • Administrator permission on that machine, to install.
  • On each database, a read-only user.

1. Create the gateway ​

  1. On the Hub, type / in the top bar and choose /gateway.
  2. Click + New gateway.
  3. Give it a name that identifies the machine or the site, like ERP server · Headquarters, and save.

You'll see the installation code and the address the installer will ask for.

2. Install the agent ​

  1. Under Agent installer, click Download Windows installer.
  2. The installer comes in a .zip file. Extract it and run the .exe as administrator.
  3. Choose the language on the first screen: Portuguese, Spanish or English. The Windows language is preselected.
  4. Enter the address and the code shown on the gateway's screen.

Once the agent checks in, the gateway's screen shows the machine and the installed version.

The agent's language

The language chosen during installation applies to the installer and to the gateway panel on the machine, and automatic updates do not change it. To change it, run the installer again.

The messages the agent sends to LumeDB, such as the result of Test and Collect now, follow the company's language (Settings), not the machine's.

Language selection is available from agent 2.3.0.

I lost the code, or I'm reinstalling

In the gateway's More actions menu, use Installation code to generate another one. The previous code stops working.

3. Register the connection ​

  1. On the gateway, click + New connection and choose PostgreSQL Gateway, SQL Server Gateway or Oracle Gateway.
  2. Fill in:
FieldWhat to enter
Connection nameHow your team will recognize it, for example ERP · PostgreSQL.
ServerThe database address as seen from the gateway machine, like 10.0.0.5 or srv-erp.
DatabaseThe database name (optional). On Oracle, the Service.
User and passwordThe read-only user.
Schemas to readLeave empty to read all of them, or list them separated by commas.
Schemas to ignoreWhat shouldn't show up, such as temporary or audit schemas.
Schema prefix in LumeDBOptional. Use it when two databases have schemas with the same name, for example branch2.
  1. Save.

The password is encrypted in your browser with the gateway's key. Only the agent can open it; LumeDB never sees it. That's why the agent has to be installed before you register the password.

4. Test and activate ​

  1. Click Test. The test is run by the agent, from inside the network.
  2. Open Catalog and collection and click Update catalog so the agent sends the list of schemas and tables.
  3. Activate the connection.

5. Choose the tables ​

Tables enter the collection through Modeling: add a Source node with the connection, create a Table node and choose the table from the catalog.

Back in Catalog and collection, you can see the tables being collected, turn one off or take it off the list. Collect now asks the agent to send right away.

Keep the agent up to date ​

In the More actions menu, Automatic update turns updates on and sets the maintenance window, in the gateway machine's local time.

Delete a gateway ​

Delete with its connections removes the gateway and its connections. The installed agent is no longer accepted; to use the machine again, create another gateway and reinstall.

Common problems ​

What you seeWhat to do
Agent not installed yetInstall it with the installation code, or generate a new one.
The test failsCheck, on the gateway machine itself, whether it can reach the database's server and port.
A notice about two connections with the same schemaEdit one of them and give it a prefix. To change the prefix, the connection has to be deactivated.
The installer hasn't been released yetTalk to the LumeDB team.

LumeDB © Keon Analytics