NG SIEM - Salesforce Integration via JWT Authentication

Introduction

The Salesforce integration enables you to monitor your Salesforce instance. Salesforce is a customer relationship management (CRM) platform that supports businesses in managing marketing, sales, commerce, service, and IT teams from a unified platform accessible from anywhere.


Recommendation - Username / Password Authentication Integration

Create New User Account

Please take note of the Email Address, Username and Password associated with this account, as they will be required during the API and integration setup process.

Salesforce instance URL

This is the URL of your Salesforce Organization.

Ensure the Instance URL is noted, as it will be used in both API creation and integration steps.


Client Key and Client Secret for Authentication

To use this integration, you need to create a new Salesforce Application using OAuth. Follow these steps to create a connected application in Salesforce:

Username

Password

Note: When using a Salesforce instance with a security token, append the token directly to your password without spaces or special characters. For example, if your password is Password and your security token is 12345 enter: Pasword12345


Token URL:

NOTE: Salesforce Lightning users must use URL with *.salesforce.com domain (similar to the Salesforce instance URL) instead of *.lightning.force.com because the Salesforce API does not work with *.lightning.force.com.



API Version

To find the API version:

Referencehttps://www.integrate.io/blog/salesforce-rest-api-integration/

Please provide these credentials and send it to CyTech Support:


Recommendation - JWT Integration

This guide provides a step-by-step process for setting up a secure integration between Salesforce and AQUILA. The focus is on using JWT (JSON Web Token) Bearer authentication, which is recommended for server-to-server communication as it avoids sharing passwords. We'll cover preparing Salesforce (where you generate and upload required credentials) and entering those into AQUILA configuration fields.

Prerequisites



Create a Connected App in Salesforce

This app generates the Client ID and links your certificate for JWT trust.

  1. Log in to Salesforce > Click the gear icon > Setup.
  2. Search for Setup > External Client Apps> Enable and click button New Connected Apps.
  3. Fill in:
    • Connected App Name: e.g., "AQUILA JWT Integration".
    • API Name: Auto-fills (edit if needed).
    • Contact Email: Your integration user's email.
  4. Under API (Enable OAuth Settings):
    • Check Enable OAuth Settings.
    • Callback URL: Enter http://localhost (placeholder; not used in JWT).
    • Selected OAuth Scopes: Add api, refresh_token, offline_access. (Optional: Add full for broader access if needed.)
    • Check Use digital signatures > Upload salesforce_cert.crt.
  5. Do not check any "Require Secret" options (no secret needed for JWT).
  6. Click Save (wait 2-10 minutes for activation).
  7. On the app page, copy the Consumer Key—this is your Client ID.
  8. Click Manage > Edit Policies > Set Permitted Users to "Admin approved users are pre-authorized".
  9. Assign the app to your integration user: Under Profiles or Permission Sets, add your user's profile.

Now Salesforce is ready—note your Instance URL (e.g., from your Salesforce homepage: https://your-instance.my.salesforce.com).

Please provide these credentials and send it to CyTech Support:

Summary Table
Field Username–Password JWT
Client ID ✔ required ✔ required
Client Secret ✔ required ❌ not used
Username ✔ required ✔ required
Password ✔ required ❌ not used
Private Key Path ✔ required
Audience URL ✔ required
Token URL ✔ required ❌ leave blank
API Version optional optional

If you need further assistance, kindly contact our support at support@cytechint.com for prompt assistance and guidance.


Revision #19
Created 23 September 2025 08:13:58 by Richmond Abella
Updated 3 December 2025 07:21:29