IntegrationsBuilt-in Providers
YouTube
Connect YouTube to your Appstrate agents.
Overview
YouTube is Google's video platform, allowing your agents to manage videos, channels, and analyze metrics.
Authentication Mode
| Property | Value |
|---|---|
| Type | oauth2 |
| Header | Authorization: Bearer <token> |
| Default scopes | youtube.readonly |
Available Scopes
| Scope | Description |
|---|---|
youtube.readonly | Read-only access (videos, channels, playlists) |
youtube | Full access (manage account) |
youtube.upload | Upload videos |
youtube.force-ssl | Manage videos, comments, captions (SSL required) |
youtubepartner | YouTube Partner (content and rights management) |
youtube.channel-memberships.creator | Read channel memberships |
Authorized URIs
The agent can access the following endpoints through the sidecar proxy:
https://www.googleapis.com/youtube/*https://youtube.googleapis.com/*https://www.googleapis.com/upload/youtube/*
Connect YouTube
- Enable the YouTube Data API v3 in a Google Cloud project
- Configure the OAuth consent screen
- Create OAuth 2.0 credentials (Client ID and Client Secret)
- Add the Appstrate redirect URI as an authorized redirect URI
- Enter the Client ID and Client Secret in the YouTube provider settings on Appstrate
Usage in an Agent
Once connected, the agent can call YouTube APIs through the sidecar proxy. Example prompt:
Every week, analyze the performance of the 10 latest channel videos.
Compare views, likes, and comments with the previous week.
Generate a report with the trends and post it to the "YouTube Analytics" Google Sheet.