Connecting a source
Keys, signing in, connection links, and how credentials are kept.
A connection is how SyncStudio reaches one source. It belongs to your team: anyone on the team can build imports from it, and nobody, you included, can see its credentials again once it is saved.
Three ways to connect
| How | Used for | What you do |
|---|---|---|
| Sign in | BigQuery, Google Analytics, Search Console, and applications that offer it | Press Connect with … and sign in with an account that can see the data. |
| Credentials | Databases, warehouses and most applications | Enter an address and a read-only user, or an API key with read access. Some applications also offer Or use an API token beside their sign-in. |
| Connection link | When someone else holds the credentials | Send them a link; they fill in the form and the connection appears in your sidebar. |
Use read-only credentials
An import only ever reads, so give SyncStudio only what reading needs.
- Databases: create a user that can
SELECTfrom the tables you want and nothing else, ideally on a replica. Queries run read-only, over TLS, with a five-minute limit. - Applications: create an API key or token with read scopes only. The setup guide for each source says where.
- Write-back is the one exception: a connection used to write rows back needs a user made for writing, limited to the tables it may change, and an admin must turn on Allow writing back for it. See Writing back.
For write-back, a database connection can hold a second user with the rights to write. Imports, previews and AI drafts keep using the read-only one, and SyncStudio warns you if the read user can change data.
Using an import somewhere else
Power BI and Excel's Power Query: use a key from Settings → AI assistants, and this query:
Csv.Document(Web.Contents("https://syncstudio.novabytelab.in/api/v1/feed/IMPORT_ID", [Headers=[Authorization="Bearer YOUR_KEY"]]))
Your own programs: the same key works with the public API (/api/v1/public/imports, described at /api/v1/public/openapi.json). Other systems starting a refresh: press Start from outside on an import for a signed address.
Blending ads from several platforms
Import each platform into its own tab, then make a combined import of them, with a SQL step that gives them one shape, for example: SELECT date, 'Google' AS platform, campaign, cost, clicks FROM google UNION ALL SELECT date, 'Meta', campaign_name, spend, clicks FROM meta. For budget pacing, put your target in a cell and add an alert when that cell crosses a limit.
Sources you sign in to
Salesforce: in your connected-app settings, your Salesforce admin should set the refresh token policy to "valid until revoked", or scheduled imports stop whenever the token ends. QuickBooks: a sign-in ends after about five years whatever you do; your admins are emailed 30 days before, and signing in again carries on.
Testing and saving
When you save a connection, SyncStudio first tests it by reading a little from the source. A connection that fails the test is not saved, and the message says what the source answered, for example that it rejected the credentials, or that a name or ID does not exist.
Give each connection a name your team will recognise, such as “Shop database (replica)” or “Stripe live, read-only”. Imports show it, and alerts name it.
Connection links
If the credentials belong to someone else, such as a database administrator or a colleague who owns the application account, press Send this link to whoever has the details on the connection form and send them the link.
- The link works once, and for 7 days.
- The person who opens it sees only that source's form: not your team, your imports or your spreadsheet.
- When they finish, the connection appears in your sidebar under Your connections, tested and saved.
How credentials are kept
Credentials are encrypted before they are stored, and no part of the product shows them again. To change a password or key, edit the connection and enter the new one. Connections reach only public internet addresses: a connection cannot be pointed at addresses inside SyncStudio's own network. See Security and your data.
Changing or removing a connection
- Open Settings → Connections to see your team's connections, and which of them may write back.
- Editing a connection keeps every import that uses it.
- If a source rotates its credentials, imports start failing with a message that the source rejected them: edit the connection and enter the new ones.