# Adding widget

1. Go to Dashboard -> Appearance -> Widgets
2. Click on WP YouTube Widget&#x20;
3. Pick a widget area to display your videos using WP YouTube. Click on "Add Widget"

   ![](https://3273234779-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhZhxD7R5TGGKioyIFY%2F-LhZi6mg04OyCfr-so6_%2F-LhZi7VsyiE4YF7sdgfs%2Fyoutube3.png?generation=1560762947117516\&alt=media)
4. Give title and add your Youtube Channel
5. Click on Save. You will see more options to setup your video.

![](https://3273234779-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhZhxD7R5TGGKioyIFY%2F-LhZi6mg04OyCfr-so6_%2F-LhZi7VvGR1QUacsUX_C%2Fyoutube4.png?generation=1560762945717688\&alt=media)

Set your preferences about getting the videos fetched from your channel.

![](https://3273234779-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhZhxD7R5TGGKioyIFY%2F-LhZi6mg04OyCfr-so6_%2F-LhZi7Vxa6nuWUlfv6Zx%2Fyoutube5.png?generation=1560762945265152\&alt=media)

**Note :** You can copy this shortcode and add it in any page or post to display video there.


---

# 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://wpeka-club.gitbook.io/wp-youtube/adding-widget.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.
