Step One: Create a New Project on Google APIs
If you have a google account, go here: https://console.developers.google.com/project
From there, click on “Create Project”.

Enter in a name for the project, then click on “Create”.

Step Two: Go to YouTube APIs
Once the project is created, click on the Google APIs link at the top-left corner, select “Library” and click on YouTube Data API v3.


Once opened, click on the Enable button.

Step Three: Create Credentials
Credentials need to be created before you can use the API, so click on “Create Credentials”.

For the two drop-down menus, select YouTube Data API v3 and Web server (e.g. node js. Tomcat), then choose Public data. Once all are selected, click on “What credentials do I need?”

Google will then generate a API Key for you. Now just copy the code from the field depicted below.
