Updated on 2023-10-12 GMT+08:00

Creating a YouTube Channel

Prerequisites

The connection to YouTube has been completed. If the connection has not been completed, perform the following steps to complete the connection:

  1. Apply for a developer account.
    1. Access Google Cloud, register a Google account, and sign in.
    2. Click Select a project, click NEW PROJECT, and create a project.
      Figure 1 Select a project
      Figure 2 New Project
  2. Enable YouTube.
    1. In the navigation pane of Google Cloud, choose APIs & Services > Enabled APIs & services.
      Figure 3 Enabled APIs & services
    2. Click ENABLE APIS AND SERVICES.
      Figure 4 ENABLE APIS AND SERVICES
    3. Search for YouTube.
      Figure 5 Searching for YouTube
    4. Find and enable YouTube Data API v3.
      Figure 6 Enabling the API

      If the following page is displayed, the API is enabled successfully.

      Figure 7 API enabled successfully
  3. Create a credential.
    1. In the navigation pane of Google Cloud, choose Credentials, and click CREATE CREDENTIALS.
      Figure 8 Creating a credential
    2. Create a key.
      Figure 9 Creating a key

      The value corresponds to the API key in the AICC.

  4. Create an OAuth consent screen.
    1. In the navigation pane of Google Cloud, choose OAuth consent screen.
    2. Select External and click CREATE.
      Figure 10 Creating an OAuth consent screen

      Set all mandatory parameters and retain the default values for other parameters until the 3 Test users page is displayed.

    3. Click ADD USERS and add a test user.
      Figure 11 Adding a test user
    4. Click SAVE AND CONTINUE to complete the configuration.
    5. In the navigation pane of Google Cloud, choose Credentials, click CREATE CREDENTIALS, and choose OAuth client ID.
      Figure 12 Choosing OAuth client ID
      Figure 13 Creating an OAuth client ID

      Add the redirection URI https://developers.google.com/oauthplayground. Note that the URI cannot end with a slash (/).

      After you click CREATE, obtain the values of OAuth Client ID and OAuth Client secret that are generated automatically. The values correspond to the values of Client ID and appKey in the AICC, respectively.

  5. Access Google Developers, select all APIs under the YouTube Data API v3, and enter the obtained OAuth client ID and secret to generate an API.
    Figure 14 Generating an API
    Figure 15 Obtaining the generated access token and refresh token
  6. Use the developer account to sign in to Google. Select Select all to assign all permissions to the developer account.

  7. Create a channel on YouTube.
    Figure 16 Creating a channel

    Go to the YouTube home page and choose Your channel. The last segment of the URL is the channel ID, which corresponds to the channel ID in the AICC.

Context

None

Procedure

  1. Sign in to the AICC as a tenant administrator and choose > Account Post.
  2. Click Channel Configuration and then click Adding a channel.
  3. In the Creating channel dialog box, set parameters based on Table 1.

    Table 1 Parameters for creating a channel

    Parameter

    Description

    Channel Name

    Enter a customized value.

    Channel Configuration

    Select YouTube.

    Channel ID

    ID of the channel created in Figure 16.

    apiKey

    Key created in Figure 9.

    Client ID

    Client ID generated in Figure 13.

    appKey

    Client key generated in Figure 13.

    accessToken

    Access token and refresh token generated in Figure 15.

    refreshToken

    ApiFabricAK

    Contact the system administrator to obtain the app key of the app that has subscribed to the refreshNorth API and bound to the tenant space for which the WhatsApp channel needs to be configured on the Configuration Center > Expansion Management > API Management > APP Service > APP Management page, and enter the app key here.

    ApiFabricSK

    Contact the system administrator to obtain the app secret of the app that has subscribed to the refreshNorth API and bound to the tenant space for which the WhatsApp channel needs to be configured on the Configuration Center > Expansion Management > API Management > APP Service > APP Management page, and enter the app secret here.

  4. Click OK.