Setup
4 commands in this section
Creating a ServiceNow User for the CLI
Recommended roles and user setup for running sn execute, sn validate, and sn test against a ServiceNow instance.
Basic Auth (Quick Start)
Register a ServiceNow instance using username and password — the fastest path to a working sn execute.
REST API Key
ServiceNow REST API Key authentication — instance-side setup and CLI registration.
OAuth Client Credentials Grant
OAuth 2.0 Client Credentials with the Machine Identity Console — setup and CLI registration.