Connect to MongoDB

Hi,

(how) can I connect my Wix content manager to a MongoDB database?

Best
Jan

Hello! Did you know that Wix collections are built on MongoDB? Regardless, if you want to use your own database, outside of Wix you can check out this article on external databases . You will want to take a look at the adaptor project to set up your own implementation.

Hi Amanda, unfortunately it seems that the adaptor doesn’t work correctly. I already filed a ticket and was promised that it would get passed on to the Velo team. If you maybe are the one team member that can help, I’d be delighted to show you in detail where the connection breaks. The most problematic thing seems to be that the ‘permissions’ in the secret file do not unfold any impact. The Wix system looks at the data as if they should be hidden to anybody but the admin. But obviously I want to show the data to the users - otherwise I wouldn’t try to connect the website to the external databases…

Hello! I’m glad you already filed a ticket as that would be my next suggestion. You are correct that at a default, permissions are admin only but support will be able to tell you more about the difficulty in modifying this.

As for me, I work in developer relations so I’m not able to fix your problem as I do not develop the product itself but am here to support developers using our products.