Go to https://dev.twitter.com/apps/new and log in, if necessary
Supply the necessary required fields, accept the Terms Of Service, and solve the CAPTCHA.
Submit the form
Go to the API Keys tab, there you will find your Consumer key and Consumer secret keys.
Copy the consumer key (API key) and consumer secret from the screen into our application.