> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Atlas Connector | Collate Metadata Integration

> Connect Apache Atlas to Collate seamlessly. Complete setup guide, configuration steps, and best practices for Atlas metadata connector integration.

![Atlas](https://docs.getcollate.io/public/images/connectors/atlas.webp)

# Atlas

PROD

This section provides guides and references to use the Atlas connector.
Configure and schedule Atlas metadata workflow from the Collate UI:

* [Requirements](#requirements)
* [Metadata Ingestion](#metadata-ingestion)
* [Troubleshooting](https://docs.getcollate.io/connectors/metadata/atlas/troubleshooting.md)

## Requirements

> [!TIP]
>
> **Tip**: Every table ingested will have a tag name `AtlasMetadata.atlas_table`. You can find all tags under
> Governance > Classification.

## Create Database and Messaging Services

You need to create at least a Database Service before ingesting the metadata from Atlas. Make sure to note down the name, because Collate uses it to create the Atlas Service.
For example, to create a Hive service, follow the steps in the Metadata Ingestion section below.

## Metadata Ingestion

To ingest metadata from Atlas, you need to create a service connection. The service connects Atlas with Collate. Once you create a service, Collate automatically starts ingesting metadata.

### Step 1: Add New Service

Open the Services page and start a new service.

1. Navigate to **Settings** > **Services** and select the **Metadata** service.

   ![Navigate to Services](https://mintcdn.com/collatedocs/uYKcw5sAfx_Tl0Ed/public/images/connectors/metadata-ingestion/classic/metadata/visit-services.png?fit=max\&auto=format\&n=uYKcw5sAfx_Tl0Ed\&q=85\&s=c70843195968bdc278af59a0310f8cbe)

2. Click **Add New Service**.

   ![Add New Service](https://mintcdn.com/collatedocs/uYKcw5sAfx_Tl0Ed/public/images/connectors/metadata-ingestion/classic/metadata/add-new-service.png?fit=max\&auto=format\&n=uYKcw5sAfx_Tl0Ed\&q=85\&s=94d9211bbbf6ffddf4fb809610ba3864)

### Step 2: Select a Service and Connector

From the service type dropdown, select **Metadata Services**, then click the **Atlas** connector tile.

![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=10be1e7ac328dab0f7871275513600e5)

### Step 3: Add Service Name and Description

* Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Atlas services you are ingesting metadata from.
* Optional: Enter a **Description** for the service.

![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=967a41df1886a6da43b0ed917ff6d5d5)

> [!NOTE]
>
> **Note**: The service name can't be changed after you set it.

### Step 4: Configure Connection Options

Specify where ingestion runs, provide your source credentials, and verify the connection.

#### Select Ingestion Runner

Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute.

![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487)

#### Enter Connection Details

Enter the connection details for Atlas. The right-hand panel in the UI displays inline help for each field.

![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1c3895c4e63534d39023fd437812a5d4)

* **Host and Port**: Host and port of the Atlas service.
* **Username**: username to connect to Atlas. This user should have privileges to read all the metadata in Atlas.
* **Password**: password to connect to Atlas.
* **databaseServiceName**: source database of the data source. This is the service created earlier: for example, `local_hive`.
* **messagingServiceName**: messaging service source of the data source.
* **Entity Type**: Name of the entity type in Atlas.

> [!TIP]
>
> **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format:
>
> ```
> password: secret:/my/database/password
> ```
>
> This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon).
> For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](https://docs.getcollate.io/getting-started/hybrid-ingestion-runner.md#manage-secrets).

#### Test Connection

1. Click **Test Connection** to verify the credentials.
2. After the test succeeds, click **Save**.

![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11)

### Step 5: Configure Ingestion Options

In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**.

Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section.

After deployment, you can monitor the ingestion status by navigating to **Settings** > **Services**, selecting your service, and viewing the ingestion pipeline.

> [!TIP]
>
> **Tip**: If [AutoPilot](https://docs.getcollate.io/how-to-guides/admin-guide/applications/autopilot.md) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes.

## Configure Metadata Agent and Schedule Ingestion

The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets.

When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page.

To configure the additional Metadata Agent and schedule ingestion, follow these steps:

1. Navigate to **Settings** > **Services** and select the **Metadata** service.

2. Select your service and click the **Agents** tab.

3. Click **Add Agent** and select **Metadata** from the dropdown.

   ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464)

   For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page.

4. On the **Configure Ingestion** page, do the following and click **Next**.

   * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline.

     ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239)

   * **Agent Setup**: Configure the core parameters for this agent. The following fields are available:

     | Field | Default | Description |
     | - | - | - |
     | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. |
     | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. |
     | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. |
     | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. |
     | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. |
     | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. |
     | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. |
     | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. |
     | Number of Threads | 1 | Number of threads to use for parallel table ingestion. |
     | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. |
     | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. |

     ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648)

   * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**.

     ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4)

   * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs:

     | Toggle | Default | Description |
     | - | - | - |
     | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. |
     | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. |
     | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. |
     | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. |
     | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. |
     | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. |
     | Include Tags | On | Ingest tags from the source. |
     | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. |
     | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. |
     | Include Stored Procedures | On | Ingest stored procedure metadata. |
     | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. |
     | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. |

     ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d)

5. On the **Schedule Interval** page, set when the agent runs:

   * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression.
   * **On-Demand**: No automatic schedule. Trigger the agent manually when needed.

   ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1)

6. Click **Add** to deploy the agent.

## Troubleshooting

> [card] [Atlas Troubleshooting](https://docs.getcollate.io/connectors/metadata/atlas/troubleshooting.md)
>
> Learn more about how to troubleshoot common Atlas connector issues and resolve configuration or ingestion errors.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.