SyncStudio
Documentation menu

Connect TimescaleDB

How to connect TimescaleDB to SyncStudio, what to enter, and what you can import into Google Sheets™.

  • Database
  • Credentials
  • Choose table
  • SQL
  • Write-back
  • 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 TimescaleDB to import from it.
  • Queries run read-only with a 5-minute limit, over TLS. Use a read-only user, ideally on a replica.

Connect it

  1. Add the source In the sidebar, press Add a source and choose TimescaleDB. You can type its name in the search box.
  2. Fill in the form The form asks for:
    FieldWhat to enter
    HostFor example abc.xyz.tsdb.cloud.timescale.com.
    Port (optional)For example 5432.
    DatabaseAs TimescaleDB shows it.
    UserUse a read-only user.
    Password · kept secretAs TimescaleDB shows it.
    Certificate (optional)Verify works as it is for providers whose certificate is publicly trusted, as Neon, Supabase, PlanetScale and Azure SQL are. For Amazon RDS or a self-signed certificate, paste the CA certificate below. Encrypt only leaves the connection open to an impostor server, and is recorded in the audit log. One of: Encrypt and verify the server's certificate, Encrypt only (the certificate is not checked).
    CA certificate (optional)Only needed to verify a server whose certificate is not publicly trusted: the provider's CA bundle in PEM form, for example Amazon RDS's global bundle. For example -----BEGIN CERTIFICATE-----.
    Client (optional)If you work for several clients: a label to filter imports by.
    User for write-back (optional)Only for write-back: imports, previews and AI drafts keep using the read-only user above.
    Password for write-back (optional) · kept secretAs TimescaleDB shows it.
  3. 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 TimescaleDB answered.
  4. 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 TimescaleDB 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.

Rows edited in a tab can be written back to TimescaleDB, after you review every change. See Writing back.

Next steps