> ## Documentation Index
> Fetch the complete documentation index at: https://davinci.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Youtube API Integration

> Generate blog posts and other content with AI Youtube feature by simply including your Youtube API key.

## Introduction

Davinci AI's AI Youtube feature allows you to generate following content out of your Youtube videos:

* Blog posts
* Outlines
* Explaining main ideas
* Creating extended description
* Summarizing the content
* Preparing pros and cons

## Youtube Configuration

To be able to use your Youtube API, follow these steps to setup integration.

<Steps>
  <Step title="Step 1">
    Log in to [Google Developers Console](https://console.cloud.google.com/)
  </Step>

  <Step title="Step 2">
    Now, you have to create a new project on the developer console. To create a new project, click on the dropdown menu at the top of the page labeled **Select a project**. Then click **New Project**, and enter the project name, select your organization (if applicable), and then click **Create**.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-1.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=4ab30defc293d053b8d6278c5a439ac4" width="2048" height="704" data-path="images/other/youtube/y-1.jpg" />
  </Step>

  <Step title="Step 3">
    Once your project is created, you’ll need to enable the **YouTube Data API** in order to access its functionality. To do this, go to your project and click on the **APIs & Services** menu on the left-hand side of the console. From here, click the **Enable APIs and Services** button.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-2.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=37b761a784eff25c0e0a14a54333f68c" width="2048" height="728" data-path="images/other/youtube/y-2.jpg" />
  </Step>

  <Step title="Step 4">
    Then look for **YouTube Data API V3**. You can either search it from the search box or simply scroll down.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-3.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=75c757973973896c4c0addb8a6919bd9" width="2048" height="670" data-path="images/other/youtube/y-3.jpg" />
  </Step>

  <Step title="Step 5">
    Next, click on the **YouTube Data API V3** API and click the **Enable** button.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-4.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=1f15e5ba5c2557eb06d42dcac9bdce49" width="1974" height="842" data-path="images/other/youtube/y-4.jpg" />
  </Step>

  <Step title="Step 6">
    After enabling the API, you’ll need to create credentials to authenticate your application when it makes requests to the API. To create credentials, click on the **Create credentials** button on the API Dashboard page, and select **API key** from the dropdown menu.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-5.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=25037b46275116317e159a6225a2a0dd" width="2048" height="859" data-path="images/other/youtube/y-5.jpg" />
  </Step>

  <Step title="Step 7">
    Then it will take around 2-3 seconds and you’ll get your API key. Now, copy that key.\
    <Note>Keep your API key secure. It provides access to Youtube API’s services and should not be shared publicly.</Note>

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-6.jpg?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=59f1c92e4bfb414ba388596b2daed2d1" width="1298" height="802" data-path="images/other/youtube/y-6.jpg" />
  </Step>

  <Step title="Step 8">
    Next, login to Davinci AI using your admin credentials and in **Admin Panel**, navigate to **AI Settings** -> **AI API Keys** tab.
  </Step>

  <Step title="Step 9">
    Click on **Youtube** tab there.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-7.png?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=c5de51e0daa4e885f7fbcc64513724c6" width="520" height="103" data-path="images/other/youtube/y-7.png" />
  </Step>

  <Step title="Step 10">
    Include your API key under **Serper API Key** input field.

    <img src="https://mintcdn.com/davinci/IUNSbPo5lt6ysUzE/images/other/youtube/y-8.png?fit=max&auto=format&n=IUNSbPo5lt6ysUzE&q=85&s=03fced4beafe839175a5030eb183f626" width="692" height="369" data-path="images/other/youtube/y-8.png" />
  </Step>

  <Step title="Step 8">
    After you are done with configurations, click on **Save** button.
  </Step>
</Steps>

<Check>
  Congratulations! You have successfully comleted the Youtube API setup process.
</Check>
