If you don't have an Yahoo account, first create it: https://edit.yahoo.com/registration
To obtain the key go to: https://www.flickr.com/services/apps/create/apply
Fill in the form on your own.
At the final stage you will have access to your API Key:
“Noncommercial” keys are issued automatically, “commercial” - takes a long time for the consideration of the application.