For AI agents: a documentation index is available at https://docs.coverbase.com/llms.txt. This page is also available in markdown by appending .md to the URL.
A Snowflake destination is part of warehouse data share. Coverbase connects through the Snowflake SQL API with key-pair authentication, creates one table per contract table on the first sync, and keeps a <table>_current view beside each.
Prepare Snowflake
- Create a key pair. Keep the private key (PEM) for Coverbase, and set the public key on the Snowflake user as
RSA_PUBLIC_KEY. - Give the user a role with:
USAGEon the warehouse, the database and the schema;CREATE TABLEandCREATE VIEWon the schema.
- Use a schema of its own, so Coverbase’s tables and views do not mix with others.
Add the destination in Coverbase
- Open Configuration → Data Share and click Add destination.
- Choose Snowflake, give it a Name, and choose Hourly or Daily.
- Enter the Account, User, Role, Warehouse, Database and Schema, paste the Private Key (PEM), and add the Key passphrase if the key has one.
- Click Add destination, then Test connection, then Sync now.
What lands in Snowflake
- One table per contract table, created on the first sync. A column the contract adds later is added to the table.
- Each sync appends the rows that changed, stamped with
_cb_synced_at. - A
<table>_currentview per table keeps the newest version of each row. For theservicessnapshot table, it keeps only the latest run.
_current views. The tables and their columns are listed under Table Contract on the Data Share page.
Related
Data share guide
Run logs, pausing and the table contract.
BigQuery
The BigQuery destination.
Amazon S3
The S3 destination.
Integration credentials and signing
How the private key is stored.