There isn't much to it really, once you setup your db on atlas you can use the connection string in the uri parameter in your nodebb's config.json like so

"uri": "mongodb+srv://<username>:<password>@cluster0.myqqq.mongodb.net/<database_name>?retryWrites=true&w=majority"