Hello @Arun Voleti
The process involves creating a dedicated Salesforce user, generating a security token, identifying the correct Token URI, and creating a Connected App to obtain the Consumer Key and Secret. These credentials are then used to configure the Salesforce data connector in Microsoft Sentinel.
- How to generate Salesforce API User:
- Go to Setup -> Users -> New User.
- Fill in the required fields (First Name, Last Name, Email, Username, Nickname).
- Set User License to "Salesforce".
- Choose a Profile with API access (e.g., System Administrator or a custom profile with "API Enabled").
- Save the user.
- How to generate Salesforce Password:
- Set the password during user creation or via the verification email sent to the user.
- How to generate Salesforce Security Token:
- Go to Setup -> Reset My Security Token.
- Click "Reset Security Token".
- Check the user's email for the new security token.
- How to generate Salesforce Token URI:
- The Token URI is typically
https://login.salesforce.com/services/oauth2/token
for Developer Edition. - Verify this in your Salesforce instance's settings, especially if using a custom domain or sandbox (e.g.,
test.salesforce.com
).
- How to generate Salesforce Consumer Key and Consumer Secret:
- Go to Setup -> App Manager -> New Connected App.
- Fill in Basic Information (Connected App Name, API Name, Contact Email).
- In API (Enable OAuth Settings), check "Enable OAuth Settings".
- Set Callback URL (e.g.,
https://login.salesforce.com/services/oauth2/success
). - Select OAuth Scopes (e.g.,
Access and manage your data (api)
,Perform requests on your behalf at any time (refresh_token, offline_access)
). - In Web App Settings, check "Start URL" and set the URL (e.g.,
https://login.salesforce.com/services/oauth2/success
). - Save the Connected App.
- Go to App Manager, find your app, and click "Manage".
- Find the Consumer Key and Consumer Secret under "API (Enable OAuth Settings)". You may need to click "Reveal" to see the Consumer Secret.
If the Answer is helpful, please click Accept Answer
and Up-Vote, so that it can help others in the community looking for help on similar topics.