# Youtube module

### Getting API Key

1.Go to the Google API console (you must have registered Google account): [https://console.developers.google.com](https://console.developers.google.com/)

2\. If you have not created a project in the API console yet, create it now:

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-M4yIVajBszccdaXF2Ki%2F-M4yIxHLqnz_GSh-z7Ao%2FNewItem32.png?alt=media\&token=b043f825-1a9e-4a48-b839-810be23765eb)

3\. Go to `Your project` → `APIs & Auth` → `APIs`, search for YouTube API in the list of all available API and activate it:

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-M4yIVajBszccdaXF2Ki%2F-M4yJFNy7R-HXtAVxLES%2F2019-12-01_101333.png?alt=media\&token=80074289-f41e-4d91-8c13-2092e7750df9)

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-M4yIVajBszccdaXF2Ki%2F-M4yJLT9dS1vl_XBBf-i%2F2019-12-01_101438.png?alt=media\&token=ff69ca11-6f52-4046-afe1-8e0755dcd1c0)

4\. Go to `Your project` → `Credentials`. If you have not created an `API Key` yet, create it now:

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-M4yIVajBszccdaXF2Ki%2F-M4yJg0OwmwJakabfOPQ%2F2019-12-01_101849.png?alt=media\&token=7cf903e4-7bad-424f-8675-ae53e3b97554)

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-M4yIVajBszccdaXF2Ki%2F-M4yJlF1jIcQMB4fi-xt%2F2019-12-01_101933.png?alt=media\&token=763f44fa-3ea6-4f16-8dda-da943395d625)

{% hint style="warning" %}
Don't set limits for API key by IP address. Or you can use the external IP address of your server (not your local IP).
{% endhint %}
