- Primary Setup Steps
- Web
- iOS
- Android
- CTV
- API Direct
Determine SFMC Subdomain
- Log in to Salesforce Marketing Cloud
- Navigate to “Administration” (under your email address in top-right, where logout is)
- Click the “General Settings” box
- Locate the “Portfolio Base URL” or “SOAP WSDL” field
- Extract the subdomain (the text between
https://and the first.)- Example:
https://my-subdomain.soap.marketingcloudapis.com/Service.asmx→ subdomain ismy-subdomain
- Example:
Configure API Integration for Each Business Unit
- In SFMC, navigate to “Installed Packages” under the “Account” dropdown (top-left)
- Click the “New” button in the top right
- Enter a name and description (e.g., “Permutive {name-of-business-unit}”)
- Click “Add Component” and select “API Integration” (should be automatically selected)
- Ensure “Perform server-to-server requests” is checked (should be auto-selected)
- Scroll down to “Data” section
- Under “Data Extensions”, grant both “Read” and “Write” permissions
- In the new “API Integration” box under “Components”, record the following for each Business Unit:
- Client ID - Specific to this Business Unit
- Client Secret - Specific to this Business Unit
- Subdomain - Should match the subdomain you determined in Step 1
- Keep these credentials secure and note which Business Unit they correspond to
Enable Integration in Permutive Dashboard
- Navigate to the Permutive dashboard
- Go to “Settings” → “Integrations”
- Find “Salesforce Marketing Cloud” and click “Add Integration”
- Enter your SFMC subdomain (from Step 1)
- Select Subscriber Key Type - Choose whether your SFMC Subscriber Keys are “text” or “number”
- Configure each Business Unit you want to activate cohorts to:
- Name - Enter a descriptive name for the Business Unit (alphanumeric, spaces allowed)
- This name is used in the Permutive dashboard for reference
- It’s also used in the Data Folder name created in SFMC (e.g.,
Permutive (Sales)) - Does not need to match the MID in Marketing Cloud
- Client ID - Enter the Client ID from the API Integration (from Step 2)
- Client Secret - Enter the Client Secret from the API Integration (from Step 2)
- Identity Type / Alias Tag - Specify the identity type that should be synced from Permutive to SFMC
- This must match the identity you pass via
permutive.identifyin the SDK - Example: if you use
permutive.identify([{id: "12345", tag: "sfmc", priority: 0}]), entersfmchere
- This must match the identity you pass via
- Name - Enter a descriptive name for the Business Unit (alphanumeric, spaces allowed)
- To add additional Business Units, click the ”+ Business unit” button and repeat the configuration
- Click “Save” to complete the integration setup
Configure Cohort Activation
- In the Permutive dashboard, navigate to one of your cohorts
- Look for the Salesforce Marketing Cloud activation option
- Select the Business Unit you want to send the cohort data to
- Set the activation to fire “Every Time” a user enters or exits the cohort
- Enable the activation
Permutive (\{business-unit-name\}).Verify Setup
- Navigate to “Data Extensions” in SFMC
- Look for the Data Folder named
Permutive (\{business-unit-name\}) - Inside the folder, you should see Data Extensions corresponding to your activated cohorts
- Each Data Extension should contain:
subscriber_key: The user ID from Permutivetimestamp: When the user entered the cohort
- As users enter and exit cohorts, rows will be added and removed from the Data Extensions