After you’ve installed and activated Video Hub, the next step is to let it talk to YouTube. Video Hub reads channels, playlists and videos through the YouTube Data API, and the API needs a key to identify your Google project.
The fastest way to get going is a YouTube API server key — enough to import public videos, channels and playlists. If you also want to import your own unlisted videos and private playlists, set up OAuth credentials instead (recommended). Not sure which one you need? See do you need a YouTube API key for WordPress?
Here’s how to create a server key in the Google Cloud Console.
Create a new project
Open the Google Cloud Console and create a new project to hold your API access.

Find the YouTube Data API
With the project selected, open the API library and search the list for “YouTube Data API“, then click it.

Enable the API
On the next screen, click Enable to turn the YouTube Data API on for this project.

Start creating credentials
With the API enabled, you can create the credentials your site will use to call it.

When prompted for details, answer “Where will you be calling the API from?” with “Web server“, and under “What data will you be accessing?” choose Public data.

Copy your server key
Google now shows your API key. Copy it — you’ll paste it into Video Hub next.

Add the key to Video Hub
In WordPress, open the plugin Settings page and go to the API & License tab. Paste the key into the YouTube API key section and save.

That’s it — Video Hub can now query YouTube. Next, add your license key to unlock one-click updates, then start importing your videos.