Hey there!! i am using growthbook for about a mon...
# ask-questions
i
Hey there!! i am using growthbook for about a month for the purpose of feature flagging,, meanwhile i came across the experimentation and metrics part of growthbook,, gone trough the documentation part, but still in a bit confusion about how to set up the data sources and all in growthbook using postgres, any help will be highly appreciated. Thank you in advance.
f
How far did you get?
the data sources should contain event data
when you add a data source, the main query you need to set up is how to get which users were assigned to which experiment (the assignment query)
if you're using a comment event source, then we will default queries for you
i
i am able to configure my data source as postgres which is an empty DB, and as an event tracker i am using the custom option.
as you mentioned, the data source should contain the event data, event data in sense? do we have to set the event data prior to the following steps which we follow to set up the data source?
hey @fresh-football-47124 any thing you want to add up to the above conversation?
f
you can connect to an empty database
but its not going to show you any AB test results
you'll need some way to get event data into your db
if you're building something custom, you can look at Jitsu
or use a commercial event tracker like Rudderstack or Segment
i
are we suppose to capture the event data in SDK's tackingCallBack and populate it in the db?
f
yep
i
okay. That helps. Thankyou @fresh-football-47124
f
if you dont want to build your own db and event tracking system, we are currently testing out hosted warehouse option
for our cloud
i
ohh that is cool
waiting to get it released and get my hands dirty on it
f
its in beta atm, if you want to be considered for it, send me a dm
i
okay