# YouTube API Stuff

***

## How to create an API Key

* Go to [<mark style="background-color:orange;">**Console Cloud**</mark>](https://console.cloud.google.com) and sign in with your account.
* Then watch the video ‘[<mark style="background-color:orange;">**Creating YouTube V3 API KEY**</mark>](https://youtu.be/uz7dY8qTFJw?t=20)’.
* Copy the API KEY you created and navigate to this location. **wais-club/html/public/Config.json**
* Find the ‘**YOUTUBE\_API\_KEY**’ Variable and paste this into it.

```json
{
    "YOUTUBE_API_KEY": "YOUR NEW API-KEY HERE",
    "languages": {
        ...
    }
}
```

***

## API Errors

* <mark style="background-color:green;">**Invalid API Key**</mark> => You may have entered the API KEY missing or incorrectly.
* &#x20;<mark style="background-color:green;">**API Key not found**</mark> => You will get this error because you have not entered or skipped the config.json file correctly.

***

{% hint style="danger" %}
**Attention!**&#x20;

Do not share the keys you create with anyone. DJ Booth will give an error if you reach the usage quota.
{% endhint %}
