- Navigate to https://console.developers.google.com
- Click
Select a project
. - Click
New project
. - Give it a name and click
Create
button. - Click
Library
, find and click onYouTube Data API v3
box. - Click
Enable
. - Click
Credentials
. - Click
Create credentials
. - Select
API key
. - Copy token to your CLI's configuration file.
[tokens]
youtube = "AIzaSyD4w2s-k79YNR98ABC"