2024-11-06 11:34:37 +05:30
---
title: Run the MicroStrategy Connector Externally
slug: /connectors/dashboard/microstrategy/yaml
---
{% connectorDetailsHeader
name="MicroStrategy"
stage="PROD"
platform="OpenMetadata"
2025-06-13 08:28:29 +05:30
availableFeatures=["Dashboards", "Charts", "Owners", "Datamodels", "Lineage"]
unavailableFeatures=["Tags", "Projects"]
2024-11-06 11:34:37 +05:30
/ %}
In this section, we provide guides and references to use the MicroStrategy connector.
Configure and schedule MicroStrategy metadata and profiler workflows from the OpenMetadata UI:
- [Requirements ](#requirements )
- [Metadata Ingestion ](#metadata-ingestion )
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/external-ingestion-deployment.md" /%}
2024-11-06 11:34:37 +05:30
## Requirements
To integrate MicroStrategy, ensure you are using OpenMetadata version 1.2.x or higher.
### Python Requirements
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/python-requirements.md" /%}
2024-11-06 11:34:37 +05:30
To run the MicroStrategy ingestion, you will need to install:
```bash
2024-11-28 18:50:42 +05:30
pip3 install "openmetadata-ingestion[microstrategy]"
2024-11-06 11:34:37 +05:30
```
## Metadata Ingestion
All connectors are defined as JSON Schemas.
[Here ](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/entity/services/connections/dashboard/mstrConnection.json )
you can find the structure to create a connection to MicroStrategy.
In order to create and run a Metadata Ingestion workflow, we will follow
the steps to create a YAML configuration able to connect to the source,
process the Entities if needed, and reach the OpenMetadata server.
The workflow is modeled around the following
[JSON Schema ](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/workflow.json )
### 1. Define the YAML Config
This is a sample config for MicroStrategy:
{% codePreview %}
{% codeInfoContainer %}
#### Source Configuration - Service Connection
{% codeInfo srNumber=1 %}
2024-11-28 18:50:42 +05:30
- **Username**: Username to connect to MicroStrategy, e.g., user@organization .com. This user should have access to relevant dashboards and charts in MicroStrategy to fetch the metadata.
2024-11-06 11:34:37 +05:30
{% /codeInfo %}
{% codeInfo srNumber=2 %}
2024-11-28 18:50:42 +05:30
- **Password**: Password of the user account to connect with MicroStrategy.
2024-11-06 11:34:37 +05:30
{% /codeInfo %}
{% codeInfo srNumber=3 %}
2024-11-28 18:50:42 +05:30
- **Host Port**: This parameter specifies the host of the MicroStrategy instance. This should be specified as a URI string in the format http://hostname or https://hostname.
2024-11-06 11:34:37 +05:30
2024-11-28 18:50:42 +05:30
For example, you might set it to https://demo.microstrategy.com.
2024-11-06 11:34:37 +05:30
{% /codeInfo %}
{% codeInfo srNumber=4 %}
2024-11-28 18:50:42 +05:30
- **Project Name**: The name of the project within MicroStrategy that OpenMetadata will connect to, linking to the relevant dashboards and reports for metadata retrieval.
{% /codeInfo %}
{% codeInfo srNumber=5 %}
- **Login Mode**: Login Mode for Microstrategy's REST API connection. You can authenticate with one of the following authentication modes: `Standard (1)` , `Anonymous (8)` . Default will be `Standard (1)` .
If you're using demo account for Microstrategy, it will be needed to authenticate through loginMode `8` .
2024-11-06 11:34:37 +05:30
{% /codeInfo %}
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/dashboard/source-config-def.md" /%}
2024-11-06 11:34:37 +05:30
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/ingestion-sink-def.md" /%}
2024-11-06 11:34:37 +05:30
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/workflow-config-def.md" /%}
2024-11-06 11:34:37 +05:30
{% /codeInfoContainer %}
{% codeBlock fileName="filename.yaml" %}
```yaml {% isCodeBlock=true %}
source:
2024-11-28 18:50:42 +05:30
type: microstrategy
2024-11-06 11:34:37 +05:30
serviceName: local_Mstr
serviceConnection:
config:
2024-11-28 18:50:42 +05:30
type: MicroStrategy
2024-11-06 11:34:37 +05:30
```
```yaml {% srNumber=1 %}
username: username
```
```yaml {% srNumber=2 %}
password: password
```
```yaml {% srNumber=3 %}
hostPort: http://hostPort
```
```yaml {% srNumber=4 %}
projectName: project
```
2024-11-28 18:50:42 +05:30
```yaml {% srNumber=5 %}
loginMode: "1"
```
2024-11-06 11:34:37 +05:30
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/dashboard/source-config.md" /%}
2024-11-06 11:34:37 +05:30
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/ingestion-sink.md" /%}
2024-11-06 11:34:37 +05:30
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/workflow-config.md" /%}
2024-11-06 11:34:37 +05:30
{% /codeBlock %}
{% /codePreview %}
2024-12-12 11:34:09 +05:30
{% partial file="/v1.7/connectors/yaml/ingestion-cli.md" /%}