Get started with agent installation for Contrast
Contrast uses agents to install sensors that monitor your code for vulnerabilities. Agents analyze for vulnerabilities in development environments and look for attacks in runtime production environments.
As your application runs, the agent analyzes information (such as HTTP requests, data flow, backend connections, and library dependencies) and sends vulnerabilities and attacks to Contrast where you can view, prioritize, and take immediate action on them.
This guide should get Contrast up and running on your application in just a few minutes so you can see how it works.
Instrumenting an app with Contrast can be divided into a few phases, and these guides are here to help you along the way.

Once you see how it works there are many ways to modify this to suit your needs. You can explore Contrast Documentation for further information about how to adapt Contrast to your situation.
Tip
For future installations, you may want to consider your organization's build tools and deployment pipeline, your security goals and the environments where you want to use Contrast. You can read about other methods to install Contrast that may better adapt to your situation.
Java
To see the installation and configuration workflows, go here.
Install for executable JAR | Install to an app server | Install with build automation tool integrations | Install in a container | Install with cloud orchestration services |
---|---|---|---|---|
Install the agent in one application with a JAR file. Go here to install with Maven Central, Debian, or RPM repositories. | Install the agent to an app server to provide security analysis for applications running in a test/QA or production environment. | Install the agent with Contrast plugins to automate the installation. | Install the agent in a container image or via a Kubernetes operator. Go here to add the agent to the Docker base or application image. Go here to add the agent to Kubernetes pods via Contrast k8s operator. | Install the agent for Google App Engine. Install agent with AWS Elastic Beanstalk. |
You can also use the Contrast Java agent with Contrast Assess or Contrast SCA to analyze Scala-based applications or to analyze Kotlin-based applications.
.NET Framework
To see the installation and configuration workflows, go here.
.NET Core
To see the installation and configuration workflows, go here.
Windows
Basic installation | Install with an installer | Install with Azure | Install in a container |
---|---|---|---|
Install the .NET Core agent with the basic install. | Install with an agent installer for self-hosted applications or applications in IIS. | Install the agent with the Azure App Service. | Install the agent in a container image or via a Kubernetes operator. Go here to add the agent to the Docker base or application image. Go here to add the agent to Kubernetes pods via Contrast k8s operator. |
Linux
Basic installation | Install in a container |
---|---|
Install the .NET Core agent with the basic install. | Install the agent in a container image. Go here to add the agent to the Docker base or application image. |
Node
To see the installation and configuration workflows, go here.
Basic installation | Install in a container | Install with Cloud deployment integrations |
---|---|---|
Install the Node agent with the basic install. | Install the agent in a container image. Go here to add the agent to the Docker base or application image. | Install with IBM Cloud. Install with VMware Tanzu. |
PHP
To see the installation and configuration workflow, go here.
Install by repository |
---|
Install the PHP agent with the Debian or RPM repository. |
Python
To see the installation and configuration workflow, go here.
Install by middleware |
---|
Install the Python agent with AIOHTTP, or Bottle, or Django, or Falco, or Fast API, or Flask, or Pyramid, or Quart, or WSGI. |
Ruby
To see the installation and configuration workflow, go here.
Install by middleware |
---|
Install the Ruby agent with Rails, or Sinatra, or Grape middleware. |
Go
To see the installation and configuration workflow, go here.
Install with an installer |
---|
Install the Go agent with the Contrast installer. |