Skip to main content
Connectors

Mantle connector

Set up the Mantle connector in Kaivo: authentication, configuration, the 2 BigQuery tables it syncs, and answers to common questions.

Written By Lauri Raivio

Last updated 16 days ago

Kaivo is a fully managed data platform that syncs your Mantle data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your payment and finance data instead of moving it.

What is the Mantle connector

Sync your Mantle billing data into BigQuery with Kaivo to analyse subscriptions, recurring revenue, and churn alongside the rest of your data.

CategoryFinance & Payments
AuthenticationAPI key
SetupSelf-service

Getting started with the Mantle connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your Mantle account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticating Mantle

Authenticate with your API Key.

FieldDescription
API Key

Your Mantle app's API key, generated in the Mantle dashboard (sidebar β†’ select your app). Each key is tied to a specific app.

Configuring the Mantle connector

When you set up the connector, you provide:

FieldDescription
Start Date

Any data before this date will not be fetched.

Tables and columns synced from Mantle

Kaivo syncs 2 tables from Mantle into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
descriptionSTRING
idSTRING
urlSTRING
nameSTRING
testBOOL
emailSTRING
domainSTRING
icon_urlSTRING
industrySTRING
created_atSTRING
updated_atSTRING
country_codeSTRING
last30_revenueFLOAT64
lifetime_valueFLOAT64
shopify_domainSTRING
shopify_shop_idSTRING
first_interaction_atSTRING
average_monthly_revenueFLOAT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__contacts

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
idSTRING
nameSTRING
emailSTRING
labelSTRING
created_atSTRING
updated_atSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__contacts__customers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
idSTRING
app__idSTRING
app__nameSTRING
app__slugSTRING
app__icon_urlSTRING
app__created_atSTRING
app__api_client_idSTRING
app__developmentBOOL
app__display_nameSTRING
app_idSTRING
platform_idSTRING
installed_atSTRING
subscription__idSTRING
subscription__plan__typeSTRING
subscription__plan__descriptionSTRING
subscription__plan__idSTRING
subscription__plan__nameSTRING
subscription__plan__amountFLOAT64
subscription__plan__publicBOOL
subscription__plan__visibleBOOL
subscription__plan__intervalSTRING
subscription__plan__created_atSTRING
subscription__plan__trial_daysFLOAT64
subscription__plan__updated_atSTRING
subscription__plan__flex_billingBOOL
subscription__plan__currency_codeSTRING
subscription__plan__deprecated_atSTRING
subscription__plan__lifetime_valueFLOAT64
subscription__plan__monthly_revenueFLOAT64
subscription__plan__subscriber_countFLOAT64
subscription__plan__active_trial_countFLOAT64
subscription__plan__average_lifetime_valueFLOAT64
subscription__totalFLOAT64
subscription__activeBOOL
subscription__cancel_onSTRING
subscription__subtotalFLOAT64
subscription__created_atSTRING
subscription__activated_atSTRING
subscription__trial_starts_atSTRING
subscription__trial_expires_atSTRING
subscription__current_period_endSTRING
subscription__presentment_totalFLOAT64
subscription__billing_cycle_anchorSTRING
subscription__current_period_startSTRING
subscription__presentment_subtotalFLOAT64
last30_revenueFLOAT64
lifetime_valueFLOAT64
trial_starts_atSTRING
uninstalled_atSTRING
trial_expires_atSTRING
churn_predictionFLOAT64
churn_prediction_label__labelSTRING
churn_prediction_label__statusSTRING
average_monthly_revenueFLOAT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations__reviews

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRING
idSTRING
dateSTRING
ratingFLOAT64
contentSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations__subscription__plan__customer_tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations__subscription__plan__shopify_plans

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations__subscription__plan__customer_exclude_tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__app_installations__subscription__line_items

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRING
idSTRING
amountFLOAT64
plan_idSTRING
currency_codeSTRING
presentment_amountFLOAT64
presentment_currency_codeSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
idSTRING
plan__typeSTRING
plan__descriptionSTRING
plan__idSTRING
plan__nameSTRING
plan__amountFLOAT64
plan__publicBOOL
plan__visibleBOOL
plan__intervalSTRING
plan__created_atSTRING
plan__trial_daysFLOAT64
plan__updated_atSTRING
plan__flex_billingBOOL
plan__currency_codeSTRING
plan__lifetime_valueFLOAT64
plan__monthly_revenueFLOAT64
plan__subscriber_countFLOAT64
plan__active_trial_countFLOAT64
plan__average_lifetime_valueFLOAT64
totalFLOAT64
activeBOOL
frozen_atSTRING
subtotalFLOAT64
created_atSTRING
canceled_atSTRING
activated_atSTRING
trial_starts_atSTRING
trial_expires_atSTRING
current_period_endSTRING
presentment_totalFLOAT64
billing_cycle_anchorSTRING
current_period_startSTRING
presentment_subtotalFLOAT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: subscriptions__plan__customer_tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: subscriptions__plan__shopify_plans

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: subscriptions__plan__customer_exclude_tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: subscriptions__line_items

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRING
idSTRING
amountFLOAT64
plan_idSTRING
currency_codeSTRING
presentment_amountFLOAT64
presentment_currency_codeSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

How the Mantle sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Mantle supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won't get duplicate rows.

Frequently asked questions

How long does the initial sync take for Mantle?

It depends on how much history is in your Mantle account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they're much faster.

Can I sync only some tables or columns?

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don't select are never copied to your warehouse.

What happens when Mantle's schema changes?

New fields are never added automatically. You choose which fields to sync, so data you haven't selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table's sync mode: full-refresh tables always match what's currently in Mantle, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Mantle instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Mantle connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Mantle data

Recurring revenue

Use subscriptions to track recurring revenue and churn over time.

Customer view

Join customers with subscriptions to measure lifetime value.

Billing context

Bring Mantle data into BigQuery to report on it next to your finance data.

Use Mantle data in your AI and BI tools

Once Mantle data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here's how the most common destinations work with Mantle data.

Claude

Use Kaivo's MCP server to give Claude secure, workspace-scoped access to your data. Setup guide β†’

Power BI

Microsoft's BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide β†’

Data Studio

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide β†’

Tableau

The premium analytics standard, with native BigQuery integration. Setup guide β†’

Google Sheets

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide β†’

Excel

Connect via Power Query's BigQuery connector. Setup guide β†’

Metabase

Open-source BI tool with strong BigQuery support. Setup guide β†’

See our pricing page for Mantle connector pricing and plan details.

Was this helpful?

Still need help? Share an idea