Skip to main content
This is a reference page for the connectors that need no external app registration, tenant setting, or admin consent — just network access from the Bag of words host and a login with read permission. Add them under Data Sources → Add data source, fill in the fields below, test the connection, and pick the tables the agent may use. Connectors with real external setup have their own pages: Snowflake, Google BigQuery, and Microsoft SQL Server.
Most of these support both a shared credential (one login for the whole workspace) and per-user credentials (each person authenticates as themselves). Per-user authentication on a database connector requires an Enterprise license — see Authentication. Where a mode is shared-only, it is marked below.

All connectors

beta Beta connector — the shape of the integration may still change. EE Part of the Enterprise Edition.

Notes on specific connectors

DuckDB

DuckDB is not a server connection. uris holds either the path to a local .duckdb file, or one URI pattern per line pointing at parquet or CSV files, which Bag of words registers as views and queries in-process. Wildcards are supported:
Pick the auth mode matching the backing store, not DuckDB itself: session_token is only for temporary AWS credentials. Local paths and file:/ URIs work with no auth at all.

Trino

catalog and schema are both required — a Trino connection is scoped to a single catalog/schema pair, so create one data source per pair you want the agent to reach. Set protocol to https for a TLS-terminated coordinator; the password field is only needed in that case.

Teradata

logmech selects the logon mechanism: TD2 for native Teradata users, or LDAP, KRB5, or TDNEGO for directory-based logon, which is common on-prem. host is the TPA or COP name of the system.

Apache Druid

Set secure to true for HTTPS, and adjust port for what you are pointing at — 8082 for a Broker, 8888 for a Router. schema defaults to druid; system schemas are always excluded from indexing. Two token modes exist and they are not interchangeable:
  • API Token (Bearer) sends Authorization: Bearer <token>.
  • API Token (Basic) sends the basic_token value verbatim as Authorization: Basic <token>, with no base64 encoding. Use this one for Imply Polaris pok_… API keys.

Apache Pinot

Points at the Broker SQL endpoint. controller is an optional controller base URL (for example http://controller-host:9000), used for richer metadata. query_options passes a Pinot queryOptions string through on every query — useMultistageEngine=true is the common one.

MongoDB

The only document-shaped connector here: the agent sees collections and inferred document structure rather than tables and columns, and writes MongoDB queries rather than SQL. For Atlas, set use_srv to true — the connection then uses mongodb+srv://, port is ignored, auth_source is ignored, and TLS is automatic. For a self-hosted deployment, leave use_srv off and set tls and auth_source yourself. user and password may both be blank for an unauthenticated deployment.

Spark

Runs Spark SQL against a remote cluster over Spark Connect (sc://). Compute stays on the cluster — Bag of words sends SQL and receives results, with no in-process engine on the Bag of words server. Leave catalog blank to use the session default, and database blank to discover all databases (it also takes a comma-separated list). require_partition_filter is a guardrail worth turning on for large lakehouse tables: queries that would scan a partitioned table without filtering on a partition column are rejected via EXPLAIN before they run. The No auth mode assumes the Spark Connect endpoint is network-gated — behind a VPN or Tailscale, for example. Otherwise use a Bearer Token.

AWS Redshift

Three auth modes, all of which still require a user: region is needed for both IAM modes. cluster_identifier identifies the cluster for IAM-based credential issuance. Leave ssl_mode at require unless you have a reason not to.

AWS Athena

Athena is serverless: there is no host or port, only a region and a Glue database. data_source is the Athena catalog name and stays AwsDataCatalog for the standard Glue Data Catalog. s3_output_location is where Athena writes query results. Leave it blank only if your workgroup has a default output location configured; otherwise set it to an S3 URI the identity can write to, since Athena cannot return results without one. The default auth mode, AWS Default (IAM Role / Instance Profile), takes no fields at all — it uses the ambient AWS credentials of the Bag of words host, which is the right choice when it runs on EC2, ECS, or EKS with an attached role. Otherwise use AWS Access Keys, which takes access_key, secret_key, and role_arn.