Strategy One
Connect to Salesforce Reports and Salesforce Reports Sandbox
Create an OAuth Application in Salesforce
-
Sign in to your Salesforce org.
-
Click Create apps and New.
-
Type an application name.
-
Under Selected OAuth Scopes, add the following scopes:
-
Access chatbot services:
chatbot_api -
Access Connect REST API resources:
chatter_api -
Access content resources:
content -
Access custom permissions:
custom_permissions -
Access the identity URL service:
id,profile,email,address,phone -
Access unique user identifiers:
openid -
Manage Pardot services:
pardot_api -
Manage user data via APIs:
api -
Manage user data via Web browsers:
web -
Perform ANSI SQL queries on Data Cloud data:
cdp_query_api -
Perform requests at any time:
refresh_token,offline_access -
Perform segmentation on Data Cloud data:
cdp_segment_api
-
-
In Callback URL, add a Callback URL for Web, Library, or Workstation using the following formats:
-
Web redirect URI:
https://<servername>/MicroStrategy/servlet/mstrWeb?evt=3172 -
Library redirect URI:
https://<servername>/MicroStrategyLibrary/auth/DIOAuthRedirect.jsp -
Workstation redirect URI:
http://127.0.0.1
-
-
Under Consumer Key, copy the Consumer Key and Consumer Secret values. You will need these values for future steps.
Create a Google BigQuery Data Source
Prerequisites
You must have the Configure security settings and Create and edit database instances and connections privileges.
Create a New Authentication Service in Workstation
For more information on creating identity and access management (IAM) objects, see Manage OAuth Enterprise Security with Identity and Access Management (IAM) Objects.
-
Open the Workstation window.
-
In the Navigation pane, click
, next to Enterprise Security. -
Choose Gateway Authorization and click Next.
-
Type a Display Name.
-
Expand the Select an identity provider drop-down list, choose Salesforce.
-
In Strategy Configuration, enter the Client ID and Client Secret you copied in Create an OAuth Application in Salesforce.
-
Click Save.
Connect to Salesforce in Mosaic Studio
- Create a Mosaic model or right-click an existing Mosaic model and choose Edit.
- In the Sources tab, click Add API Source.
-
Click Salesforce Reports or Salesforce Reports Sandbox.
-
Type a Name for the data source.
-
Expand the Authentication Service drop-down list and choose the authentication service you created in Create a New Authentication Service in Workstation.
-
Optionally click Test.
-
If the connection is successful, click Save.
Import Data
-
Click your Salesforce source and enter your Salesforce login.
-
Select the files you want to import.
-
Click a file name to view the sample data.
-
Click Add.
-
Click Proceed.
-
View and choose suggestions, view object logical relationships, or automatically create attributes and metrics.
-
Click Save, Save as, or Publish.
-
If you Saveor Save as your Mosaic model:
-
Type a Name and Description.
-
Choose a Save in folder location.
-
Optionally, select the check box next to Certify Mosaic Model.
-
