Connector Overview
Mangrove offers pre-built data connectors for common database systems. Once activated, connectors automatically sync data from your external systems into your project.- The connectors authenticate and fetch data from the database on a scheduled cadence. This is set to a daily schedule of 11:59pm ET; we plan on making the cadence configurable soon.
- Data is fetched from a set cursor value - this allows only the latest data to be pulled into Mangrove
- SQL queries are run to fetch the data in CSV format
Available Connectors
- Microsoft SQL Server
- Snowflake
- Snowflake (Secure Share)
Don’t see your database? Contact the Mangrove teamto discuss additional connector options.
Activate a Connector

- Database connection details (host, port, database name)
- Database credentials (username and password)
- The event type(s) you want to transform the database data into in Mangrove
Adding a new SQL-fetch Data Feed
Add connector credentials
In your project, go to Data Inputs > Input Settings. Click Add Data Feed and select a database connector.
Configure the SQL data connector
Select your database type.Enter your database connection details (host, port, database name, username, password), then click Test Connection to verify access.
Mangrove connects directly to your database. Check that your firewall allows connections from Mangrove’s IPs. Contact support for the current allowlist.
Writing SQL Queries
When writing your SQL query, you can reference the following variables. These variables enable dynamic queries based on the database configuration and the SQL pre-query.| Variable | Description | Example Value |
|---|---|---|
{{cursor_field}} | The name of the column used as a cursor to track sync progress | last_updated |
{{cursor_value}} | The most recent value fetched for the cursor field (e.g. timestamp or incrementing id) | 2024-05-31T23:59:00 |
| Pre-query variables | Any columns returned from your configured pre-query, referenced by name |
Troubleshooting
Connection failed
Connection failed
- Verify the credentials are correct
- Verify that there isn’t any firewall or VPN necessary to access the database.
No data appearing in query tests
No data appearing in query tests
- Verify the source table contains data
- Check that field mappings are correctly configured
- Ensure the database user has SELECT permissions on the mapped tables
Duplicate data
Duplicate data
- Check if multiple connectors are pointing to the same table
- Verify the sync schedule isn’t running too frequently