Skip to main content

Connect Salesforce to Anzenna

This guide walks you through connecting your Salesforce instance to Anzenna. The integration enables Anzenna to collect Salesforce event logs for security monitoring, anomaly detection, and compliance visibility.

Prerequisites

  • Salesforce System Administrator access
  • Access to the Anzenna platform
  • Salesforce Shield or Event Monitoring add-on (required for event log access)

Step-by-Step Instructions

Part 1: Enable the Salesforce Integration in Anzenna

  1. In Anzenna, toggle the integration card for Salesforce to on.
Toggle integration card for Salesforce to on
  1. Copy the certificate URL shown in Anzenna, and paste it in a new browser window to trigger the public certificate download.
Copy the certificate URL, and paste it in a new browser window

Part 2: Configure Event Monitoring in Salesforce

  1. Go to your Salesforce instance and click Setup.
Go to your Salesforce instance and click Setup
  1. Click on Setup for current app.
Click on Setup for current app
  1. Click on Security in the left menu.
Click on Security on the left menu
  1. Click on Event Monitoring.
Click on Event Monitoring
  1. Click on Event Monitoring Settings.
Click on Event Monitoring Settings
  1. Turn on Generate event log files.
Turn on Generate event log files
  1. Click on Event Manager.
Click on Event Manager
  1. Click on Show actions in the row of "Report Event".
Click on Show actions in the row of Report Event
  1. Click on Enable Storage.
Click on Enable Storage
  1. Do the same for the following events (Show actions → Enable Storage for each):
  • API Anomaly Event
  • Credential Stuffing Event
  • File Event
  • Guest User Anomaly Event
  • LoginAs Event
  • Login Event
  • Report Anomaly Event
  • Session Hijacking Event
Do the same for the following events

Part 3: Create an External Client App (OAuth)

  1. Click on Apps in the left menu.
Click on Apps
  1. Click on External Client Apps.
Click on External Client Apps
  1. Click on External Client App Manager.
Click on External Client App Manager
  1. Click on New External Client App.
Click on New External Client App
  1. Type Anzenna as the app name.
Type Anzenna
  1. Type support@anzenna.ai as the contact email.
Type support@anzenna.ai
  1. Click on API (Enable OAuth Settings).
Click on API (Enable OAuth Settings)
  1. Check Enable OAuth.
Check Enable OAuth
  1. Paste the callback URL: https://app.anzenna.ai/enroll/salesforce/callback into the text area.
Paste the callback URL into text area
  1. Click on Manage user data via APIs (api) to add it to selected OAuth scopes.
Click on Manage user data via APIs (api)
  1. Click Move to Selected OAuth Scopes to add it.
Click on Move to Selected OAuth Scopes
  1. Click on Perform requests at any time (refresh_token, offline_access).
Click on Perform requests at any time (refresh_token, offline_access)
  1. Click Move to Selected OAuth Scopes again.
Click on Move to Selected OAuth Scopes again
  1. Check Enable JWT Bearer Flow.
Check Enable JWT Bearer Flow
  1. Select cert.pem from the file upload menu (the certificate you downloaded in Part 1).
Select cert.pem from file upload menu
  1. Click Create.
Click on Create

Part 4: Configure OAuth Policies

  1. Click on OAuth Policies.
Click on OAuth Policies
  1. Click Edit.
Click on Edit
  1. Click on Permitted Users.
Click on Permitted Users
  1. Click on Admin approved users are pre-authorized to allow server-to-server communication.
Click on Admin approved users are pre-authorized
  1. Click OK on the confirmation dialog.
Click on OK
  1. Click on System Administrator.
Click on System Administrator
  1. Click Move to Selected Profiles.
Click on Move to Selected Profiles
  1. Select Refresh token is valid until revoked.
Select Refresh token is valid until revoked
  1. Click on IP Relaxation.
Click on IP Relaxation
  1. Click on Relax IP restrictions.
Click on Relax IP restrictions
  1. Click Save.
Click on Save

Part 5: Retrieve the Consumer Key

  1. Click on Settings.
Click on Settings
  1. Click on OAuth Settings.
Click on OAuth Settings
  1. Click on Consumer Key and Secret. Salesforce will send you an email to verify your identity.
Click on Consumer Key and Secret
  1. Get the verification code from the email, paste it in the dialog, and click Verify.
Get the code from the email, and paste it in the dialog, and click verify
  1. Click Copy on the consumer key.
Click on Copy on consumer key
tip

The consumer key is an ID, not a secret. It is safe to copy and use as your integration identifier.

Part 6: Complete the Connection in Anzenna

  1. Paste the copied consumer key into Anzenna.
Paste the copied consumer key to Anzenna
  1. Paste your Salesforce instance URL (i.e. the website URL) in the input box.
Paste the Salesforce URL (i.e. website URL) in the input box
  1. Enter your Salesforce email address in the input box.
Put your salesforce email used in the input box
  1. Click Save.
Click on Save
  1. Wait a few seconds, then refresh the page. You should see your Salesforce instance listed as connected.
Wait a few seconds, refresh, then you should see your Salesforce instance is connected.
success

Your Salesforce integration is now active. Anzenna will begin collecting event logs for security monitoring.