SQL Studio with Hybrid Runner
SQL Studio integrates seamlessly with Collate’s Hybrid Ingestion Runner, ensuring that query execution happens within your own cloud infrastructure. This means credentials never leave your environment and query traffic stays inside your network — the same security model used for metadata ingestion.How It Works
When you create a database service in Collate, you select an Ingestion Runner — either the Collate SaaS Runner (hosted by Collate) or a Hybrid Runner (deployed in your infrastructure). SQL Studio’s Query Runner inherits whichever runner is configured for the service. There is no separate runner selection for SQL Studio.Runner Inheritance
Execution Flow
The following diagram illustrates how a query flows through the system when a Hybrid Runner is configured:Key Points
- Same runner, same path: The Query Runner uses the exact same runner as the service’s ingestion pipelines. If your service is configured with a Hybrid Runner, SQL Studio queries automatically go through it.
- No extra configuration: There is no separate runner setting for SQL Studio. The runner choice is made once at service creation time.
- Credential isolation: When using a Hybrid Runner, credentials stored in your Secrets Manager (AWS, Azure, GCP, Kubernetes, etc.) are fetched at runtime by the runner in your infrastructure. Collate’s SaaS never accesses or stores these secrets directly.
Comparing SaaS Runner vs Hybrid Runner for SQL Studio
| Aspect | Collate SaaS Runner | Hybrid Runner |
|---|---|---|
| Query execution location | Collate’s cloud | Your infrastructure |
| Credential storage | Encrypted in Collate | Your Secrets Manager (AWS/Azure/GCP/K8s, etc.) |
| Network path | Collate cloud → Your database | Your infra → Your database (internal) |
| Setup effort | None (default) | Requires Hybrid Runner deployment |
| Best for | Cloud-hosted databases with public endpoints | Private databases, strict compliance requirements |
Prerequisites
Before using SQL Studio with a Hybrid Runner, ensure the following are in place:- Hybrid Runner deployed and connected — Verify in Settings > Preferences > Ingestion Runners that your runner shows as Connected
- Service created with the Hybrid Runner selected — The database service must have the Hybrid Runner chosen as its Ingestion Runner during service creation
- Query Runner application installed — Install the Query Runner app from the Marketplace
- SQL Studio configured for the service — Complete the Admin Configuration for the service
- Secrets stored in your Secrets Manager — Service connection credentials must be stored in your Secrets Manager (AWS, Azure, GCP, Kubernetes, etc.) and referenced with the
secret:prefix
How Secrets Are Handled
SQL Studio’s secret handling depends on which runner is configured for the service:With Collate SaaS Runner
- User credentials (OAuth tokens, passwords, service account keys) are encrypted and stored in Collate’s database
- The SaaS Runner uses these credentials directly when executing queries
With Hybrid Runner
- Service connection credentials (host, port, account) are stored in your Secrets Manager and referenced with the
secret:prefix (e.g.,secret:/my/database/password) - User authentication credentials (Basic Auth) — Users also enter secret references (using the
secret:prefix) instead of raw credentials. At runtime, the Hybrid Runner fetches these from your Secrets Manager within your infrastructure. - At runtime, the Hybrid Runner fetches all referenced secrets from your Secrets Manager and establishes the database connection — entirely within your infrastructure. Collate’s SaaS never accesses these secrets directly.
Next Steps
- Set up the Hybrid Runner: Follow the Hybrid Ingestion Runner guide for deployment and configuration
- Configure SQL Studio: See Admin Configuration for service-level setup
- Connect as a user: See User Authentication to authenticate and connect to your services
- Start querying: Head to Query Execution to learn how to write and run queries