Skip to content

Commit dc1e558

Browse files
Update youtube.mdx
1 parent 19ecb4e commit dc1e558

File tree

1 file changed

+31
-23
lines changed

1 file changed

+31
-23
lines changed

pages/providers/youtube.mdx

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,21 @@ Follow the instructions as availabe in the [Obtaining authorization credentials]
1515

1616
<Steps>
1717

18-
### Step 1 Go to Credentials Page
19-
Make sure you are logged in to your Google account and visit the [Credentials - APIs & Services](https://console.cloud.google.com/projectselector2/apis/credentials) page. Make sure to read the terms and conditions and "Agree and Continue".
18+
## General Setup
2019

21-
### Step 2 Create Project
22-
Create a new project by clicking on the "Create Project" button.
20+
### Go to Credentials Page
21+
Make sure you are logged in to your Google account and visit the [Credentials - APIs & Services](https://console.cloud.google.com/projectselector2/apis/credentials) page. Make sure to read the terms and conditions and "Agree and Continue".
2322

24-
### Step 3
25-
Fill in the project name, and details and click "Create".
23+
### Create Project
24+
Create a new project by clicking on the "Create Project" button. Fill in the project name, and details and click "Create".
2625

27-
### Step 4 Create OAuth Credentials
26+
### Create OAuth Credentials
2827
Create credentials by clicking on the "Create Credentials" button. Select the "OAuth client ID" option.
2928

30-
### Step 5 Configure Consent Screen
31-
Make sure that your consent screen has been configured. Add yourself as a test user of the application.
29+
### Configure Consent Screen
30+
Make sure that your consent screen has been configured.
3231

33-
### Step 6 Fill in OAuth Details
32+
### Fill in OAuth Details
3433
Create the OAuth client ID. Select "Web application" as the application type and fill in the details.
3534

3635
<OAuth2Redirect provider = "youtube" />
@@ -39,35 +38,44 @@ Under "Authorized redirect URIs", insert your OAuth2 Redirect URI.
3938

4039
![YouTube](/images/providers/youtube/youtube-001.png)
4140

42-
### Step 7 Activate YouTubes API
43-
Go to Activated APIs and Services. Then click on Activate APIs and Services. Search YouTube Data API v3 and activate the API by clicking it and clicking Activate.
44-
Do the same Process with YouTube Analytics API and YouTube Reporting API.
45-
46-
</Steps>
47-
4841
After following all of the steps above you should be met with a screen that shows your client ID and client secret. Add these to your providers configuration.
4942

5043
```env
5144
YOUTUBE_CLIENT_ID=""
5245
YOUTUBE_CLIENT_SECRET=""
5346
```
5447

55-
ADDITIONAL STEPS FOR BRAND ACCOUNTS
48+
### Add Test User
49+
50+
Add yourself as a test user of the application
51+
52+
![YouTube](/images/providers/youtube/YouTube-Add-Test-Users.png)
53+
54+
### Activate YouTube's API
55+
Go to "Enabled APIs and Services". Then click on "Enable APIs and Services". Search "YouTube Data API v3" and activate the API by selecting it and clicking "Enable". Do the same Process with "YouTube Analytics API" and "YouTube Reporting API".
56+
57+
![Enabled APIs](/images/providers/youtube/YouTube-Enabled-APIs.png)
58+
59+
![Enabled APIs](/images/providers/youtube/Enable-APIs-and-Services.png)
60+
61+
</Steps>
62+
63+
## ADDITIONAL STEPS FOR BRAND ACCOUNTS
5664
Note: When using a Brand account you will need to set your APP to External and setup a test user.
5765
You do not need to publish the APP, but it does take time for the changes to propagate.
5866
You will also need to add the app to the trusted apps within your google workspace Admin.
5967

60-
### Step 1 Go to admin.google.com
61-
sign in
68+
### Go to admin.google.com
69+
Sign in
6270

63-
### Step 2 go to Security --> Access and data Controls --> API Controls
71+
### Go to Security --> Access and data Controls --> API Controls
6472
Click Manage Third Party App Access
6573

66-
### Step 3 Click Configure new App
74+
### Click "Configure new App"
6775
Put your Client ID for the app you created in previous steps into the search box and select your app
6876

69-
### Step 4 Set scopes and Google Data Access for the app to Trusted
77+
### Set scopes and Google Data Access for the app to Trusted
7078
Once set, click save
7179

72-
### Step 5 Wait at least 5 hours for the changes to propegate.
80+
### Wait at least 5 hours for the changes to propagate.
7381
After this time you should now be able to add your Youtube channel to your Postiz account

0 commit comments

Comments
 (0)