# Search

### How to setup the module?&#x20;

* To setup the module, head on over to the [<mark style="color:blue;">**BotGhost Dashboard**</mark>](https://dashboar.botghost.com/dashboard) & locate the [<mark style="color:blue;">**Search Module**</mark>](https://dashboard.botghost.com/dashboard/search) in the "Utilities" section:&#x20;

![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FQQ7qar5aTNKXVVpcNlyg%2FCapture6.PNG?alt=media\&token=8484f60e-d5a0-4712-8ea2-433df44c2743)

* Once on the module page, scroll down till you see a section with the title "YouTube API Key"; enter your unique key here and press "Save changes":

![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2Feyt0mHUhSAtlH9H7KhSt%2Fimage.png?alt=media\&token=3a72e52c-8399-4aab-9b59-52f4f761e021)

<details>

<summary>What's a YouTube API Key &#x26; how to get one?</summary>

A YouTube Data API key is required from Google API's to search and play music from YouTube. This is **free** to generate and comes with 10,000 API calls a day. You can apply to increase the API key through the Google API dashboard.

#### How to get a YouTube Data API key

Watch this video [<mark style="color:blue;">**here**</mark>](https://www.youtube.com/watch?v=3jZ5vnv-LZc).

* You can name your project anything you wish
* Ensure you click **Enable** on the YouTube Data API v3
* Select Web Browser from the 'Where will you be accessing the API from' dropdown
* Your bot is accessing Public Data
* **Do not** restrict your key.

</details>

### What commands are there?

<table><thead><tr><th>Command</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>/twitch</strong></td><td>Search for a Twitch User</td><td></td></tr><tr><td><strong>/youtube</strong></td><td>Search for videos.<br><strong>A</strong> <a href="../social-integrations/youtube"><mark style="color:blue;"><strong>YouTube API Key</strong></mark></a> <strong>is required</strong></td><td></td></tr><tr><td><strong>/urban</strong></td><td>Search a Term on the Urban Dictionary</td><td></td></tr><tr><td><strong>/imgur</strong></td><td>Search for a GIF on Imgur</td><td></td></tr><tr><td><strong>/giphy</strong></td><td>Search for a GIF on Giphy</td><td></td></tr></tbody></table>

### How to enable/disable commands?

* First, locate a command that you want to enable/disable. Next to the command, there should be a coloured toggle. If the toggle is orange that means the command is enabled and If it's grey, the command is disabled. Click on the toggle to enable/disable a command:&#x20;

![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FxajE4VEpowTGBGDE25h0%2FCapture6.PNG?alt=media\&token=057837ba-d698-4b43-b169-e62f3ef4bea5)

![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FWCweaue9z5N4RMcg8s9y%2FCapture6.PNG?alt=media\&token=63ab209f-a800-45cd-89b8-1196f3089d20)

### How to edit a command?&#x20;

* You can edit a command's permission, trigger or even it's description. To edit a command, locate the command you want to edit and press directly on it and a window should pop up with the title "Edit Command". Edit the command to your satisfactions and once done press "Save changes" at the bottom and "Save changes" again:&#x20;

![](https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2F6AeRaNglyH1IHYdGLGza%2Fimage.png?alt=media\&token=89b4e13a-0342-46b9-9920-44e7ac8959ae)

{% hint style="info" %}
Experiencing issues or need help with the Search module? Checkout our support options [<mark style="color:blue;">**here**</mark>](https://botghost.com/docs/~/changes/zT1fjHAwQ21lXOKdCcfT/support)
{% endhint %}
