Composio connects AI agents to YouTube so they can read channel information and work with videos and playlists.
We recommend using your own Google OAuth app so you can manage its branding, credentials and requested permissions directly in your Google Cloud project.
A Google account with access to the YouTube channel you intend to connect. Select the correct channel or Brand Account if prompted.
Part 1: Set up your Google OAuth app
Step 1: Choose a project and enable the API
1. Open Google Cloud Console and select the project that will own your OAuth app. Create a project if you do not already have one.

2. Open APIs & Services → Library, search for YouTube Data API v3, and select the matching API. Select Enable. If Google shows Manage, the API is already enabled.

Enabling an API is a project setting, separate from Google reviewing your OAuth app. If you cannot enable it, ask your Google Cloud project administrator for the required access. API enablement permissions.
Google's YouTube setup documentation covers the API prerequisites.
Step 2: Configure branding and audience
1. Open Google Auth Platform → Branding. If Google shows Get started, enter your app name, user-support email, audience, and developer-contact details. Review the displayed policy before agreeing and saving.

2. In Audience, choose Internal only for eligible users in your Workspace organization. Use External for consumer accounts or users outside that organization.
3. If the external app is in Testing, add the Google accounts that will test it under Test users.

Step 3: Choose permissions for your workflow
1. Open Data Access → Add or remove scopes.
2. Choose the scopes your workflow needs. If a scope is missing, paste its full URL under Manually add scopes and select Add to table.
Permission reference. To read YouTube account data, the example uses https://www.googleapis.com/auth/youtube.readonly. youtube.readonly supports reading YouTube account data. Uploading videos, managing content, memberships, and partner operations need their own permissions or provider eligibility. This is a workflow example, not a required permission set for every toolkit action. Permission reference.

3. Select Update, then Save.
Step 4: Create a web OAuth client
1. Open Clients → Create client. Select Web application and give the client a name.

2. Under Authorized redirect URIs, add the exact callback shown in Composio:
https://backend.composio.dev/api/v1/auth-apps/add
3. Create the client. Copy its Client ID and securely save its Client secret for Composio. Keep downloaded credential files private.

Part 2: Connect YouTube in Composio
Step 1: Create an auth config
1. In the Composio dashboard, open Auth Configs and select Create.

2. Search for YouTube and select the toolkit.

3. Enter a Config Name and select Next.

Step 2: Enter credentials and select scopes
1. Select OAuth 2.0 and Your Own Credentials. Enter the Google Client ID in Client id and its secret in Client secret.
2. Keep Redirect URI unchanged. It must match the callback registered on the Google web client.
3. Choose the scopes your integration needs. Match them to your app's Google configuration. Select Create Auth Config.

Step 3: Connect your Google account
1. Open the auth config and select Connect Account.
2. Choose the Google account and, if prompted, the YouTube channel or Brand Account you intend to connect. Review the app and requested permissions before continuing.
A testing app can show an unverified-app notice. Check that the app and developer are yours before continuing.


Google may skip a permission screen if you already approved that access. If access is blocked, check the app's audience, test-user list, requested scopes, or your Workspace administrator's access policy.
Step 4: Confirm the connection is Active
1. Wait for Composio's successful-connection confirmation. Return to the auth config and open Accounts.
2. Confirm that the connected account shows Active. The auth config's separate Enabled label does not confirm a connected account.

Before using the app in production
Public production apps that request sensitive or restricted scopes generally need Google OAuth verification, unless an exception applies. Check your scopes in Data Access and the requirements in Google Auth Platform → Verification Center. Testing and eligible internal apps can qualify for exceptions. Verification requirements.
For external apps in Testing, Google generally expires data-scope authorizations after seven days. Moving to production does not itself complete verification.
Manage your YouTube data and revoke access
How Composio uses YouTube data
This service uses YouTube API Services. Composio processes YouTube data, such as video metadata, channel information, playlists, and analytics, to provide its YouTube integration functionality. Composio does not use YouTube data for advertising or sell or share it without authorization. Google user data is not used to train AI or machine learning models.
Under Composio's Privacy Policy, stored YouTube API data is retained for no more than 30 calendar days before it is refreshed from YouTube or permanently deleted. YouTube features are also subject to Google's Privacy Policy.
Request deletion of stored YouTube data
Email support@composio.dev to request deletion of your YouTube-related data stored by Composio. You can request immediate deletion at any time.
Identify the Composio account and YouTube connection concerned, and state which data you want deleted. Do not include passwords, client secrets, or access tokens.
If an application built with Composio stores additional copies of your YouTube data, contact that application's operator to request deletion of those copies too.
Revoke access through your Google Account
Open Google Account connections and sign in to the Google account you connected.
Select the app you authorized. For this custom OAuth setup, look for your own app's name. If you used Composio-managed authorization, select Composio.
Open the details for the app's access to your Google Account, select Remove access, and confirm.
Revoking access stops the app from accessing your Google Account through that authorization. Features that depend on it may stop working until you reconnect. Revoking access does not itself delete data the app previously stored; use the deletion procedure above for data held by Composio and contact the application operator for any other stored copies. See Google's instructions for managing app access.