Updated on 2025-11-07 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. Return to the Google console, choose Enabled APIs and services, and click Enable APIs and services.
      Figure 3 Enable APIs and services
    2. Search for YouTube.
      Figure 4 Searching for YouTube
    3. Find and enable YouTube Data API v3.
      Figure 5 Enabling the API

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

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

      The value corresponds to the API key in the AICC.

  4. Create an OAuth consent screen.
    1. Return to the Google console and click OAuth consent screen. The OAuth overview page is displayed.
    2. Click Start, enter mandatory information, set Audience to External, and retain the default values for other parameters.
      Figure 9 Creating an OAuth consent screen
    3. Click Create.
    4. Set Audience, click Add users, and add a test user.
      Figure 10 Adding a test user
    5. Click SAVE AND CONTINUE to complete the configuration.
    6. In the navigation pane of Google Cloud, choose Credentials, click CREATE CREDENTIALS, and choose OAuth client ID.
      Figure 11 Choosing OAuth client ID
      Figure 12 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. Open Google Developers, select all YouTube Data V3 APIs, click in the upper right corner, select Use your own OAuth credentials, enter the OAuth client ID and secret created in 4.f, and click Authorize APls.
    Figure 13 Entering the OAuth client ID and key
  6. Use the developer account to sign in to Google. Select Select all to assign all permissions to the developer account.
    Figure 14 Page for agreeing to authorization
  7. Click Eхchange authorization сode foг tokens to generate the access token and refresh token, which correspond to Access token and Refresh token in the AICC respectively.
    Figure 15 Generating the access token and refresh token
  8. Create a channel on YouTube.
    1. Go to the YouTube home page (https://youtube.com), click +Create, and click Create channel on the How you'll appear page.
      Figure 16 Page for creating a channel
    1. Click 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 Configure Channel and then click New.
  3. In the Create Channel dialog box, set parameters based on Table 1.

    Table 1 Parameters for creating a channel

    Parameter

    Description

    Channel Name

    Enter a customized name.

    OU Configuration

    OU to which the channel configuration belongs.

    NOTE:

    If no OU is configured or Unorganized is selected, the data can be used by all OUs.

    Channel Configuration

    Select YouTube.

    Channel ID

    ID of the channel created in 8.

    apiKey

    Key created in Figure 8.

    Client ID

    Client ID generated in Figure 12.

    appKey

    Client key generated in Figure 12.

    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 YouTube channel needs to be configured on the Configuration Center > Expansion and Integration > 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 YouTube channel needs to be configured on the Configuration Center > Expansion and Integration > API Management > APP Service > APP Management page, and enter the app secret here.

    Operation personnel

    Assign employees of the tenant to maintain the publish channel.

    A maximum of 10 operators can be assigned to a channel.

    NOTE:
    • When publishing a post, you can view only the channel for which you are an operator.
    • It is recommended that at least one operator be configured.

  4. Click Save.