---
name: watsonxdata-reg_database
title: Adding data source
description: You can register and use data source in IBM&reg; watsonx.data. A catalog defines the schemas and metadata for a data source.
last-updated: 2025-06-23
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/watsonxdata?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

{:javascript: #javascript .ph data-hd-programlang='javascript'}
{:java: #java .ph data-hd-programlang='java'}
{:ruby: #ruby .ph data-hd-programlang='ruby'}
{:php: #php .ph data-hd-programlang='php'}
{:python: #python .ph data-hd-programlang='python'}
{:external: target="_blank" .external}
{:shortdesc: .shortdesc}
{:codeblock: .codeblock}
{:screen: .screen}
{:tip: .tip}
{:important: .important}
{:note: .note}
{:deprecated: .deprecated}
{:pre: .pre}
{:video: .video}

# Adding data source
{: #reg_database}

You can register and use data source in IBM&reg; watsonx.data. A catalog defines the schemas and metadata for a data source.
{: shortdesc}

When you add your own object storage bucket or data source, or query the data in these data sources through the query engines of watsonx.data, egress charges for pulling data out of these sources might apply depending on your service provider. If you are using managed services, consult your service provider's documentation or support for details about these charges.
{: important}

To reduce the latency issues, it is recommended to colocate your additional object storage buckets or data source in the region where watsonx.data instance is provisioned.
{: important}


To add data source-catalog pair, complete the following steps.

1. Log in to the watsonx.data instance.
2. From the navigation menu, select **Infrastructure manager**.
3. To add a data source, click **Add component**.
4. In the **Add component** window, select a data source from the **Data source** section and provide the details to establish the connection.

    Two data sources with the same name cannot be added.
   {: note}

watsonx.data supports the following data source options:
* [Amazon Redshift](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-redshift_database&format=markdown)
* [Apache Druid](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-druid_database&format=markdown)
* [Apache Kafka](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-kafka_database&format=markdown)
* [Apache Phoenix](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-phoenix_database&format=markdown)
* [Apache Pinot](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-pinot_database&format=markdown)
* [BigQuery](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-bigquery_database&format=markdown)
* [Cassandra](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-cassandra_database&format=markdown)
* [ClickHouse](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-clickhouse_database&format=markdown)
* [Elasticsearch](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-elasticsearch_database&format=markdown)
* [HANA](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-saphana_database&format=markdown)
* [IBM Data Virtualization Manager for z/OS](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-dvm_database&format=markdown)
* [IBM Db2](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-db2_database&format=markdown)
* [IBM NPSaaS](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-netezza_database&format=markdown)
* [Informix](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-informix_database&format=markdown)
* [MongoDB](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-mongodb_database&format=markdown)
* [MySQL](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-mysql_database&format=markdown)
* [Oracle](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-oracle_database&format=markdown)
* [PostgreSQL](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-postgresql_database&format=markdown)
* [Prometheus](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-prometheus_database&format=markdown)
* [Redis](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-redis_database&format=markdown)
* [SingleStore](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-singlestore_database&format=markdown)
* [Snowflake](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-snowflake_database&format=markdown)
* [SQL Server](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-sqlserver_database&format=markdown)
* [Teradata](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-teradata_database&format=markdown)
* [Custom data source](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-custom_database&format=markdown)
* Arrow Flight Service:
* [Apache Derby](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-derby_database&format=markdown)
* [Greenplum](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-greenplum_database&format=markdown)
* [MariaDB](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-mariadb_database&format=markdown)
* [Salesforce](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-salesforce_database&format=markdown)


For more information on mixed-case feature flag behavior, supported SQL statements and supported data types matrices, see [Support content](https://www.ibm.com/support/pages/node/7157339){: external}.

## Related API
{: #datasource_api}

For information on related API, see
* [Get databases](https://cloud.ibm.com/apidocs/watsonxdata#list-database-registrations)
* [Add/create database](https://cloud.ibm.com/apidocs/watsonxdata#create-database-registration)
* [Get database](https://cloud.ibm.com/apidocs/watsonxdata#get-database)