Creating a Connection
Requirements for MongoDB Connection
To establish a MongoDB connection, you will need:
The MongoDB URI which provides the full connection string to access your database.
Database name to specify which MongoDB database the connection should interact with.
Creating a Connection
Hereβs how you can create a MongoDB connection in PigeonsAI:
Example Output
The output URI from the connection will be used to create a train dataset below.
Security Best Practices
Connection Security
Ensure your MongoDB URI includes credentials (username and password) that are specific to a user with the appropriate level of access. It's recommended to use a user with read-only permissions to enhance security.
Data Access
Similar to the PostgreSQL connector, when data is pulled via the MongoDB connector, PigeonsAI accesses only the specified fields in the database. No other data is accessed or transferred, which aligns with data privacy and minimization principles.
IP Address Whitelisting
Data pulling your cloud/vpc
Last updated