2023-12-13 14:03:08 +01:00
---
title: MongoDB
slug: /connectors/database/mongodb
---
# MongoDB
{% multiTablesWrapper %}
| Feature | Status |
| :----------------- | :--------------------------- |
2024-01-10 12:48:42 +05:30
| Stage | BETA |
2023-12-13 14:03:08 +01:00
| Metadata | {% icon iconName="check" /%} |
| Query Usage | {% icon iconName="cross" /%} |
2024-02-23 10:28:10 +01:00
| Data Profiler | {% icon iconName="check" /%} |
2023-12-13 14:03:08 +01:00
| Data Quality | {% icon iconName="cross" /%} |
2024-01-10 12:48:42 +05:30
| Stored Procedures | {% icon iconName="cross" /%} |
| Owners | {% icon iconName="cross" /%} |
| Tags | {% icon iconName="cross" /%} |
| DBT | {% icon iconName="cross" /%} |
2023-12-13 14:03:08 +01:00
| Supported Versions | -- |
| Feature | Status |
| :----------- | :--------------------------- |
2024-01-10 12:48:42 +05:30
| Lineage | {% icon iconName="cross" /%} |
2023-12-13 14:03:08 +01:00
| Table-level | {% icon iconName="cross" /%} |
| Column-level | {% icon iconName="cross" /%} |
{% /multiTablesWrapper %}
In this section, we provide guides and references to use the MongoDB connector.
Configure and schedule MongoDB metadata workflows from the OpenMetadata UI:
- [Requirements ](#requirements )
- [Metadata Ingestion ](#metadata-ingestion )
2024-02-23 10:28:10 +01:00
- [Data Profiler ](#data-profiler )
2023-12-13 14:03:08 +01:00
{% partial file="/v1.3/connectors/ingestion-modes-tiles.md" variables={yamlPath: "/connectors/database/mongodb/yaml"} /%}
## Requirements
To fetch the metadata from MongoDB to OpenMetadata, the MongoDB user must have access to perform `find` operation on collection and `listCollection` operations on database available in MongoDB.
## Metadata Ingestion
{% partial
file="/v1.3/connectors/metadata-ingestion-ui.md"
variables={
connector: "MongoDB",
selectServicePath: "/images/v1.3/connectors/mongodb/select-service.png",
addNewServicePath: "/images/v1.3/connectors/mongodb/add-new-service.png",
serviceConnectionPath: "/images/v1.3/connectors/mongodb/service-connection.png",
}
/%}
{% stepsContainer %}
{% extraContent parentTagName="stepsContainer" %}
#### Connection Details
- **Username**: Username to connect to Mongodb. This user must have access to perform `find` operation on collection and `listCollection` operations on database available in MongoDB.
- **Password**: Password to connect to MongoDB.
- **Host Port**: The hostPort parameter specifies the host and port of the MongoDB. This should be specified as a string in the format `hostname:port` . E.g., `localhost:27017` .
- **databaseName**: Optional name to give to the database in OpenMetadata. If left blank, we will use default as the database name.
{% partial file="/v1.3/connectors/database/advanced-configuration.md" /%}
{% /extraContent %}
{% partial file="/v1.3/connectors/test-connection.md" /%}
{% partial file="/v1.3/connectors/database/configure-ingestion.md" /%}
{% partial file="/v1.3/connectors/ingestion-schedule-and-deploy.md" /%}
{% /stepsContainer %}
{% partial file="/v1.3/connectors/troubleshooting.md" /%}
{% partial file="/v1.3/connectors/database/related.md" /%}
2024-02-23 10:28:10 +01:00
## Data Profiler
{%inlineCallout icon="description" bold="OpenMetadata 1.3.1 or later" href="/deployment"%}
To deploy OpenMetadata, check the Deployment guides.
{%/inlineCallout%}
[Profiler deployment ](/connectors/ingestion/workflows/profiler )
### Limitations
The MongodDB data profiler current supports only the following features:
1. **Row count** : The number of rows in the collection. Sampling or custom query is not supported.
2. **Sample data:** If a custom query is defined it will be used for sample data.