Hi, can we export Mixpanel cohorts to GrowthBook s...
# ask-questions
c
Hi, can we export Mixpanel cohorts to GrowthBook so we can create feature flag conditions for different cohorts?
f
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
So from client side we have to send some segment information to GrowthBook and then use that segment for feature flag condition??
f
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
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
yes
Sorry for the delay