This tutorial demonstrates creating and setting up a YouTube API key on Kodi. I have also covered why you need to create one and some popular FAQs related to the subject. Let’s begin!
Why Should I Create & Set Up YouTube API Key & ID for Kodi?
Kodi offers the YouTube addon from the official repository. This addon gives you access to the complete library of YouTube videos.
However, you must first create the YouTube API key and ID to use YouTube on Kodi. Unfortunately, you can’t access the YouTube addon without them.
Youtube allows you to create free personal API keys by following a simple process. I will show you how.
The API key is not just for Kodi, though. Creating a YouTube API Key also helps developers and website owners embed videos in their sites and increase conversion rates.
Attention KODI Users: Read before you continue
Government and ISPs endlessly monitor your online activities using your IP address 35.175.39.36 (exposed to everyone). Kodi is an excellent platform for streaming movies, TV shows, and sports, but streaming copyrighted content can get you into legal trouble.
You should use a reliable Kodi VPN and protect your streaming activities and privacy. A VPN will hide your IP address and bypass government surveillance and geo-restrictions.
I trust and use ExpressVPN, the fastest and most secure Kodi VPN. It's easy to install on any Kodi device, including Amazon FireStick, PCs, and Smartphones. In addition, it offers a 30-day money-back guarantee, and 3 free months with the annual plan.
Read: How to Install & Use the best VPN for Kodi.
Creating YouTube API Key & ID for Kodi
The first thing you need is a Google account. Please create a Google account if you don’t have one and follow the steps below:
1. Open a web browser and visit console.developers.google.com. The Welcome page will appear, showing your Google account if you’re logged in. Tick the Terms of Service and EMAIL updates checkboxes and click AGREE & CONTINUE.
2. Tap Select a project on the top left side of the screen.
3. The ‘Select a project’ pop-up menu will appear. Click the NEW PROJECT button on the top.
4. Fill in the Project Name section by entering any name. Keep the location as it is and hit CREATE.
5. A new project will be created; you can view its dashboard on the screen. Next, click the APIs & Services tab on the left side. A drop-down menu will load; press the Library option.
6. Scroll down and select the YouTube Data API v3 tab.
7. Then, hit ENABLE to enable the YouTube API.
8. Now press the Credentials menu below the Library section.
9. Hit the CREATE CREDENTIALS button and select the API key tab from the drop-down menu.
10. The API key will be created. You can copy it from the screen and save it somewhere safe and accessible.
11. Now that you can access the API key, the next step is creating the API ID and Secret. Start by pressing the OAuth constant screen tab below Credentials.
12. In the consent screen, choose External and press CREATE.
13. Enter an App name of your choice ( you can also select the one entered above.) Then tap the User support Email tab to open a drop-down menu. Then, select the associated email.
14. Scroll down to the Developer contact information section. Re-enter your Email address and click on SAVE AND CONTINUE.
15. Return to the Credentials menu.
16. Tap CREATE CREDENTIALS and then tap OAuth client ID.
17. Tap the Application type tab and select TVs and Limited Input devices from the list. Next, press the Name tab and type YouTube API or any other name you like. Once done, hit CREATE.
18. A pop-up menu will appear. You can view your Client ID and Client Secret in the menu. Tap the Copy logo to copy and save them.
19. Press the SHOW KEY button under the API KEY section.
20. The key will be displayed instantly. Again, click the Copy icon to copy it to the clipboard.
21. Now, go to the OAuth consent screen.
22. Click PUBLISH APP under the Testing menu.
23. Click CONFIRM when a confirmation pop-up appears.
Setting Up YouTube API Key ID on Kodi
Once you complete the creation of the YouTube API Key, ID, and Secret, the hard part of the process is done. Now you need to set it up on Kodi. The process is fast and straightforward. Here’s what you got to do.
1. Launch Kodi and press the Add-ons section.
2. Now select the YouTube add-on from the Video add-ons tab to launch it.
3. Scroll down and select Settings.
4. Open the API menu in the Settings section.
5. Now, enter the API Key, API ID, and API Secret in the designated fields. Click OK to proceed.
6. Select Sign In.
7. Click OK in the log-in twice pop-up message.
8. Follow the Steps in the image below to complete the process.
9. Go to google.com/device on your web browser and enter the CODE in the code tab. Then, hit Continue to proceed.
10. Choose your Associated account.
11. Click Allow to let YouTube TV access your Google account.
12. Now, you must repeat the same Login process. Launch google.com/device on your web browser.
13. Enter CODE in the code section and press Continue.
Note: The codes will be different every time. Please be careful and enter the one displayed on the screen.
14. Again, choose your Google account to proceed.
15. In the verification alert message, click Advanced.
16. Press Go to Kodi YouTube (unsafe).
17. Give your accounts access to Kodi YouTube by tapping Allow. And that’s it. The last step is also complete.
18. The Kodi YouTube add-on will open. You can view your subscriptions, My channel, Playlists, and other options in the list.
FAQ’s
Here are some YouTube API keys and IDs from the Kodi FAQs.
Is creating and setting up a YouTube API Key and ID on Kodi necessary?
Yes, creating and setting up a YouTube API key and ID on Kodi is necessary. You need an API to access the platform for Kodi’s YouTube addon.
Is it free to create a YouTube API Key and ID for Kodi?
You can create a YouTube API Key and ID for Kodi for free. Just follow the steps mentioned in the above tutorial to get it done.
Final Words
This tutorial covered how to create and set up a YouTube API Key and ID on Kodi. Although the steps are elaborate and lengthy, you can quickly complete them by following along. That said, creating a YouTube API Key and ID is necessary. You can’t view YouTube content on Kodi without it.
Related:
Leave a Reply