Export from Square to Snowflake
CloudQuery is an open-source data integration platform that allows you to export data from any source to any destination.
The CloudQuery Square plugin allows you to sync data from Square to any destination, including Snowflake. It takes only minutes to get started.
Square
The CloudQuery Square plugin pulls data from Square and loads it into any supported CloudQuery destination
Snowflake
The snowflake plugin helps you sync data to your Snowflake data warehouse
Table of Contents
MacOS Setup
Step 1. Install CloudQuery
brew install cloudquery/tap/cloudquery
Step 2. Log in to CloudQuery CLI
cloudquery login
Step 3. Configure Square source plugin
You can find more information about the configuration in the plugin documentation
kind: source
# Common source-plugin configuration
spec:
name: square
registry: docker
path: docker.cloudquery.io/cloudquery/source-square:v1.3.10
tables: ["*"]
destinations: ["v4.1.4"]
# Square-specific configuration
spec:
# required
access_token: "${SQUARE_ACCESS_TOKEN}"
# required
environment: "sandbox" # sandbox or production
# optional, default: 100
# concurrency: 100
# optional, default: 10000
# queue_size: 10000
Step 4. Configure Snowflake destination plugin
You can find more information about the configuration in the plugin documentation
kind: destination
spec:
name: snowflake
path: cloudquery/snowflake
registry: cloudquery
version: "v4.1.4"
write_mode: "append"
# Learn more about the configuration options at https://cql.ink/snowflake_destination
spec:
connection_string: "${SNOWFLAKE_CONNECTION_STRING}"
# Optional parameters
# migrate_concurrency: 1
# batch_size: 1000 # 1K entries
# batch_size_bytes: 4194304 # 4 MiB
Step 5. Run Sync
cloudquery sync square.yml snowflake.yml