Atlas
PluginsDatasources

Datasource Plugins

Connect BigQuery, ClickHouse, DuckDB, MySQL, Snowflake, and Salesforce as Atlas query targets.

Atlas supports PostgreSQL and MySQL natively via ATLAS_DATASOURCE_URL. For other databases and APIs, use datasource plugins. Each plugin provides a connection factory, SQL dialect hints for the agent, query validation rules, and health checks.

All datasource plugins follow the same pattern:

  1. Install the database driver (optional peer dependency)
  2. Import the plugin factory in atlas.config.ts
  3. Pass connection credentials via environment variables

Never commit credentials to version control. Use environment variables (process.env.CLICKHOUSE_URL) in atlas.config.ts and add .env to .gitignore.

Available Datasource Plugins

Comparison

FeatureBigQueryClickHouseDuckDBMySQLSnowflakeSalesforce
Driver package@google-cloud/bigquery@clickhouse/client@duckdb/node-apimysql2snowflake-sdkjsforce
TransportREST APIHTTPIn-processTCP poolSDK poolREST API
Query languageBigQuery SQLClickHouse SQLDuckDB SQLMySQL SQLSnowflake SQLSOQL
Parser dialectBigQueryPostgreSQL (closest)PostgreSQL (closest)MySQLSnowflakeCustom (regex)
Read-only enforcementSQL validation + IAMreadonly: 1 per queryREAD_ONLY access mode (file-based only)READ ONLY sessionSQL validation onlySELECT-only validation
Agent toolexecuteSQLexecuteSQLexecuteSQLexecuteSQLexecuteSQLquerySalesforce
Connection cachingNo (stateless REST)No (stateless HTTP)Yes (in-process)Yes (pool)Yes (pool)Yes (session)

On this page