> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-1.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=596105fcbb8d8bc2036fc78a87c07550" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-2.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=b1b0b1b0a5a8e4c72eca2755ad73d24b" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-3.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=6fb33286840390ee6861cc62e972f418" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-4.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=80203128198c1efe341fa4a03e2cce08" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-5.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=e41be47a6167f193560bc8e9c4764d8f" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-6.jpg?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=4e63806ca3b5862895aa95d0a073d21f" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-7.png?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=497eae74d284fef1158286f61cd40208" 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/magicads/IBtucosPyb4q0zfk/images/other/youtube/y-8.png?fit=max&auto=format&n=IBtucosPyb4q0zfk&q=85&s=8ec47e8c885baee1ff424dd97cc057e6" 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>
