# Create API Key

***

## 1 - Create an account - [<mark style="color:blue;">Rapidapi</mark>](https://rapidapi.com/hub)

Rapidapi is a market with APIs developed and made available by users

* We must create a record on the Rapidapi site. [You can start creating an account from this link](https://rapidapi.com/auth/sign-up).
* After creating an account, go to the [**YouTube MP3 API**](https://rapidapi.com/ytjar/api/youtube-mp36)**.**
* After going to this address, click on the ‘**Subscribe to Test**’ button in the upper right corner.

<figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FqeWZxE67mzE7oqqqokF2%2Fimage.png?alt=media&#x26;token=8c812fdd-bb08-40d4-ae09-59c0affa9cb1" alt="" width="198"><figcaption></figcaption></figure>

* After clicking the button, it will ask you to select a plan. Here you can choose a **paid** or **free** plan. <mark style="background-color:red;">However, each beat downloaded by the studios will be deducted from your Monthly or Daily limit allocated for the Free Plan.</mark>

* After selecting your plan, click on the ‘**Subscribe**’ button.

* **After clicking the Get Started button, find the following values on the right side of the page that will open in front of you**

  <figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FmkX4nwx1rDLQABs5ib7S%2Fimage.png?alt=media&#x26;token=b14861fb-c8a0-45c8-8ff5-8f9ffb97591e" alt=""><figcaption><p>KEY and Server information specially created for you</p></figcaption></figure>

* Copy the Private Key created for you in the ‘**x-rapidapi-key**’ section and open <mark style="color:yellow;">**wais-studio/web/public/Config.json**</mark> and paste it inside the quotes after the equals sign in the ‘**api\_key**’ variable.&#x20;

  <figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FsoUblKEeX6habmGPZz05%2Fresim_2025-05-18_213212718.png?alt=media&#x26;token=764613da-3995-4014-a270-7b223e4bdd39" alt=""><figcaption><p>After pasting, check the correctness of the key. It should look like the one above.</p></figcaption></figure>

* After copying the domain address in ‘**x-rapidapi-host’**, find the ‘**host**’ variable in the <mark style="color:yellow;">**wais-studio/web/public/Config.json**</mark> file and paste it into the quotes on the right side of the equaliser.

  <figure><img src="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2F66P7gGhXM4axFYV2Tw4k%2Fresim_2025-05-18_213253678.png?alt=media&#x26;token=35332d6a-dd2a-4906-ab21-70eecb6648d0" alt=""><figcaption><p>After pasting, check the correctness of the domain. It should look like the one above.</p></figcaption></figure>

* As the last step, **enter the user name** of the account you created for **Rapidapi** inside the quotes on the right side of the ‘**username**’ variable in the <mark style="color:yellow;">**wais-studio/web/public/Config.json**</mark> file.&#x20;
  * **Click on your Rapidapi profile and then look at your url address. After <https://rapidapi.com/user/>**<mark style="color:yellow;">**your\_username**</mark>**&#x20;in the url address is your username. We will use this username.**

**Make sure it is correct, otherwise you may encounter things like 404 error in video downloading.**

***

{% hint style="warning" %}
If the song or beat you are going to download has an age restriction of +18, you cannot download it.
{% endhint %}

{% hint style="success" %}
If you have read everything so far and created a YouTube API correctly, you can check the next steps. Congratulations 🥳🥳🥳
{% endhint %}
