Copy the config.sample.php file to config.php and set your API key and app hostname. This needs to be your complete app hostname, for example joey.infusionsoft.com.
Test your settings by clicking on this link: Test Connectivity