Install the ServiceNow SDK in an application
Install the ServiceNow software development kit (SDK) in a local application using Node Package Manager (npm).
Avant de commencer
- Node.js v20.18.0
- npm v8.19.3
Role required: admin
Pourquoi et quand exécuter cette tâche
The ServiceNow SDK is available as an npm package from the public npm registry. The ServiceNow SDK supports integrating with ServiceNow instances beginning with the Washington DC release.
In the following procedure, you install the ServiceNow SDK within a new application using npx rather than globally. To install the ServiceNow SDK globally, use the npm install --global @servicenow/sdk command.
npx to install the ServiceNow SDK in application rather than globally, you must use npx @servicenow/sdk [command] rather than now-sdk [command] with the ServiceNow SDK CLI.Procédure
Que faire ensuite
Install the ServiceNow Fluent Language server to get language processing and validation for ServiceNow Fluent in Visual Studio Code. For more information, see Install the ServiceNow Fluent Language server in Visual Studio Code.