Connect a data source
Connecting a data source is a conversation, not a form: Ronja asks what you want to connect and shows the right sign-in card or credentials form.
Start the conversation
Section titled “Start the conversation”- Open Connections in the admin area and click Add Connection, or ask in any exploration (“Connect our Postgres”, “Connect our BigQuery”).
- Name the service when Ronja asks.
- Follow the card Ronja shows: SaaS tools get a one-click sign-in card, databases a secure credentials form.
If Add Connection can’t open the exploration, click it again; a conversation already created is reused.
The Connections table shows each connection’s name, connector type, feature, status and last sync. Open the connection’s name to manage it, or the feature’s name to see its data. Sync now and Stop sync are on the row when available. If the list can’t load, Try again reloads it.
Example: a SaaS tool (Gmail)
Section titled “Example: a SaaS tool (Gmail)”- Ask Ronja to connect Gmail.
- Click Sign in with Google on the Connect Gmail (Read) card.
- Approve access in the popup window. The card shows “Waiting for authorization…” until you finish.
- Wait for the card to read Gmail (Read) connected. Ronja continues on her own.
The one-click connect card Ronja renders for a built-in SaaS integration.
A second service from the same provider, such as Google Sheets after Gmail, reuses the provider connection: you approve the extra permissions.
Example: a database (PostgreSQL)
Section titled “Example: a database (PostgreSQL)”- Ask Ronja to connect your Postgres database.
- Fill in the credentials card that opens above the message box: Host, Port, Database, Username, Password and SSL mode. Sensitive fields are marked, and a sensitive value saved earlier shows only as dots.
- Click Save credentials, or Skip for now to enter them later. The values are stored as a secret: sensitive values are never shown again anywhere in the product, and Ronja never sees them. The conversation then resumes.
- Ask your questions. Ronja queries the database live in the conversation.
- To sync the data into Ronja tables, ask Ronja for a scheduled import (Admin), then choose the tables to sync on the connection page.
Synced on a schedule, or queried in place
Section titled “Synced on a schedule, or queried in place”Which of the two you get depends on the system.
| Synced on a schedule | Queried in place | |
|---|---|---|
| What happens | Ronja copies the tables you choose into a feature as Integration tables, on a cadence you set, and keeps them current. She tracks how far she got and resumes a long run where it stopped. | Ronja runs your question against the source live. Nothing is copied. |
| When the source is down | The tables are still there to query and join. | There is nothing to query. |
| Systems | PostgreSQL, SQL Server, MySQL, Google BigQuery, PostgreSQL (change capture), MySQL (CDC / binlog), MongoDB | Snowflake, Oracle, ClickHouse, Amazon Timestream, and PostgreSQL, SQL Server, MySQL and Google BigQuery too |
Sync on a schedule when a table is large, joined against Ronja data often, or must stay available when the source is down or slow; query in place when you want an answer now. Notes on the synced systems:
- PostgreSQL, SQL Server, MySQL and Google BigQuery: ask Ronja in chat to set up a scheduled import. A scheduled import is the extra step; these four can be queried in place too.
- PostgreSQL (change capture): Ronja reads the database’s record of what changed instead of re-reading the tables, so every insert, update and delete arrives, collected on the connection’s schedule. Ask for change capture by name, or ask Ronja to connect your PostgreSQL and pick Change capture from the ways she offers. It asks more of the database: see PostgreSQL change capture.
- MySQL (CDC / binlog): read through the server’s binary logs, so updates and deletes arrive too. Ask Ronja for it by name; otherwise she sets up the ordinary MySQL import. The server needs binary logging in row format with
gtid_mode = ON, the account needs theREPLICATION SLAVEandREPLICATION CLIENTprivileges, and the logs must be kept long enough (below). - MongoDB: Ronja can’t set it up in the chat, and can’t query it in place. Ask her to import it and she replies with a link to the New MongoDB Connection page, where an admin fills in the Connection String and picks the collections to sync.
For a stored copy of a source Ronja doesn’t sync, ask her for a Workflow that reads it and writes a table on a schedule. That is your code to maintain rather than hers.
SharePoint
Section titled “SharePoint”Workflows read SharePoint files through a secret, made one of two ways:
- From an approved connection. If your organization has a SharePoint connection that Ronja support has approved, an Admin opens it and clicks Create SharePoint key. That makes a secret for the Microsoft organization the connection reads, covering the sites your Microsoft admin gave Ronja access to, with no app of your own. The connection keeps syncing, and Ronja renews the secret’s access.
- On an unapproved connection the button answers “This SharePoint connection is not approved for a SharePoint key; contact Ronja support.”. It also refuses if your Microsoft organization is already connected to another Ronja organization.
- The secret lands in your private feature, so only your own Workflows can use it. To let other people’s Workflows use it, move it into their feature.
- With your own Microsoft app. Ask Ronja to connect SharePoint. Your Microsoft admin registers an app for Ronja in your Microsoft Entra ID and gives it access to the sites she should read. Give Ronja its Directory (tenant) ID when she asks in the chat, enter its Client ID and Client Secret in the card she opens, and click Connect.
To keep a copy of SharePoint files in Ronja, ask her for a Workflow that reads them on a schedule. You can’t create a new SharePoint connection: an existing one keeps syncing, and one that was never connected can only be deleted.
Set the sync cadence
Section titled “Set the sync cadence”- Open the connection from Connections or from its feature.
- Find the Sync Schedule card (“Minimum cadence is once per hour.”).
- Choose Interval (every N hours; a new connection runs every 24 hours) or Cron (the Hourly, Daily, Weekly, Monthly and Custom cron presets, with a timezone).
- Click Save Schedule.
Keep MySQL binary logs long enough
Section titled “Keep MySQL binary logs long enough”A MySQL (CDC / binlog) connection continues each sync from the last change it read in the server’s binary logs. The server must keep those logs longer than the time between syncs (every 24 hours unless you changed the Sync Schedule) plus the time a full copy of the connection’s tables takes. The first sync copies every table in full, a large copy can take several syncs, and the sync after it continues from where the copy started.
| Server | Setting |
|---|---|
| Amazon RDS or Aurora | CALL mysql.rds_set_configuration('binlog retention hours', 168); (seven days). Until a retention is set, they delete binary logs as soon as they can. Seven days is the most RDS for MySQL allows, so there the time between syncs plus a full copy must stay under seven days; Aurora allows longer. |
| MySQL 8.0 and later | Raise binlog_expire_logs_seconds. |
| MySQL 5.7 | Raise expire_logs_days. |
If the logs are deleted anyway, Ronja pauses the connection: it shows a red Stalled badge, Sync is refused, and a Replication stalled notification goes out. It is on by default, so your admins are emailed unless someone changed its recipients or turned it off on Notification routing. To recover:
- Raise the retention on your server. If you reset first, the connection will most likely stall again at the first sync after the full copy.
- Click Reset on the connection page (Admin). Reset removes the files Ronja synced for this connection, and the next sync reads every table once from your server and replaces the change history Ronja held for it.
If your server can’t keep binary logs that long, ask Ronja to switch the connection to the ordinary MySQL import, which reads no binary logs: she removes the connection’s previous files first, then you pick its tables again and the next sync copies them in full. More in Fix data issues.
Where your tables land
Section titled “Where your tables land”Every connection belongs to a feature. Synced tables appear in that feature’s hub under Tables with the Integration kind, ready to query in any exploration.
If a source’s authorization expires, the connection shows Re-auth needed, syncing stops and your admins get a Connection needs re-authorization email: see Fix data issues.