# 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.
* <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!**

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0resmon.org/0resmon/wais-resoucres/wais-club/youtube-api-stuff.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
