@@ -11,6 +11,7 @@ export type CohortProviderAuthRow = {
1111export type CohortProviderConfig = {
1212 label : string
1313 authRows : CohortProviderAuthRow [ ]
14+ docsUrl : string
1415 // Providers where the user pastes a URL themselves carry an endpoint;
1516 // Amplitude calls Flagsmith's portal-registered endpoints instead.
1617 endpoint ?: {
@@ -29,6 +30,8 @@ export const COHORT_PROVIDERS: Record<CohortProviderKey, CohortProviderConfig> =
2930 authRows : [
3031 { label : 'API key' , mono : true , value : '{YOUR_SYNCHRONISATION_KEY}' } ,
3132 ] ,
33+ docsUrl :
34+ 'https://docs.flagsmith.com/third-party-integrations/cohort-synchronisation/amplitude' ,
3235 endpointStepBody :
3336 'In Amplitude, open Data → Destinations and add Flagsmith as a cohort destination. Paste your synchronisation key when asked for the API key.' ,
3437 endpointStepTitle : 'Add Flagsmith as a destination in Amplitude' ,
@@ -43,6 +46,8 @@ export const COHORT_PROVIDERS: Record<CohortProviderKey, CohortProviderConfig> =
4346 { label : 'Username' , value : 'Any value' } ,
4447 { label : 'Password' , mono : true , value : '{YOUR_SYNCHRONISATION_KEY}' } ,
4548 ] ,
49+ docsUrl :
50+ 'https://docs.flagsmith.com/third-party-integrations/cohort-synchronisation' ,
4651 endpoint : {
4752 fieldTitle : 'Webhook URL' ,
4853 path : 'cohort-sync/mixpanel/webhook/' ,
0 commit comments