Data Catalog can import and keep up-to-date metadata from
several Google Cloud data sources as well as a number of popular
on-premises ones.

With metadata ingested, Data Catalog does the following:

- Makes the existing metadata discoverable through search. For more information, see [How to search](https://docs.cloud.google.com/data-catalog/docs/how-to/search).
- Allows the members of your organization to enrich your data with additional business metadata through tags. For more information, see [Tags and tag templates](https://docs.cloud.google.com/data-catalog/docs/tags-and-tag-templates).

While the integration with Google Cloud sources is automatic, to
integrate with custom on-premises sources that your organization uses, you can
do either of the following:

- Set up and run corresponding [connectors](https://docs.cloud.google.com/data-catalog/docs/integrate-data-sources#integrate_on-premises_data_sources) contributed by the community.
- Use the [Data Catalog API for custom entries](https://docs.cloud.google.com/data-catalog/docs/how-to/custom-entries).

## Before you begin

If you're already using Data Catalog, you must already have a
project with the enabled Data Catalog API. For more information
on the recommended way to use multiple projects with
Data Catalog, see
[Using tag templates in multiple projects](https://docs.cloud.google.com/data-catalog/docs/concepts/resource-project#multiple-projects).

If this is the first time you interact with the Data Catalog,
do the following:

<br />

## Integrate Google Cloud data sources

> [!NOTE]
> **Note:** In a project with an organization policy that [restricts resource
> locations](https://docs.cloud.google.com/resource-manager/docs/organization-policy/defining-locations), your metadata for some Bigtable and Spanner resources might not be synced to Data Catalog.

### BigQuery sharing

When you subscribe to a listing in BigQuery sharing (formerly Analytics Hub), a linked dataset
is created in your project. Data Catalog
automatically generates metadata entries for that linked dataset and all tables
contained in it. For more information on linked datasets and other
BigQuery sharing features, see
[Introduction to Sharing](https://docs.cloud.google.com/bigquery/docs/analytics-hub-introduction).

In Data Catalog search, linked datasets are displayed as
standard BigQuery datasets, but you can filter them using
the `type=dataset.linked` predicate. For more details,
see [Search for data assets](https://docs.cloud.google.com/data-catalog/docs/how-to/search).

### BigQuery and Pub/Sub

If your organization already uses BigQuery and
Pub/Sub, depending on your permissions, you can [search for the
metadata](https://docs.cloud.google.com/data-catalog/docs/how-to/search) from those sources right away. If
you can't see the corresponding entries in search results, look for the IAM
roles that you and the users of your project might need in
[Identity and Access Management](https://docs.cloud.google.com/data-catalog/docs/concepts/iam#searching_resources).

### Bigtable

When you store data in Bigtable, metadata is automatically synced to
Data Catalog for the following Bigtable
resources:

- Instances
- Tables, including column family details

For guidance on using Data Catalog for data discovery and
tagging, see [Manage data assets using
Data Catalog](https://docs.cloud.google.com/bigtable/docs/manage-data-assets-using-data-catalog) in the
Bigtable documentation.

### Cloud SQL

Cloud SQL doesn't integrate with Data Catalog, but does
integrate with Knowledge Catalog. For more information, see
[Integrate your data sources with Knowledge Catalog](https://docs.cloud.google.com/dataplex/docs/integrate-data-sources).

### Dataproc Metastore

To integrate with Dataproc Metastore, enable the sync to
Data Catalog for new or existing services as described in
[Enabling Data Catalog sync](https://docs.cloud.google.com/dataproc-metastore/docs/data-catalog-sync#enabling-Data%20Catalog-sync).

### Sensitive Data Protection

Additionally, Data Catalog integrates with Sensitive Data Protection that
lets you scan specific Google Cloud resources for sensitive data
and send results back to Data Catalog in the form of tags.

For more information, see
[Sending Sensitive Data Protection scan results to Data Catalog](https://docs.cloud.google.com/sensitive-data-protection/docs/sending-results-to-dc).

### Spanner

When you store data in Spanner, metadata for the following Spanner
resources is synced to Data Catalog:

- Instances
- Databases
- Tables and views with column schema

For guidance on using Data Catalog for data discovery and
tagging, see [Manage data assets using
Data Catalog](https://docs.cloud.google.com/spanner/docs/dc-integration).

### Vertex AI

Vertex AI syncs metadata for the following resources to Data Catalog:

- [Model Registry Models](https://docs.cloud.google.com/vertex-ai/docs/model-registry/introduction)
- [Datasets](https://docs.cloud.google.com/vertex-ai/docs/datasets/overview)
- [Online store instances](https://docs.cloud.google.com/vertex-ai/docs/featurestore/latest/create-onlinestore)
- [Feature views](https://docs.cloud.google.com/vertex-ai/docs/featurestore/latest/create-featureview)
- [Feature groups](https://docs.cloud.google.com/vertex-ai/docs/featurestore/latest/create-featuregroup)

## Integrate on-premises data sources

To integrate on-premises data sources, you can use the corresponding
Python connectors contributed by the community:

> [!NOTE]
> **Note:** These connectors are not officially supported by Google.

1. Find your data source in the following table.
2. Open its GitHub repository.
3. Follow the setup instructions in the readme file.

Select a category RDBMS BI Hive

| Category | Component | Description | Repository |
|---|---|---|---|
| RDBMS | mysql-connector | Sample code for MySQL data source. | [google-datacatalog-mysql-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-mysql-connector) |
| RDBMS | postgresql-connector | Sample code for PostgreSQL data source. | [google-datacatalog-postgresql-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-postgresql-connector) |
| RDBMS | sqlserver-connector | Sample code for SQLServer data source. | [google-datacatalog-sqlserver-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-sqlserver-connector) |
| RDBMS | redshift-connector | Sample code for Redshift data source. | [google-datacatalog-redshift-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-redshift-connector) |
| RDBMS | oracle-connector | Sample code for Oracle data source. | [google-datacatalog-oracle-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-oracle-connector) |
| RDBMS | teradata-connector | Sample code for Teradata data source. | [google-datacatalog-teradata-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-teradata-connector) |
| RDBMS | vertica-connector | Sample code for Vertica data source. | [google-datacatalog-vertica-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-vertica-connector) |
| RDBMS | greenplum-connector | Sample code for Greenplum data source. | [google-datacatalog-greenplum-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-greenplum-connector) |
| RDBMS | rdbmscsv-connector | Sample code for generic RDBMS CSV ingestion. | [google-datacatalog-rdbmscsv-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-rdbmscsv-connector) |
| RDBMS | saphana-connector | Sample code for Sap Hana data source. | [google-datacatalog-saphana-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-rdbms/tree/master/google-datacatalog-saphana-connector) |
| BI | looker-connector | Sample code for Looker data source. | [google-datacatalog-looker-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-bi/tree/master/google-datacatalog-looker-connector) |
| BI | qlik-connector | Sample code for Qlik Sense data source. | [google-datacatalog-qlik-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-bi/tree/master/google-datacatalog-qlik-connector) |
| BI | tableau-connector | Sample code for Tableau data source. | [google-datacatalog-tableau-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-bi/tree/master/google-datacatalog-tableau-connector) |
| Hive | hive-connector | Sample code for Hive data source. | [google-datacatalog-hive-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-hive/tree/master/google-datacatalog-hive-connector) |
| Hive | apache-atlas-connector | Sample code for Apache Atlas data source. | [google-datacatalog-apache-atlas-connector](https://github.com/GoogleCloudPlatform/datacatalog-connectors-hive/tree/master/google-datacatalog-apache-atlas-connector) |

### Integrate unsupported data sources

If you can't find a connector for your data source, you can still manually
integrate it by creating entry groups and custom entries. To do that, you can:

- Use one of the [Data Catalog Client Libraries](https://docs.cloud.google.com/data-catalog/docs/reference/libraries) in one of the following languages: C#, Go, Java, Node.js, PHP, Python, or Ruby.
- Or manually build on the [Data Catalog API](https://docs.cloud.google.com/data-catalog/docs/reference).

To integrate your sources, first, learn about
[Entries and entry groups](https://docs.cloud.google.com/data-catalog/docs/entries-and-entry-groups), then
follow the instructions in
[Create custom Data Catalog entries for your data sources](https://docs.cloud.google.com/data-catalog/docs/how-to/custom-entries).

## What's next

- Learn more about [Identity and Access Management](https://docs.cloud.google.com/data-catalog/docs/concepts/iam).
- Learn [How to search](https://docs.cloud.google.com/data-catalog/docs/how-to/search).
- Go through the [Tagging tables](https://docs.cloud.google.com/data-catalog/docs/tag-bigquery-dataset) quickstart.