# 1. Cloning the repo and setting up the application We've put together a repository of helpful Java SDK applications that our developers have coded and extensively tested and that's the basis of this tutorial. In this case, the application is a light-weight Springboot web server used to listen to incoming callback events from the Sinch servers. This application also has a console component so that you can enter a phone number to get the process started. Note: Normally you wouldn't have a console application as part of a server, but to streamline this tutorial we combined them. In a production scenario there would be some other mechanism that would enter the phone numbers to make the callouts, such as reading from a database or a CSV file. The code is already written and all you need to do is clone the repo and enter your credentials. 1. If you haven't already, clone the [Java SDK quickstart repository](https://github.com/sinch/sinch-sdk-java-quickstart) located on GitHub. The qualify leads application is located in the `tutorials/voice/capture-leads-app` folder. 2. Once the repository is cloned, navigate to the `tutorials/voice/capture-leads-app/src/main/resources` folder and open the `application.yaml` [file](https://github.com/sinch/sinch-sdk-java-quickstart/blob/main/tutorials/voice/capture-leads-app/src/main/resources/application.yaml). 3. In the `credentials` section of the file, you'll need to enter the application key and application secret for your Voice app. These are found on your [Sinch Build Dashboard](https://dashboard.sinch.com/voice/apps). 4. For the `sinch-number` parameter, you'll need to enter a Sinch number you own and that is assigned to your Voice app. 5. For the `sip-address` parameter, if you have a SIP infrastructure and you want to test this application with it, this is where you will enter your SIP address. If you don't have a SIP infrastructure or don't want to use it, you can leave this parameter empty. 6. Once you've filled in your credentials and the necessary values, make sure you save the file. ## Next steps Now let's move on to learning about how to make a custom callout and configure it to enable Answering Machine Detection!