Overview
Stigg’s integration with ClickHouse allows you to export your product catalog, customer, and subscription data to ClickHouse for high-performance analytical queries.Stigg’s native data export integrations are included in the Scale plan, and are also available as an optional add-on to the Growth plan. See Stigg’s pricing for more details.
Exported entities
When connecting ClickHouse, you can choose which Stigg entity groups to include in the sync. All groups are selected by default. See Exported entities for the full list of entity groups and the tables within each.Entity schema
Setting up the integration
Prerequisites
You’ll need a ClickHouse instance (self-hosted or ClickHouse Cloud) with a user that has permission to create tables and write data in the target database. ClickHouse connections also require a staging bucket (S3 or GCS) that Stigg uses to stage data before loading it into ClickHouse.Connect Stigg with ClickHouse
In Stigg, navigate to Integrations > Apps > ClickHouse.Enter the following information in the connection form:
Click Test & connect.
| Field | Description |
|---|---|
| Host | The hostname of your ClickHouse server |
| Port | The port ClickHouse listens on. Defaults to 9000 for native TCP protocol. |
| Cluster | The ClickHouse cluster name (if using a clustered deployment) |
| Database | The connection database |
| Schema | The database where Stigg will write tables. Can be the same as Database. |
| Username | The ClickHouse user Stigg will authenticate as |
| Password | The password for the ClickHouse user |
| Staging bucket type | The object storage used to stage data before loading it into ClickHouse. Select S3, GCS, or Implicit. |
| Staging bucket | The bucket name, region, and credentials used for staging. Not required if Implicit is selected. |
Select entities to export
After entering your connection details, expand the Entities to export section to choose which entity groups to include in the sync. All groups are selected by default.See Exported entities for a description of each group.
