Exchanging Data with Mongo DB Server – Cognigy.AI Help Center
Exchanging Data with Mongo DB Server
Cognigy Support
March 29, 2021
Challenge
You want to read data from or write data to a NoSQL Mongo DB database table.
Solution
Create a Database Connection
In order to use the database inside Cognigy.AI, a Connection needs to be created. In this case, the following values are required:
- connectionString
- A Mongo DB Connection URL also called connection string
The connection string can be created based on the database information, for example:
- With Access Control
- mongodb://username:password@mongodb.example.com:27017/?authSource=admin
- Without Access Control
- mongodb://mongodb.example.com:27017
Please read the following documentation for more information:
Use Mongo DB Flow Nodes
One can query Mongo DB using Cognigy.AI's inbuilt nodes: https://docs.cognigy.com/docs/mongo-db
PH20201118
QnA
- Exchanging data with Microsoft SharePoint
- Exchanging data with Microsoft SQL Server (MSSQL)
- Using CognigyScript in Twilio Twiml XML
- How can I adjust the style of the Webchat Widget
- Accessing Information about the Cognigy.AI API
- Trigger Microsoft Power Automate Flows
- Handling HTTP Request Errors
- How to add a member to your virtual agent
- Add a new user to your Cognigy.AI organization
- Identifying a Unique Endpoint via analytics