Skip to main content
Skip table of contents

Youtube Connector v1.0

1. General Information

Log into Google Console with the correct credentials for creating a new YouTube application.

Create a new project:

 

image-20250101-213408.png

 

Select the newly created project from the menu as shown below:

 

image-20240831-174827.png

 

 

gcp.png

Click on the Enable API and Services for selecting the required API access:

 

Find and select the Youtube API as shown:

Enable Youtube API:

 

image-20240831-173430.png

 

image-20240831-173552.png

 

 

We need to add a new credential. Select APIs & Services selection from the left menu table and select “Credentials”. From the new page, on the top side select “Create Credentials” and select “OAuth Client ID”

 

 

 

 

 

As the prompt, the “Consent Screen” needs to be configured. Press the “Consent Screen Options” on the right side of the screen.

 

 

 

This new page lets you configure the app registration and gives information about the information presented to the users.

First enter your App information, user support mail, App logo (if any), and other necessary information. Please remember to add the “Developer Contact Information” mail address at the end of the first page. User support mail address will be selected as the same address the Google Account used to open this cloud space.

 

 

 

Press the “Add or Remove Scopes” button and select the required scopes as shown below:

 

 

In the filter part, write “Youtube” and select all the API’s that have “Youtube” in the name.

 

image-20240831-174052.png

 

 

image-20240831-174234.png

 

After adding your scopes, please press Save and Continue button.

 

In the next screen, we will add Test User accounts to this App. Press the Add Users button and add the Google user account that you are currently logged in to (for us this is the onetegtest@gmail.com)

 

 

 

image-20250101-213505.png

 

image-20250101-213515.png

 

Be sure to check that the email you have entered to the Test users part is shown. To continue click the save and continue button.

You will see a summary page with the information you have added.

Click the Back to Dashboard button at the end of the page to go back to the Dashboard.

Click the Credentials button on the left side menu and click Create Credentials button at the top menu.

 

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

This will show you an OAuth Client Created Page, which will show you the Client ID and Client Secret information. Save these codes for we will use these credentials in the Oneteg environment to generate the Callback URL. 

 

 

 

image-20250101-213535.png

 

 

After adding the Client ID and Client Secret click on the Save button for the system to create a Callback URL. 

Go to the Credentials main page, click on the OAuth 2 credential and add the Callback URL.

After adding the the URI, press save to save it.

image-20250101-213619.png

 


2. Connector Action & Tests

Action Name / Method

Misc: Get Channels (GET)

Action Description

Get Youtube channel Id

Test Case

Get Youtube channel Id

Request Body Name

Parameter

Type

Description (Example)

 

mine

boolan

true

 

image-20240901-171106.png

 

3. Connection Settings and Configuration

 

Settings Parameters

Value

Description

Required (Y/N)

Default Value

Connector

Youtube

Connector Name

Y

Youtube

Host Name

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

Endpoint required for performing CRUD

Y

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

Authentication

OAuth

Type of authentication

Y

 

Client ID

{client_id}

{client_id}

Y

 

Client Secret

{client _secret}

{client_secret}

Y

 

Token Url

https://oauth2.googleapis.com/token

 

Y

https://oauth2.googleapis.com/token

Authorization Url

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

 

Y

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

Scopes

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

 

Y

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

image-20240901-172633.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.