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:
- Apply for a developer account.
- Access Google Cloud, register a Google account, and sign in.
- Click Select a project, click NEW PROJECT, and create a project.
Figure 1 Select a project
Figure 2 New Project
- Enable YouTube.
- In the navigation pane of Google Cloud, choose Figure 3 Enabled APIs & services
.
- Click ENABLE APIS AND SERVICES.
Figure 4 ENABLE APIS AND SERVICES
- Search for YouTube.
Figure 5 Searching for YouTube
- 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
- In the navigation pane of Google Cloud, choose
- Create a credential.
- In the navigation pane of Google Cloud, choose Credentials, and click CREATE CREDENTIALS.
Figure 8 Creating a credential
- Create a key.
The value corresponds to the API key in the AICC.
- In the navigation pane of Google Cloud, choose Credentials, and click CREATE CREDENTIALS.
- Create an OAuth consent screen.
- In the navigation pane of Google Cloud, choose OAuth consent screen.
- 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.
- Click ADD USERS and add a test user.
Figure 11 Adding a test user
- Click SAVE AND CONTINUE to complete the configuration.
- In the navigation pane of Google Cloud, choose Credentials, click CREATE CREDENTIALS, and choose OAuth client ID.
Figure 12 Choosing 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.
- 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
- Use the developer account to sign in to Google. Select Select all to assign all permissions to the developer account.
- Create a channel on YouTube.
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
- Sign in to the AICC as a tenant administrator and choose .
- Click Configure Channel and then click New.
- 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 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 YouTube channel needs to be configured on the
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
page, and enter the app secret here. - Click Save.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot