Hi everyone! Happy weekend! First day to the growt...
# ask-questions
h
Hi everyone! Happy weekend! First day to the growthbook, already read docs, confused. In production I am using NoSQL DB (mongo). How to add that to GrowthBook Data Source? Or should I mannually upload a json-like data file?
r
Hi Yupeng, thanks for reaching out. Are you self-hosting GrowthBook or using the cloud-based offering? The reason I ask is that if you are self-hosting, you will need a MongoDB instance to store data related to your usage of GrowthBook, but it does not store experiment data. If you are cloud-hosting, you don't need to worry about (or even use) MongoDB.
You can view a list of the Data Sources we support here, in the left navigation bar: https://docs.growthbook.io/app/datasources
MongoDB would technically be classified as a data warehouse, not a data source. For data warehouses, they must support SQL. Thus, MongoDB would not work as a data warehouse for GrowthBook.
I know these distinctions might be a little confusing. Please let me know if you have any follow-up questions. Welcome to GrowthBook!
🙏 1
h
Hi August! I'm self-hosting GrowthBook. Thanks for your clarification between data warehouse and data source!
My next question is, how to upload (or auto-sync) my experiment data to GrowthBook? Those data are stored in a different mongo instance, with user_id, age, label, etc.
r
Hi Yupeng! Ryan jumping in here. The way GrowthBook works is warehouse native, which means that it queries data from a source like GA/BigQuery to analyze experiments—it doesn't store any experiment result data itself. Here are a list of supported data data warehouses (but as August said, any SQL source can work). That also means that you can't use MongoDB directly as data source.
🥺 1
h
Thanks Ryan! Nice and clear! Do GrowthBook team have a plan to support mongoDB as data source? Transfer to SQL source means a lot of extra work to my project.
r
Not at the moment, but let me see if anyone on the team has any other ideas.
👍 1
Unfortunately, we haven't seen any customers doing this and don't have any suggestions at the moment. You would either need to convert your DB to SQL or store the event data somewhere else to work with GrowthBook.
h
I will try SQL. It seems to be a tough but necessary action. Thanks for your great support!
👍 1