Identify the application ID

If your application has already been instrumented by a Contrast agent (recommended), find the application ID. The application ID is the last URI segment in the Contrast URL in your browser. Use this ID to proceed to authenticate and analyze.

Register a new application

To create a new application within Contrast using the Contrast CLI, use the catalogue-application and --cli_application_name options. The output of a successful catalogue operation is an application ID displayed in the console.

Catalogue command

contrast-cli 
--cli_catalogue_application\ 
--cli_api_key <YourApiKey>\ 
--cli_authorization <YourAuthorizationKey>\ 
--cli_organization_id <YourOrganizationID>\ 
--cli_host <YourHost>\ 
--cli_application_name <YourApplicationName>\ 
--cli_language <YourApplicationLanguage>

Note

Allowable language values are JAVA, DOTNET, NODE, PYTHON and RUBY.

After you run this command, you are provided a new application ID in the console. Use this ID to proceed to authenticate and analyze.