Docs Menu

Connect to Your Federated Database Instance

On this page

  • Prerequisites
  • Procedure
  • Next Steps

This page guides you through the steps for connecting to the federated database instance to query your Data Lake dataset.

Before you begin, you must have the following:

1

To navigate to the Atlas Data Federation page:

  1. Log in to MongoDB Atlas.
  2. Select Data Federation under Data Services on the left-hand navigation.
2
Example

If you are connecting to the federated database instance for querying the Atlas Data Lake dataset that you created using the examples, click Connect for DataLake0.

3

You can connect using mongosh, a MongoDB Driver, and MongoDB Compass. To learn how to get the connection string for your client, click the tab below for your connection method.

If you are following the examples in the steps for deploying an Atlas Data Lake for the sample_mflix.movies collection and setting up a federated database instance for this Data Lake dataset, click the MongoDB Shell tab below to connect using mongosh.

4

Now that you are connected to your federated database instance, proceed to Run Queries Against Your Data Lake Dataset.

←  Set Up a Federated Database Instance for Your DatasetRun Queries Against Your Data Lake Dataset →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.