Integrate Salesforce Marketing Cloud using OAuth 2.0
Integrate your ServiceNow instance with Salesforce Marketing Cloud services by using OAuth 2.0.
| Process | Required user role in the Salesforce Marketing Cloud application | Authentication scopes |
|---|---|---|
| Download subscriptions | User | Users : Read |
| Pull user activity | User | Users : Read |
| Reclaim subscription | User | Users : Write |
| Download consumptions | User | Data Extensions : Read, Write |
Create Salesforce Marketing Cloud OAuth 2.0 credentials
Create Salesforce Marketing Cloud OAuth 2.0 credentials to get access to Salesforce Marketing Cloud APIs.
このタスクについて
The credentials must be created in the Salesforce Marketing Cloud Spoke application scope.
始める前に
Role required: Salesforce Marketing Cloud admin
このタスクについて
For accessing user licenses and data extension, the connection configuration must be set up in the parent business unit. If the configuration is set up in a child business unit, it might not be able to access data from the parent business unit.
手順
Create a Contacts Counts report in Salesforce Marketing Cloud
Create a Contacts Counts report to retrieve and display the total number of billable contacts in your Salesforce Marketing Cloud account.
始める前に
Salesforce Marketing Cloud Role required: admin
手順
Create a data extension for your Contacts Counts report
Create a data extension to store your Contacts Counts report data on your Salesforce Marketing Cloud instance.
始める前に
Salesforce Marketing Cloud Role required: admin
このタスクについて
手順
Build an automation to import Contacts Counts report data in your data extension
Create an automation to automatically import Contacts Counts report data into your data extension after the report is generated.
始める前に
Salesforce Marketing Cloud Role required: admin
手順
Retrieve Contacts Counts report data manually
After you create the Contacts Counts report, data extension, and automation, you can retrieve report data between your scheduled report and automation jobs by running these jobs manually.
始める前に
Salesforce Marketing Cloud Role required: admin
このタスクについて
Your Salesforce Marketing Cloud instance runs the report and automation jobs automatically based on the schedules that you define. If you want to retrieve Contacts Counts report data before the next scheduled report and automation jobs, you can run these jobs manually.
手順
-
Run your Contacts Counts report.
-
Import the file in your Data Extension.
- On the page header of your Salesforce Marketing Cloud instance, hover the Salesforce icon to display the list of available Salesforce Marketing Cloud applications.
- Select the Audience Builder app icon and then select Contact Builder.
- Open the recently created Data Extension that you created while creating a data extension for your Contacts Counts report.
- Select Import.
- In the Import Data Confirmation dialog box, select Import into Data Extension and then select Ok.
- In the Import into Data Extension step, choose the file that you downloaded in the previous Step 1.
- Select Delimiter as comma.
- Select Import Type as Add and Update.
- Select Import options as Skip rows in the import file with bad data.
- Select Next.
- In the Configure mapping dialog box, select Map Manually.
- Match the available data extension columns with the imported report columns and leave the Flag column empty.
- Select Next.
- In the Review and create dialog box, enter the email id on which you want notification when import completes and select Finish.
- In the Run Confirmation dialog box, select Done.
タスクの結果
Create a Salesforce Marketing Cloud integration profile using OAuth 2.0
Create a Salesforce Marketing Cloud integration profile by using OAuth 2.0 to track software subscriptions and optimize stale licenses for the Salesforce Marketing Cloud service.
始める前に
To create a Salesforce Marketing Cloud integration profile, request the Software Asset Management - SaaS License Management plugin (sn_sam_saas_int) from the ServiceNow Store.
ServiceNow Role required: sam_integrator
Salesforce Marketing Cloud Role required: sn_sforce_mc_spoke.Salesforce Marketing Cloud Admin
このタスクについて
If you’re using Software Asset Workspace, the option to create the Salesforce Marketing Cloud integration profile in Core UI is inactive.
手順
次のタスク
After the integration connects, your ServiceNow instance automatically creates software models, reclamation rules, and software subscriptions that are refreshed daily.
- Software Models
- Unrecognized Subscription Identifiers
- Scheduled Jobs
- Scheduled Job Results
- Software Subscriptions
- Subscription Identifier Exclusion Rule
- Subscription User Exclusion Rule
After creating an integration profile, you can define subscription exclusion rules to keep certain subscriptions from license cost calculations. For more information, see Subscription exclusions for SaaS and SSO applications.
If you want to set up multiple integration profiles with unique connections, create child aliases to manage different configurations and settings for each integration profile. For more information, see Create a child alias to set up multiple integration profiles.
Review all automatically generated reclamation rules to reclaim user subscriptions. For more information, see Review a software reclamation rule.
- For more information on creating software entitlements in the Software Asset Management Core UI, see Create entitlements in Software Asset Management classic.
- For more information on creating software entitlements in the Software Asset Workspace, see Create entitlements in workspace.
- For more information on creating software entitlements using the Software Asset Management Playbook, see Create entitlements using the guided walk-through.
- For more information on running reconciliation in the Software Asset Management classic application, see Run software reconciliation in Software Asset Management classic.
- For more information on running reconciliation in the Software Asset Workspace, see Run software reconciliation in the workspace.
Create additional Salesforce Marketing Cloud integration profiles
Create an integration profile for each additional Salesforce Marketing Cloud that you want to track software subscriptions and optimize licensing for.
始める前に
To create a Salesforce Marketing Cloud integration profile, request the Software Asset Management - SaaS License Management plugin (sn_sam_saas_int) from the ServiceNow Store
Role required: sam_integrator
Salesforce Marketing Cloud Role required: sn_sforce_mc_spoke.Salesforce Marketing Cloud Admin
このタスクについて
If you’re using Software Asset Workspace, the option to create the Salesforce Marketing Cloud integration profile in Core UI is inactive.
手順
次のタスク
After the integration connects, your ServiceNow instance automatically creates software models, reclamation rules, and software subscriptions that are refreshed daily.
- Software Models
- Unrecognized Subscription Identifiers
- Scheduled Jobs
- Scheduled Job Results
- Software Subscriptions
- Subscription Identifier Exclusion Rule
- Subscription User Exclusion Rule
After creating an integration profile, you can define subscription exclusion rules to keep certain subscriptions from license cost calculations. For more information, see Subscription exclusions for SaaS and SSO applications.
If you want to set up multiple integration profiles with unique connections, create child aliases to manage different configurations and settings for each integration profile. For more information, see Create a child alias to set up multiple integration profiles.
Review all automatically generated reclamation rules to reclaim user subscriptions. For more information, see Review a software reclamation rule.
- For more information on creating software entitlements in the Software Asset Management Core UI, see Create entitlements in Software Asset Management classic.
- For more information on creating software entitlements in the Software Asset Workspace, see Create entitlements in workspace.
- For more information on creating software entitlements using the Software Asset Management Playbook, see Create entitlements using the guided walk-through.
- For more information on running reconciliation in the Software Asset Management classic application, see Run software reconciliation in Software Asset Management classic.
- For more information on running reconciliation in the Software Asset Workspace, see Run software reconciliation in the workspace.