sfpowerscripts logo sfpowerscripts

This task is used to authenticate against a salesforce org to do the required further actions. The task supports authentication to org using JWT (recommended) or using username/password/security. The org can then further accessed by utilizing the provided alias. It is higly recommended to create a service user while using this task.

To read more about JWT based authentication and to generate the private key files, please follow the instruction here.

* Prerequisites

Please note Install SFDX with Sfpowerkit task is added to the pipeline before utilizing this task

Task Snapshot

Authenticate a Salesforce Org using Service Connection

Authenticate a Salesforce Org using JWT

Authenticate a Salesforce Org using Credentials

Task Version and Details

id: sfpwowerscript-authenticateorg-task

version: 8.0.5

Input Variables [Visual Designer Labels / Yaml variables]

Output Variables


Control Options



JWT based authentication is the preferred approach and it is intendended for CI/CD based non human authentication