Skip to main content

How to Connect a Data Source

This guide walks you through the process of creating and configuring a data source connection.

Step 1: Navigate to Data Sources​

  1. Click Data Sources in the main navigation
  2. Click the Add Data Source button

Step 2: Select Data Source Type​

Browse the 53 supported data source types organized across 10 categories -- the picker shows them as tiles with a search box and category filter:

Create Data Source type picker

  • Relational -- MySQL, PostgreSQL, MSSQL, Oracle, Redshift, Snowflake, BigQuery, CockroachDB, CrateDB, TimescaleDB, QuestDB, ClickHouse, DuckDB (a MotherDuck database, or a DuckDB or Parquet file in S3), SingleStore, Greenplum, Supabase (a Supabase project's PostgreSQL database)
  • Document/NoSQL -- MongoDB, Elasticsearch, DynamoDB, Firestore, CouchDB, Couchbase
  • Key-Value/Cache -- Redis, Memcached
  • Graph -- Neo4j, Amazon Neptune, ArangoDB, TigerGraph
  • Vector -- Milvus, Pinecone, Weaviate, Qdrant, Chroma, pgvector, Vespa, Marqo
  • Multi-Model -- SurrealDB
  • Spreadsheet -- Airtable, Google Sheets, Baserow, NocoDB, SeaTable, Grist
  • Cloud Storage -- Amazon S3, Google Cloud Storage, MinIO, Azure Blob Storage
  • Message Queue -- RabbitMQ, Apache Kafka, Amazon SQS, Apache Pulsar, MQTT broker
  • API -- API Key (the search API of the web search node)

Use the category dropdown filter or search box to quickly find your data source type. Types are displayed in a paginated card grid (20 per page), sorted alphabetically.

Step 3: Configure Basic Information​

After selecting a type, you are taken to the configuration form.

Required Fields​

  • Data source label: A unique identifier in kebab-case format (e.g., prod-mysql-db). This is auto-formatted as you type -- only lowercase letters, numbers, and hyphens are allowed. This value is used as both the internal name and label fields.
  • Description: Optional free-text description of the data source's purpose (max 1000 characters).
  • Tags: Optional labels for organization (e.g., production, analytics, customer-data). Type a tag and press Enter or click Add.
Naming Convention

Use descriptive kebab-case names like prod-postgres or analytics-snowflake to easily identify your data sources. The name must match the pattern ^[a-z0-9]+(-[a-z0-9]+)*$. Names must be unique per user within their organization scope.

Step 4: Enter Connection Credentials​

Credentials vary by type. The form dynamically renders the correct fields based on the selected type. See the specific configuration guides for detailed information:

Kafka and MQTT​

A Kafka cluster or MQTT broker you run outside the platform is a data source; one the platform runs for you is an add-on (Apache Kafka, MQTT). Workflow nodes (batch and streaming) and marketplace templates take either: their Connection Type (or the install form) offers both.

  • Apache Kafka: the brokers (host:port, comma-separated), a client id, the SASL mechanism (none, PLAIN, SCRAM-SHA-256 or SCRAM-SHA-512) with its username and password, and Use SSL/TLS.
  • MQTT broker: the host and port (1883, or 8883 over TLS), an optional username and password, and Use TLS. With TLS you can add the broker's CA Certificate (when its certificate is not signed by a public authority) and a Client Certificate with its Client Private Key (for brokers that authenticate devices by certificate, such as AWS IoT Core and Azure IoT Hub), all as PEM text.

Step 5: Test Connection (Optional)​

Before saving, you can test your connection:

  1. Click the Test Connection button
  2. The platform creates a temporary data source, tests it, then removes it
  3. If successful, you will see a "Connection test successful!" message
  4. If it fails, the error message indicates the issue (authentication, network, etc.)

Note that clicking Create Data Source also automatically tests the connection. The data source status will be set to connected if the test succeeds, or error if it fails. The data source is still saved either way.

DuckDB​

A DuckDB data source is read, never written. A DuckDB database the platform runs for you, which apps and workflows can write to, is a DuckDB add-on. Choose its Source:

  • MotherDuck database: your MotherDuck Access Token (from MotherDuck Settings > Access Tokens; a Read Scaling token cannot write) and the Database name.
  • File in S3 (DuckDB or Parquet): the S3 Path and Region. A path ending in .duckdb, .ddb or .db is a DuckDB database file, opened read-only with its own schemas and tables. Any other path is Parquet (one file, or a glob such as s3://bucket/sales/*.parquet), read as one table named data. Give an Access Key ID and Secret Access Key (and a Session Token for temporary credentials) for a private bucket, or leave them empty for a public object; a Custom Endpoint reads from an S3-compatible service such as MinIO.

AutoML jobs train from a table or a single SELECT query on it. Its entry in STRONGLY_SERVICES has connection.source (motherduck or s3), with database and the token as auth.credentials.api_key for MotherDuck, or path, region, endpoint and the keys as auth.credentials (access_key_id, secret_access_key, session_token) for S3.

Connection Testing by Type​

The platform uses different strategies depending on the data source type:

Test StrategyTypesWhat It Does
PostgreSQL driverPostgreSQL, CockroachDB, Greenplum, Supabase, TimescaleDB, CrateDB, QuestDB, Redshift, pgvectorConnects over the PostgreSQL wire protocol and runs a test query; pgvector also checks the vector extension is installed
MySQL driverMySQL, SingleStoreConnects over the MySQL wire protocol and runs a test query
Native driverMongoDB, Redis, Oracle, MSSQL, Snowflake, BigQuery, Neo4j, Elasticsearch, Firestore, ArangoDB, Azure Blob, GCS, RabbitMQ, KafkaConnects with the database's own client and runs a read-only check
Bucket accessS3, MinIOLists the configured bucket (or, with no bucket, checks that the keys authenticate)
HTTP APIClickHouse, Pinecone, Weaviate, Qdrant, Chroma, Milvus, Vespa, Marqo, CouchDB, Couchbase, TigerGraph, Neptune, SurrealDB, Pulsar, Airtable, Google Sheets, Baserow, NocoDB, SeaTable, GristCalls the service's health, status or listing endpoint with your credentials
DuckDBDuckDBOpens the MotherDuck database or the S3 file with DuckDB and lists its tables
AWS STS validationDynamoDB, SQSValidates the AWS keys with GetCallerIdentity
TCP reachabilityMemcachedOpens the server's port (Memcached's text protocol has no sign-in)
MQTT sign-inMQTT brokerOpens the broker's port (TLS when Use TLS is on, with the CA and client certificates you gave), signs in with the username and password, and reports the broker's answer. Nothing is published or subscribed
API key checkAPI KeyCalls the service the key is for

Step 6: Save​

Click Create Data Source to save. The connection is now available for use in workflows. After creation, you will be redirected to the data source details page.

Post-Creation: Permissions​

After creating a data source, open its Permissions tab to choose who else can use it:

  • Private (default): only you can use this data source.
  • Allow all users: everyone in your organization can use this connection.
  • Add User: share it with one person, choosing Can edit (use and change it) or Can use (use it without changing it). Change their access from the list, or remove them.
  • Reassign owner: hand the data source to someone else (the owner or an administrator).

On Strongly Cloud, you can only share with users in your own organization.

Access Control

Be careful when granting access to production data sources. Always follow your organization's security policies.

Post-Creation: Schema Discovery​

After creating a data source, you can discover its schema/metadata:

  1. Navigate to the data source details page
  2. On the Metadata tab, click Fetch Metadata to fetch tables, schemas, databases, collections, or buckets
  3. For supported databases, you can also fetch column-level details for individual tables

Schema Discovery Support​

Support LevelTypesWhat It Returns
Full native connectorMySQL, PostgreSQL, MongoDB, Redis, S3, MinIO, Snowflake, BigQuery, Oracle, Redshift, Neo4jTables, schemas, databases, size, row counts
PostgreSQL-compatibleCockroachDB, CrateDB, TimescaleDB, Greenplum, pgvector, Supabase, QuestDBUses PostgreSQL metadata queries
MySQL-compatibleSingleStoreUses MySQL metadata queries
DuckDBDuckDBTables and schemas from DuckDB's catalog; row counts for a DuckDB file's tables; a table's columns, types, keys and row count
Service's own client or APIClickHouse, MSSQL, Elasticsearch, DynamoDB, Firestore, CouchDB, Couchbase, ArangoDB, SurrealDB, Memcached, Amazon Neptune, TigerGraph, Milvus, Pinecone, Weaviate, Qdrant, Chroma, Vespa, Marqo, Airtable, Google Sheets, Baserow, NocoDB, SeaTable, Grist, Google Cloud Storage, Azure Blob Storage, RabbitMQ, Apache Kafka, Amazon SQS, Apache PulsarThe service's tables, collections, indexes, graphs, buckets, containers, queues or topics, and their fields
NoneAPI key, MQTT brokerAn MQTT broker keeps no catalogue of its topics, so there is nothing to discover

Column-Level Metadata​

Column-level metadata (column names, types, nullability, keys, defaults) can be fetched for individual tables for the following types: MySQL, PostgreSQL, Oracle, Redshift, Snowflake, BigQuery, and MongoDB.

Common Connection Issues​

Authentication Failures​

  • Verify username and password are correct
  • Check if user has necessary database permissions
  • Ensure IP whitelist includes the platform's IP addresses

Network Errors​

  • Verify hostname and port are correct
  • Check firewall rules allow connections from the platform
  • Ensure VPN or network connectivity is established

SSL/TLS Issues​

  • Enable SSL/TLS if required by your database
  • Verify certificate validity
  • Check if self-signed certificates need special configuration

Next Steps​