hi there! we have two data sources in our growthbo...
# ask-questions
n
hi there! we have two data sources in our growthbook setup - google analytics and snowflake. we're only been using google analytics, but i want to set up my first experiment using snowflake and need to add some targeting attributes to make that possible. how should i handle using two different data sources, with different attributes for each? any recommendations or best practices on how i can do that?
for additional context, i created a feature flag (nowhere to select data source), then an experiment against that feature flag (once again, nowhere to select data source in that step), and finally added a metric using my snowflake data source to that experiment and got this error:
f
Hi Jo, it will be best to have the data source project scoped to keep the data sources, features and experiments separate. On the datasource wizard, you can set the project:
n
@flaky-noon-11399 thanks for your response! the data source projects are scoped, but we have two data sources scoped to the same project. i'm still unable to set up an experiment with a metric from my snowflake data source due to the experiment assignment error screenshot above. is there anything i can look into?
f
The experiment will need to be in the applicable project and then there will be a drop down for you to select the Snowflake data source. When the experiment is project scoped to the applicable project and has the Snowflake datasource also selected in the experiment config, are you still reproducing the error? If so, can you share a screenshot of the experiment overview tab and also the Snowflake datasource overview?
You can edit out any identifiable information in the screenshots as this is a Community Slack
n
I didn't see anywhere to set the data source as snowflake when setting up the experiment, where is that meant to happen? i've set up a feature flag --> against the feature flag a new experiment rule
Screenshot 2025-05-07 at 12.29.49 PM.png,Screenshot 2025-05-07 at 12.30.04 PM.png
f
Hi Jo, when you go to the affected experiment > experiment overview tab > analysis settings > edit> you will be able toedit the data source for the experiment as shown in the screenshot. Are you able to select the Snowflake data source from the dropdown menu?