# MongoDB

Apica Ascent lets you connect to your MongoDB for seamless Querying of data

### Adding MongoDB to Apica Ascent

The first step is to create a MongoDB data source and provide all details such as the Name of the data source, Connection String, and the Database Name of your MongoDB. Optionally you can add Replica Set Name

![Selecting MongoDB data source](/files/KHzl0un5sa2EUNJw37WE)

![Adding MongoDB](/files/N9LAgRkHuaHUDX82LDra)

### Querying MongoDB

The next step is to Navigate to the Query editor page and start Querying your data from your MongoDB

![Querying MongoDB data](/files/NZeRJCTWV4qwZr5amgW7)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/data-sources/nosql-data-sources/mongodb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
