Breadcrumbs

Youtube Connector v1.0

1. General Information

YouTube is the world’s largest online video-sharing and social media platform, allowing users to upload, view, share, and comment on videos. It serves as both an entertainment hub and a professional publishing platform.

2. Connect YouTube to OneTeg

To integrate YouTube with OneTeg, it is necessary to initiate a new project within Google Cloud Services. Please navigate to the Google Cloud platform to create a new project.

Initiate the process by searching for "Create a Project" and selecting the "Product Page - IAM & Admin" option

image-20260218-020818.png

Assign a name to your project and retain the project ID for future reference.

image-20260218-020934.png

Please select your newly created project from the top menu bar, then navigate to the "API & Services" tab located in the left-hand menu. Select the "Enabled APIs & Services" menu option.

image-20260218-021213.png


Select the "Enable API and Services" to configure the required API access permissions

image-20230103-051647.png

 

Find and select the YouTube API as shown:

Enable YouTube API:

 

image-20260218-021355.png

 

image-20260218-021423.png

 Click the “Enable” button.

 

Furthermore, it is necessary to generate new credentials to enable OneTeg to access YouTube. Navigate to the "APIs & Services" tab and select the "Credentials" menu item. From the top menu, choose "Create Credentials," followed by selecting the "OAuth Client ID" option.

 

Animation3.gif

   

As indicated in the prompt, it is necessary to configure the "Consent Screen." Please select the "Consent Screen Options" located on the right side of the interface.

 

image-20221219-203101.png

 

Animation4.gif

 

This new page enables configuration of the application registration and provides detailed information regarding the data presented to users.

Initially, input your application details, user support email, application logo (if applicable), and any other requisite information. Ensure that the "Developer Contact Information" email address is included at the conclusion of the first page. The user support email address will be designated as the same address associated with the Google Account utilized to access this cloud environment.

 

Animation5.gif

 

 Click the "Add or Remove Scopes" button and select the necessary scopes as illustrated below

 

image-20230210-104754.png

 

Within the filter section, enter "YouTube" and select all APIs whose names include the term "YouTube.".

 

image-20240831-174052.png

 

  

Upon adding the necessary scopes, please select the Save and Continue button to proceed.

 

Proceed by adding a user account to this application. Select the Add Users button and include the Google user account with which you are currently authenticated. Click “Save and Continue” button to proceed.

 

image-20230210-105751.png

  

Select the "Back to Dashboard" button located at the bottom of the page to return to the Dashboard.

Navigate to the "Credentials" option in the left-side menu, then select the "Create Credentials" button positioned in the top menu.

image-20230210-110831.png

 

Select the appropriate application type for the OAuth client, which is Web App, and then press Create.

This interface will display the OAuth Client Creation Page, presenting the Client ID and Client Secret credentials. Please securely save these credentials, as they will be required within the OneTeg environment to generate the Callback URL.

image-20230210-113614.png

 

  

image-20250101-213535.png


  

After entering the Client ID and Client Secret, please click the Save button to enable the system to generate a Callback URL.

Navigate to the Credentials main page, select the OAuth 2 credential, and enter the Callback URL accordingly.

After entering the URI, please press the save button to confirm and store the changes.

image-20250101-213619.png

Please contact OneTeg support if you are not sure what the correct redirect URI should be.

  

3. Connection Settings and Configuration for OneTeg

image-20260219-061246.png

 

Settings Parameters

Value

Description

Required (Y/N)

Connection Name

YouTube Connection

Preferred Connection Designation

Y

Connector

YouTube Connector

Preferred Connector Designation

Y

Endpoint URL

https://www.googleapis.com/youtube/v3

Endpoint required for performing CRUD operations

Y

Authentication

Oauth

Type of authentication

Y

Flows

Authentication Code

Type of Authentication

Y

Client Id

{client_id}

 Client ID in Box created App

Y

Client Secret

{client_secret}

 Client Secret in Box created App

Y

Token URL

https://oauth2.googleapis.com/token

 Token process URL

Y

Authorization Url

https://accounts.google.com/o/oauth2/auth

 Authorization process URL

Y

Scopes

https://www.googleapis.com/auth/youtube.readonly

Define the access required for the connector

 N

4. Supported YouTube Actions and Options