Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.3 KB

credentials.json.md

File metadata and controls

36 lines (25 loc) · 1.3 KB

To set up a Google Cloud Platform (GCP) project and enable the YouTube Data API, follow these steps:

1. Create a New GCP Project

  1. Sign in to GCP:

  2. Create a New Project:

    • In the top menu, click the Project drop-down, then select New Project.
    • Enter your project name (e.g., "YouTube API Project").
    • Select your organization and location (if applicable).
    • Click Create.

2. Enable the YouTube Data API

  1. Go to the YouTube Data API:

  2. Enable the API:

    • Click Enable to activate the YouTube Data API for your project.

3. Create an API Key

  1. Navigate to API & Services:

    • In the left sidebar, click APIs & Services > Credentials.
  2. Create Credentials:

    • Click + Create Credentials and select API Key.
    • Your API key will be generated and displayed. Copy this key for later use.

4. Download Your Credentials File

  1. Download Credentials:
    • While in the Credentials tab, find your API key, click on it, and then click Download JSON.
    • Save this file securely, as it contains your credentials.