# MongoDB Configuration

`MONGODB_URI="mongodb://mongo:27017"`

MongoDB connection URL, required if using "mongo" execution driver.

`MONGODB_DATABASE="sorry-cypress"`

MongoDB database name, required if using "mongo" execution driver.

`MONGODB_TLS`

TLS connection settings, settings to `true` will enable TLS for MongoDB connection

`MONGODB_AUTH_MECHANISM`

MongoDB authentication mechanism. See [MongoDB Authentication](https://mongodb.github.io/node-mongodb-native/3.0/tutorials/connect/authenticating/).

`MONGODB_USER`

MongoDB authentication user, when `MONGODB_AUTH_MECHANISM` is non-empty

`MONGODB_PASSWORD`

MongoDB authentication `password`, when `MONGODB_AUTH_MECHANISM` is non-empty

\`\`


---

# 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.sorry-cypress.dev/configuration/mongodb-configuration.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.
