Connect ClickHouse
ClickHouse Cloud or your own server, over HTTPS. How to connect ClickHouse to SyncStudio, what to enter, and what you can import into Google Sheets™.
- Data warehouse
- Credentials
- Choose table
- SQL
- Connection links
Before you start
- Open a spreadsheet in Google Sheets and start SyncStudio from Extensions → SyncStudio → Open SyncStudio. The first-import guide covers installing it.
- Use credentials made for reading only: a read-only database user, or an API key with read scopes. SyncStudio never needs to change anything in ClickHouse to import from it.
- Queries are sent read-only, over HTTPS. Use a read-only user.
Connect it
- Add the source In the sidebar, press Add a source and choose ClickHouse. You can type its name in the search box.
- Fill in the form The form asks for:
Field What to enter Host For example abc123.eu-west-1.aws.clickhouse.cloud.HTTPS port (optional) For example 8443.Database (optional) For example default.User Use a read-only user. For example default.Password · kept secret As ClickHouse shows it. Client (optional) If you work for several clients: a label to filter imports by. - Test and save Give the connection a name your team will recognise. SyncStudio tests it before saving it; if the test fails, the message says what ClickHouse answered.
- Or send a link If someone else holds the credentials, press Send this link to whoever has the details. The link works once, for 7 days, and shows them only this form.
Credentials are encrypted before they are stored, and no part of SyncStudio shows them again. To change them, edit the connection and enter them anew. See Connecting a source.
What you can import
Choose a table, the fields you want, and filters. The list comes from ClickHouse itself once the connection is made.
Or write one SELECT statement. It runs read-only, and a preview shows the first rows before anything is written. See Choosing the data.
Next steps
- Build your first import from this connection.
- Choose how often it refreshes, and get told if a refresh fails.
- See the ClickHouse page for what SyncStudio does with ClickHouse.