Set YouTube server key

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.

Create new youtube project

Find the YouTube Data API

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

Select YouTube data api

Enable the API

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

Enable YouTube data api

Start creating credentials

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

Begin creating credentials

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.

Create youtube project credentials

Copy your server key

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

Get project api key

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.

Enter the YouTube API server key in the plugin API and License settings

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

Start importing in minutes

Bring your YouTube content into WordPress and let it update itself. Includes automatic updates and support.