https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
c

crooked-grass-27007

03/08/2023, 12:47 PM
Hi, can we export Mixpanel cohorts to GrowthBook so we can create feature flag conditions for different cohorts?
f

fresh-football-47124

03/08/2023, 7:08 PM
This is possible, though not completely straight forward. Our SDKs do assignment locally, so that data would need to be available where you’re running the SDK. If that data exists, then using that data for targeting is easy.
c

crooked-grass-27007

03/08/2023, 10:46 PM
So from client side we have to send some segment information to GrowthBook and then use that segment for feature flag condition??
f

fresh-football-47124

03/08/2023, 10:47 PM
you would send it to your code where the SDK is running - the only thing GrowthBook needs is the name of the attribute your passing in
like if you did
Copy code
setAttributes({ id: ...., cohort: 3 });
Then in GrowthBook you can target to
cohort
in the feature or experiment
or any combination of attributes
happy to jump on a call if you need some more help
c

crooked-grass-27007

03/13/2023, 2:48 PM
Is there any API that I can use on BE to sync Mixpanel cohorts to GrowthBook. Don’t want to go through client SDK on mobile to setAttribute.
I can jump on call to explain my usecase, do you time today?
f

fresh-football-47124

03/13/2023, 6:56 PM
yes
Sorry for the delay
25 Views