API Credentials for YouTube

Guide to obtaining tokens, keys, and connections.

Step-by-step guide (without technical jargon) to obtain your Google “Client ID” and “Client Secret” and connect YouTube with Botize. At the end, you will be able to authorize your YouTube account to automate searches or upload videos.

Connect YouTube to Botize

  1. 1

    Go to https://console.cloud.google.com in your browser. Sign in using the same Gmail account that you use for your YouTube channel.

  2. 2

    Click on the project selector at the top. Then click the “New project” button. Give it a name (for example, “YouTube demo”) and click “Create”.

  3. 3

    Open the project selector again. If your new project is not selected, click on it to activate it.

  4. 4

    Use the search bar at the top and type “youtube”. In the results, click on “YouTube Data API v3”. Then click “Enable”.

  5. 5

    In the left menu, go to “APIs & Services” → “OAuth consent screen”. Click “Get started”.

  6. 6

    User type: select “External”. Click “Next”. In “App name”, enter something like “youtube demo”. In “User support email”, keep your own email. Click “Next” until you reach the policy confirmation page, check the consent box, then click “Continue” and finally “Create”.

  7. 7

    Inside the “OAuth consent screen”, go to the “Test users” section. Click “Add users” and enter the email address of the YouTube account you want to connect. Save the changes.

  8. 8

    Go to “APIs & Services” → “Credentials”. Click “Create credentials” → “OAuth client ID”. In “Application type”, select “Web application”.

  9. 9

    In “Name”, enter something like “botize demo”. In the “Authorized redirect URIs” section, add: https://botize.com/callback/youtube . Then click “Create”.

  10. 10

    A window will appear showing your credentials. Copy the “Client ID” and “Client Secret” (you can always return to “Credentials” to see them again later).

  11. 11

    Go to https://botize.com and log in to your account. Go to “Applications” and search for “YouTube”. Click on the YouTube icon.

  12. 12

    Click “Add a new profile”. In the form that appears, paste the “Client ID” and “Client Secret” you copied from Google Cloud.

  13. 13

    Click “Authorize” in Botize. A Google window will appear. Select the YouTube account you want to connect.

  14. 14

    Since the app is just for your own use, you’ll see a warning saying the app is not verified. Click “Continue”.

  15. 15

    Check “Select all” (or all required permissions) and click “Continue” / “Allow”.

  16. 16

    You’ll be returned to Botize with your YouTube account successfully connected. From now on, you can automate tasks to search for videos, upload videos, etc.