db = new Mongo().getDB("bot"); db.createCollection('authorizations'); db.authorization.insert([ { app: "tester", secret: "test" } ])