Install the Node.js agent
There are several ways to install the agent depending on your situation, but generally, this is the process:
Get the Node.js agent from npm.
Set authentication keys .
Add a command to the
package.json
file to enable your application to run with the agent.Run your application with the agent.
Use your application as you normally would and verify that Contrast sees the application.
To avoid errors, follow these specific instructions depending on how your application is deployed: