Connect a database, app or cloud drive to Mammoth
Connectors bring data from databases, warehouses, cloud apps, drives and APIs into Mammoth. In the Data Library, click New dataset and choose Connectors (or go to Data → Connections and click New Connection), pick a source, connect it, choose tables and columns, and click Save as dataset. Only Project Admins create connections; Project Editors can start datasets from the project's existing connections.
Before you start
- Plan: the launcher shows the connectors your plan includes.
- Firewall: if your database or server sits behind a firewall, allow Mammoth's IP address first. See Allow Mammoth through your firewall.
- Sources: Mammoth connectors lists every connector with its sign-in, port, firewall and AI query details.
Open the Connectors launcher
- Go to the Data Library and click New dataset.
- In Where do you want to add data from?, choose Connectors.
Data → Connections > New Connection opens the same launcher on its own. To search it, browse its categories, or find a draft or saved connection, see Find a connector, draft or saved connection.
Connect the source
| You click | What happens |
|---|---|
| Databases and warehouses (PostgreSQL, MySQL, SQL Server, Oracle Database, Amazon Redshift, Snowflake, Google BigQuery, Databricks, Apache Hadoop, SAP HANA, MongoDB) | The connection form opens. Fill in the fields listed on the connector's page and click Connect. The connector workspace then opens on your tables. |
| Every other source (cloud apps, drives, file servers) | The connector workspace opens with the Chat open. The chat shows a card asking for the connection details, or a button to sign in to the service. |
| An existing connection under Your connections | The workspace opens on that connection, with nothing to re-enter |
Then pick tables and columns: see Pick tables and columns in the connector workspace.
Paste connection details into a database form
Click Paste connection details to fill the form from what you copied: a connection string (such as postgresql://user@host/db), a JDBC URL, .env lines, or Host: and Port: lines from a note. SSH tunnel details fill in too.
- Mammoth shows "Filled 4 fields from your clipboard" and highlights them. Undo puts back what was there.
- The text is read in your browser and sent nowhere. Nothing connects until you click Connect.
- If your browser blocks clipboard access, click the Host field and paste: Mammoth splits the details across the fields.
- If nothing is recognised: "Your clipboard has no connection details we recognise."
If you can't add connections
A Project Editor sees New sources are added by this project's admins. and can click Copy a request to copy a note for an admin, or Upload an export instead. See Manage saved connections.
Save the data as a dataset
- Click Save as dataset.
- Enter a Dataset name and pick the folder under Save in.
- Choose an option under Keep it up to date (see the table).
- Click Save (for a database query, Save as dataset).
| Source | Keep it up to date options |
|---|---|
| Cloud app or Google Sheets | Daily or Manual |
| Database query | Daily at 06:00 or Only when I ask, plus what happens On each refresh (see Choose what happens on each refresh) |
| File from a drive or file server | Saved once: Saved once. Scheduled refresh for files is coming. For new files on a schedule, use a File Collection automation (see What you can automate). |
Mammoth reads the source in full, which can take a few minutes for a large table. You can leave the page meanwhile. When it finishes, click Open dataset.
For a database query, Daily at 06:00 creates a Dataset Refresh automation named after the dataset, such as Daily refresh · Orders, whose first run is the next morning. Change its schedule under Data → Automation.
Troubleshooting connectors
| Symptom | Cause | Fix |
|---|---|---|
| A connector is missing from the launcher | It isn't on your plan | Search for it: it shows greyed out with Not on your plan · See plans |
| New sources are added by this project's admins. | You are not a Project Admin | Click Copy a request, or Upload an export instead |
| A table shows 403: this key can’t read it or 404: not found | No access, or the table has another name | See What each table status means |
| A connection appears under Needs attention | The key expired or the source is unreachable | Repair it on the Connections page (Fix a connection that needs attention) |
| A database connection fails | Mammoth's IP isn't allowed, or the port is closed | See Allow Mammoth through your firewall and Troubleshooting |
| Refreshes are slow or heavy on your database | The dataset reads more rows than you need | Filter in the query and refresh incrementally (Speed up pipelines and connectors) |
Related
- Pick tables and columns in the connector workspace: table statuses, joins and missing columns.
- Query a database and choose how it refreshes: the SQL view, Write SQL and refresh options.
- Manage saved connections: reuse, edit and delete connections.
- Find a connector, draft or saved connection: search the launcher and pick up drafts.
Something wrong? support@mammoth.io