Use MongoDB as Tracker Store

can i use my mongodb atlas as my tracker store and if so i need some help in how to fill out the required info:

my uri:

mongodb+srv://mglall:password@mg.m8axd.mongodb.net/myFirstDatabase
tracker_store:
    type: mongod
    url: <url to your mongo instance, e.g. mongodb://localhost:27017>
    db: <name of the db within your mongo instance, e.g. rasa>
    username: <username used for authentication>
    password: <password used for authentication>
tracker_store:
    type: mongod
    url: mongodb://mg.m8axd.mongodb.net
    db: myFirstDatabase
    username: mglall
    password: password
1 Like

Hi,

How to use vault here to get the username and password from vault for the mongodb tracker store in endpoints.yml file?

Thanks in advance.

I can’t use this with Rasa 3.5.5. Any clues?

My URI:

mongodb+srv://ronnyvu321:<password>@rasa.uaxiylm.mongodb.net/?retryWrites=true&w=majority

Tracker store:

tracker_store:
   type: mongod
   url: mongodb://rasa.uaxiylm.mongodb.net
   db: rasa
   username: ronnyvu321
   password: password