Install the Go agent

Using the Go agent involves two artifacts. The executable must be built using contrast-go to instrument the application with the agent. The application requires contrast-service to communicate with the Contrast dashboard at runtime. A basic installation of the Go agent consists of two parts: producing an executable and running the executable. An installation overview looks like this:

  1. Download the following and place in the proper path:

    • Go agent

    • Contrast service

    • contrast_security.yaml

  2. Set up appropriate permissions.

  3. Build the Go application, replacing go with contrast-go to get a final application artifact which contains the Go agent.

  4. Run the executable.

  5. Exercise and test your application.

  6. Verify that Contrast sees your application.

For specific installation instructions, select one of the following options: