Get your YouTube API Key. Step 1: Integrate YouTube API key to Magento 2. Step 2: Implement the Magento 2 Product video. Step 3: Step 1: Get your YouTube API Key. To create a project: Login to your account ↓ Google Navigate to the . Google Developers Console ↓ Click the button displayed on the left corner of the page. ↓ Choose ↓ Click on → Click on . Menu API & Services Library Library Create Enter the and again click on . project name Create Create YouTube API Key After creating the project, again click on the button. ↓ Choose → . ↓ Now you’ll be redirected to the . Scroll down and click on . Menu API & Services Library API Library page YouTube Data API Now you should be on Page. Click on . YouTube Data API Enable You need Credentials to access API’s. Click on ↓ Select as shown in the image below. ↓ Select as shown in the image below. ↓ Click on . Create Credentials. YouTube Data API Web Browser (Javascript) What Credentials do I need Congratulations! You have generated an API Key. Step 2: Integrate YouTube API key to Magento 2. On the of your Magento e-store, click on tab from the left corner of the page. Select . Admin panel Stores ↓ Configurations Under tab click on the catalog. ↓ Under the , insert the generated in the Google Developers Console. ↓ Click on . Catalog product video section YouTube API Key Save Config Step 3: Implement the Magento 2 Product video. On the of Magento e-store, ↓ Click the option. ↓ Click on option. Admin Panel go to the Catalog tab. Products Edit Go to Section Select Images and Videos Add Video. Enter the of the Youtube or Vimeo Video. ↓ Complete the , and upload . ↓ Select to use the video metadata and then click on . Product Video URL title description preview image Get Video Information Save To see the results, go back to the Product page.