We can connect to salesforce using 2 ways: OAUTH2 JWT BEARER UserName
and Password This document explains how to connect to Salesforce using
OAuth JWT Bearer Make sure to enable the required api’s and grant the
necessary roles to the service account....