anchor.diff:  When you login to Datadog you will be taken to the Welcome page. Note
   the series of menu options on the left hand side.
   
  -To set up Datadog to manage the metrics available from Kill Bill, there
  -are just two steps: (1) install the Datadog agent in Kill Bill, and (2)
  -authorize the transfer of the complete Kill Bill metrics.
  -
  -== Install the Agent
  -
  -The first step in integrating an analysis tool (like Datadog) and a
  -source of data to analyze (like Kill Bill) is to set up a means to get
  -the source to send its data to the analyzer. Datadog does this by
  -installing the *Datadog Agent* in the system producing the data.
  -
  -1. In the main Datadog menu, select *Integrations*. 
  -2. Scroll down in the submenu to select *Agent*. This shows you a page listing all of the
  -platforms on which the Datadog Agent can be installed. 
  -3. Choose *Ubuntu*. The next page shows you the single step required for this platform
  -to install the agent:
  -
  -image::metrics-datadog-install.png[align=center]
  -
  -
  -To install the agent: 
  -
  -1. Login to your EC2 instance. 
  -2. Copy the line shown by Datadog to the Ubuntu command line. 
  -3. Press Enter. The agent should be installed automatically.
  -
  -[NOTE]
  -This command already includes the API key assigned to you by
  -Datadog. This authorizes the agent to do its job.
  -
  -If you are using the Multitier installation, you will have multiple EC2
  -instances. The agent should be installed separately for each one.
  -
  -To test the installation, return to datadog and choose *Infrastructure*,
  -then *Infrastructure List* from the left menu. The table that appears
  -should list all of your hosts and indicate their status as *ACTIVE*. You
  -may need to wait a few minutes for the table to appear.
  -
  -Now select *Metrics*, then *Summary* from the menu. You should see a
  -long list of metrics! These are coming from your instances, but they
  -only describe the Ubuntu environment itself. You do not yet have the
  -Kill Bill metrics. To fix this, proceed to the next step.
   
   == Set Up the Authorization
   
  
positive.code: edit two lines in this file:
  
  ```
  /var/lib/tomcat/bin/setenv2.sh`
  ```
  
  This file contains configuration information for `tomcat`, which manages the
  
negative.code: -Dcom.killbill.datadog.apiKey=Your-API-Key
  ```
  
  To find your API key:
  
  . Go to the Datadog Welcome page
  . Scroll down to your email address in the left menu
  . Select *Organization Settings* from the popup menu
  . Select *API Keys* from the Organization Settings menu
  
  After editing the file, go to your AWS EC2 dashboard and *reboot the
  instance* so the new configuration file will be read. If you have more
  than one instance, follow the same procedure for each one.
  
  == Test the Installation
  
  To test the installation, return to datadog and choose *Infrastructure*,
  then *Infrastructure List* from the left menu. The table that appears
  should list all of your hosts and indicate their status as *ACTIVE*. You
  may need to wait a few minutes for the table to appear.
  
  Now select *Metrics*, then *Summary* from the menu. After a short delay, you should see a
  long list of metrics -- well over 1,000. 
  
  Congratulations. Your Datadog integration is complete!
  
  