Skip to Content

How to generate YouTube API Key

This article describes how to obtain the YouTube API key.

Scope

FortiGate v7.

Solution

Step 1: Type on the Google bar ‘console.cloud.google.com’ and two options can be displayed:

Option1: Select Accept and Continue:

Select Accept and Continue:

Option2: Select Accept and Continue, set country, accept service conditions, and select Accept and Continue:

Select Accept and Continue, set country, accept service conditions, and select Accept and Continue.

Step 2: Select ‘Select a project’. A window will pop up and select ‘new project’.

Select 'Select a project'. A window will pop up and select 'new project'.

Step 3: Set the project number (no special characters are allowed and Project ID cannot be charged after project creation), location (optional), and select ‘Create’.

Set the project number (no special characters are allowed and Project ID cannot be charged after project creation), location (optional), and select 'Create'.

Step 4: After the project is created, select the project:

After the project is created, select the project.

Step 5: Select API and Services > Library.

Select API and Services > Library.

Step 6: Search and select ‘YouTube Data API v3’.

Search and select 'YouTube Data API v3'.

Step 7: Select ‘Enable’:

Select 'Enable':

Step 8: After webpage redirection, on the left bar, select Credentials > Create Credentials > API key and obtain the API Key.

After webpage redirection, on the left bar, select Credentials > Create Credentials > API key.

Obtain the API Key.