Retool connects directly to MongoDB using secure credentials or connection strings stored as encrypted Retool resources.