<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSIS MongoDB Connection Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/category/ssis/connection-manager/ssis-mongodb-connection/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/category/ssis/connection-manager/ssis-mongodb-connection/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Thu, 11 Dec 2025 12:38:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>SSIS MongoDB Connection Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/category/ssis/connection-manager/ssis-mongodb-connection/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to connect to MongoDB Atlas Replica Set Cluster in SSIS</title>
		<link>https://zappysys.com/blog/connect-mongodb-atlas-ssis-replicaset/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Tue, 12 May 2020 17:41:27 +0000</pubDate>
				<category><![CDATA[SSIS MongoDB Connection]]></category>
		<category><![CDATA[atlas]]></category>
		<category><![CDATA[MongoDB]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=8888</guid>

					<description><![CDATA[<p>Introduction In our previous post, we discovered how to read and write MongoDB data using ZappySys MongoDB Source and Destination SSIS connectors. However, it was all about connecting to the on-premises hosted version of MongoDB. In this post, we will focus on connecting specifically to the Replica Set Cluster in MongoDB Atlas (a cloud database service by MongoDB). After [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/connect-mongodb-atlas-ssis-replicaset/">How to connect to MongoDB Atlas Replica Set Cluster in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><img decoding="async" class="size-full wp-image-2115 alignleft" src="https://zappysys.com/blog/wp-content/uploads/2017/08/mongodb-logo.png" alt="" width="88" height="88" />In our previous post, we discovered how to read and write MongoDB data using <a href="https://zappysys.com/products/ssis-powerpack/ssis-mongodb-source/" target="_blank" rel="noopener">ZappySys MongoDB Source</a> and <a href="https://zappysys.com/products/ssis-powerpack/ssis-mongodb-destination/" target="_blank" rel="noopener">Destination</a> SSIS connectors. However, it was all about connecting to the on-premises hosted version of MongoDB. In this post, we will focus on connecting specifically to the <em>Replica Set Cluster </em>in <a href="https://www.mongodb.com/atlas/database" target="_blank" rel="noopener"><em>MongoDB Atlas</em></a> (a cloud database service by MongoDB). After you complete the steps listed below, you will be able to get and push data using the same MongoDB SSIS connectors, but this time — in MongoDB Atlas. Let&#8217;s not waste our precious time and begin!</p>
<div class="content_block" id="custom_post_widget-2523"><h2><span id="Prerequisites">Prerequisites</span></h2>
Before we perform the steps listed in this article, you will need to make sure the following prerequisites are met:
<ol style="margin-left: 1.5em;">
 	<li><abbr title="SQL Server Integration Services">SSIS</abbr> designer installed. Sometimes it is referred to as <abbr title="Business Intelligence Development Studio">BIDS</abbr> or <abbr title="SQL Server Data Tools">SSDT</abbr> (<a href="https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt" target="_blank" rel="noopener">download it from the Microsoft site</a>).</li>
 	<li>Basic knowledge of SSIS package development using <em>Microsoft SQL Server Integration Services</em>.</li>
 	<li>Make sure <span style="text-decoration: underline;"><a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a></span> is installed (<a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">download it</a>, if you haven't already).</li>
 	<li>(<em>Optional step</em>)<em>.</em> <a href="https://zappysys.zendesk.com/hc/en-us/articles/360035974593" target="_blank" rel="noopener">Read this article</a>, if you are planning to deploy packages to a server and schedule their execution later.</li>
</ol></div>
<h2>MongoDB Atlas connection setup in SSIS</h2>
<p>In this article, we are going to demonstrate how to create the <em>MongoDB Connection Manager, </em>which is used by <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-executesql-task/">MongoDB ExecuteSQL Task</a>, <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-source/">MongoDB Source,</a> and <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-destination/">MongoDB Destination</a> SSIS connectors. Let&#8217;s start by following these simple steps:</p>
<ol style="margin-left: 1.5em;">
<li>First, <a href="https://zappysys.com/products/ssis-powerpack/download/" target="_blank" rel="noopener">download and install SSIS PowerPack</a>.</li>
<li>Once you installed SSIS PowerPack, open Visual Studio, and create a new SSIS project with a new SSIS package.</li>
<li>Then open the created package and right-click on the <em>Connection Managers</em> panel to create a new MongoDB connection. When a context menu appears, select the <em>New Connection&#8230;</em> menu item:<br />
<img decoding="async" class="figureimage" title="SSIS Create New Connection" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/ssis-new-connection.png" alt="SSIS Create New Connection" /></li>
<li>Next, select the <em>ZS-MONGODB</em> option from the connection manager list and click <em>Add&#8230;</em> button:<br />
<img decoding="async" class="figureimage" title="MongoDB Storage Connection" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/mongodb-connection/ssis-mongodb-executesql-task-connection.png" alt="MongoDB Connection" /></li>
<li>This will open the <em>MongoDB Connection Manager</em> configuration window. For now, let&#8217;s leave it open, and first go to your <a href="https://cloud.mongodb.com/" target="_blank" rel="noopener">MongoDB Atlas account</a> to get all MongoDB Atlas Cluster instance information for <em>MongoDB Connection Manager </em>configuration<em>.</em></li>
<li>Once you are on the MongoDB Atlas landing page, continue by selecting the cluster you want to connect to (<a href="https://docs.mongodb.com/guides/cloud/connectionstring/" target="_blank" rel="noopener">make sure you white-list your IP first</a>). After the window appears, select the <em>Compass</em> option:
<div id="attachment_10417" style="width: 753px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/connect-mongodb-atlas-ssis-replicaset/01-mongodb-atlas-select-shell-option-to-connect-to-ssis-3/#main" rel="noopener"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-10417" class="wp-image-10417 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/05/01-MongoDB-Atlas-select-shell-option-to-connect-to-SSIS-2.png" alt="" width="743" height="473" srcset="https://zappysys.com/blog/wp-content/uploads/2020/05/01-MongoDB-Atlas-select-shell-option-to-connect-to-SSIS-2.png 743w, https://zappysys.com/blog/wp-content/uploads/2020/05/01-MongoDB-Atlas-select-shell-option-to-connect-to-SSIS-2-300x191.png 300w" sizes="(max-width: 743px) 100vw, 743px" /></a><p id="caption-attachment-10417" class="wp-caption-text">Connecting to MongoDB Atlas Replica Set Cluster</p></div></li>
<li>Then proceed by simply copying and pasting the configuration information into the <em>MongoDB Connection Manager </em>we left to rest for a while. Move on by filling in your database credentials and the database you are connecting to. Also, don&#8217;t forget to enable SSL. Just patiently follow the numbers in orange circles below and you will be done faster than you think!
<div id="attachment_10415" style="width: 843px" class="wp-caption alignnone"><a href="https://zappysys.com/blog/connect-mongodb-atlas-ssis-replicaset/02-mongodb-atlas-copy-the-connection-string-to-use-in-ssis-or-odbc-3/#main" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-10415" class="wp-image-10415 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/05/02-MongoDB-Atlas-copy-the-connection-string-to-use-in-SSIS-or-ODBC-2.png" alt="" width="833" height="1289" srcset="https://zappysys.com/blog/wp-content/uploads/2020/05/02-MongoDB-Atlas-copy-the-connection-string-to-use-in-SSIS-or-ODBC-2.png 833w, https://zappysys.com/blog/wp-content/uploads/2020/05/02-MongoDB-Atlas-copy-the-connection-string-to-use-in-SSIS-or-ODBC-2-194x300.png 194w, https://zappysys.com/blog/wp-content/uploads/2020/05/02-MongoDB-Atlas-copy-the-connection-string-to-use-in-SSIS-or-ODBC-2-768x1188.png 768w, https://zappysys.com/blog/wp-content/uploads/2020/05/02-MongoDB-Atlas-copy-the-connection-string-to-use-in-SSIS-or-ODBC-2-662x1024.png 662w" sizes="(max-width: 833px) 100vw, 833px" /></a><p id="caption-attachment-10415" class="wp-caption-text">Configuring MongoDB Atlas connection in SSIS by setting the host, user name, password, and database options</p></div>
<div id="attachment_8892" style="width: 616px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8892" class="wp-image-8892 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-atlas-connection-replicaset-options.png" alt="Specify Replica Set Name" width="606" height="295" srcset="https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-atlas-connection-replicaset-options.png 606w, https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-atlas-connection-replicaset-options-300x146.png 300w" sizes="(max-width: 606px) 100vw, 606px" /><p id="caption-attachment-8892" class="wp-caption-text">Specifying MongoDB connection string options (i.e. <em>replicaSet</em> and <em>authSource</em> options)</p></div>
<div id="attachment_8891" style="width: 614px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8891" class="wp-image-8891 size-full" src="https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-enable-ssl-encrypt.png" alt="Enable SSL Connection - Required for MongoDB Atlas (Encrypted Data Transfer)" width="604" height="511" srcset="https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-enable-ssl-encrypt.png 604w, https://zappysys.com/blog/wp-content/uploads/2020/05/ssis-mongodb-enable-ssl-encrypt-300x254.png 300w" sizes="(max-width: 604px) 100vw, 604px" /><p id="caption-attachment-8891" class="wp-caption-text">Enabling SSL Connection in MongoDB Connection Manager in SSIS (for encrypted data transfer)</p></div></li>
<li>Finally, press the <em>Test Connection</em> button to test the connection. If the test is successful, you can move on and start performing data operations on the MongoDB collections.</li>
</ol>
<p>That&#8217;s it — you can now use the <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-executesql-task/">MongoDB ExecuteSQL Task</a>, <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-source/">MongoDB Source,</a> and <a href="//zappysys.com/products/ssis-powerpack/ssis-mongodb-destination/">MongoDB Destination</a> as described in the below articles:</p>
<ul>
<li><a href="https://zappysys.com/blog/call-mongodb-javascript-using-ssis-execute-sql-task/" target="_blank" rel="noopener">How to call MongoDB JavaScript using SSIS<br />
</a></li>
<li><a title="Permalink to Read MongoDB data from array (extract nested sub documents)" href="https://zappysys.com/blog/read-mongodb-data-from-array-extract-nested-sub-documents/" target="_blank" rel="bookmark noopener">How to read MongoDB data from an array (extract nested subdocuments)</a></li>
<li><a title="Permalink to How to write MongoDB Aggregation Queries in SSIS (Group By)" href="https://zappysys.com/blog/aggregate-mongodb-data-using-group-by-query-in-ssis/" target="_blank" rel="bookmark noopener">How to write MongoDB Aggregation Queries in SSIS (Group By)</a></li>
<li><a title="Permalink to SSIS – Loading data into MongoDB (Upsert, Delete, Update)" href="https://zappysys.com/blog/ssis-loading-data-into-mongodb-upsert-update-delete-insert/" target="_blank" rel="bookmark noopener">How to load SQL data into MongoDB (Insert, Upsert, Delete, Update)</a></li>
<li><a title="Permalink to Update MongoDB Array Items using SSIS" href="https://zappysys.com/blog/update-mongodb-array-items-using-ssis/" target="_blank" rel="bookmark noopener">How to update MongoDB Array Items using SSIS</a></li>
</ul>
<p>The post <a href="https://zappysys.com/blog/connect-mongodb-atlas-ssis-replicaset/">How to connect to MongoDB Atlas Replica Set Cluster in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
