> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube OAuth 2.0 connector profile – StackOne setup guide

> Set up the OAuth 2.0 connector profile for YouTube in StackOne. One-time admin setup required before your users can link YouTube accounts via Hub.

<Warning>A Google Cloud project with Owner or Editor permissions is required to create OAuth credentials.</Warning>

<Panel>
  <div className="not-prose guides-scope-selector" data-guides-scope-selector data-guide-actions-json="[{&#x22;id&#x22;:&#x22;youtube_list_captions&#x22;,&#x22;label&#x22;:&#x22;List Captions&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_download_caption&#x22;,&#x22;label&#x22;:&#x22;Download Caption&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_caption&#x22;,&#x22;label&#x22;:&#x22;Delete Caption&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_caption&#x22;,&#x22;label&#x22;:&#x22;Create Caption&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_caption&#x22;,&#x22;label&#x22;:&#x22;Update Caption&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_get_authenticated_channel&#x22;,&#x22;label&#x22;:&#x22;Get Authenticated Channel&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_channels&#x22;,&#x22;label&#x22;:&#x22;List Channels&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_channel&#x22;,&#x22;label&#x22;:&#x22;Update Channel&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_channel_sections&#x22;,&#x22;label&#x22;:&#x22;List Channel Sections&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_channel_section&#x22;,&#x22;label&#x22;:&#x22;Create Channel Section&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_channel_section&#x22;,&#x22;label&#x22;:&#x22;Update Channel Section&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_channel_section&#x22;,&#x22;label&#x22;:&#x22;Delete Channel Section&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_unset_watermark&#x22;,&#x22;label&#x22;:&#x22;Unset Channel Watermark&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_set_watermark&#x22;,&#x22;label&#x22;:&#x22;Set Channel Watermark&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.upload&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_comment_threads&#x22;,&#x22;label&#x22;:&#x22;List Comment Threads&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_comment_thread&#x22;,&#x22;label&#x22;:&#x22;Create Comment Thread&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_comments&#x22;,&#x22;label&#x22;:&#x22;List Comments&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_comment&#x22;,&#x22;label&#x22;:&#x22;Create Comment&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_comment&#x22;,&#x22;label&#x22;:&#x22;Update Comment&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_comment&#x22;,&#x22;label&#x22;:&#x22;Delete Comment&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_set_comment_moderation_status&#x22;,&#x22;label&#x22;:&#x22;Set Comment Moderation Status&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_playlists&#x22;,&#x22;label&#x22;:&#x22;List Playlists&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_playlist&#x22;,&#x22;label&#x22;:&#x22;Create Playlist&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_playlist&#x22;,&#x22;label&#x22;:&#x22;Update Playlist&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_playlist&#x22;,&#x22;label&#x22;:&#x22;Delete Playlist&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_playlist_items&#x22;,&#x22;label&#x22;:&#x22;List Playlist Items&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_add_playlist_item&#x22;,&#x22;label&#x22;:&#x22;Add Playlist Item&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_playlist_item&#x22;,&#x22;label&#x22;:&#x22;Update Playlist Item&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_remove_playlist_item&#x22;,&#x22;label&#x22;:&#x22;Remove Playlist Item&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_video_categories&#x22;,&#x22;label&#x22;:&#x22;List Video Categories&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_languages&#x22;,&#x22;label&#x22;:&#x22;List Languages&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_regions&#x22;,&#x22;label&#x22;:&#x22;List Regions&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_video_abuse_report_reasons&#x22;,&#x22;label&#x22;:&#x22;List Video Abuse Report Reasons&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_activities&#x22;,&#x22;label&#x22;:&#x22;List Activities&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_search&#x22;,&#x22;label&#x22;:&#x22;Search&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_subscriptions&#x22;,&#x22;label&#x22;:&#x22;List Subscriptions&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_create_subscription&#x22;,&#x22;label&#x22;:&#x22;Create Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_subscription&#x22;,&#x22;label&#x22;:&#x22;Delete Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_members&#x22;,&#x22;label&#x22;:&#x22;List Members&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.channel-memberships.creator&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_membership_levels&#x22;,&#x22;label&#x22;:&#x22;List Membership Levels&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.channel-memberships.creator&#x22;]},{&#x22;id&#x22;:&#x22;youtube_list_videos&#x22;,&#x22;label&#x22;:&#x22;List Videos&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.readonly&#x22;]},{&#x22;id&#x22;:&#x22;youtube_update_video&#x22;,&#x22;label&#x22;:&#x22;Update Video&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_delete_video&#x22;,&#x22;label&#x22;:&#x22;Delete Video&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_rate_video&#x22;,&#x22;label&#x22;:&#x22;Rate Video&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_get_video_rating&#x22;,&#x22;label&#x22;:&#x22;Get Video Rating&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.force-ssl&#x22;]},{&#x22;id&#x22;:&#x22;youtube_report_video_abuse&#x22;,&#x22;label&#x22;:&#x22;Report Video Abuse&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube&#x22;]},{&#x22;id&#x22;:&#x22;youtube_upload_video&#x22;,&#x22;label&#x22;:&#x22;Upload Video&#x22;,&#x22;scopes&#x22;:[&#x22;https://www.googleapis.com/auth/youtube.upload&#x22;]}]" style={{ borderRadius: '8px', padding: '16px', marginBottom: '24px' }}>
    <div className="guides-scope-selector__title" style={{ fontSize: '16px', fontWeight: '600', marginBottom: '12px' }}>Select Actions to adjust the guide</div>
    <div className="guides-scope-selector__muted" style={{ fontSize: '13px', marginBottom: '12px' }}>Some actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.</div>

    <div style={{ display: 'flex', gap: '8px', marginBottom: '12px', flexWrap: 'wrap' }}>
      <input type="text" placeholder="Search actions..." className="guides-scope-selector__input" data-guide-action-search style={{ padding: '8px 12px', borderRadius: '6px', fontSize: '13px', flex: 1, minWidth: '160px' }} />

      <button type="button" className="guides-scope-selector__quick-btn" data-guide-select-all style={{ padding: '6px 10px', borderRadius: '6px', fontSize: '12px', cursor: 'pointer' }}>Select all</button>
      <button type="button" className="guides-scope-selector__quick-btn" data-guide-clear style={{ padding: '6px 10px', borderRadius: '6px', fontSize: '12px', cursor: 'pointer' }}>Clear</button>
    </div>

    <div className="guides-scope-selector__list" style={{ maxHeight: '240px', overflowY: 'auto', borderRadius: '6px', marginBottom: '12px' }}>
      <div className="guides-scope-selector__list-header" style={{ display: 'flex', alignItems: 'center', gap: '10px', padding: '8px 12px', fontSize: '12px', fontWeight: '600', position: 'sticky', top: 0, zIndex: 1 }}>
        <div style={{ width: '16px', flexShrink: 0 }} />

        <div style={{ flex: 1, textAlign: 'left' }}>Action</div>
        <div style={{ minWidth: '120px', marginLeft: 'auto', textAlign: 'right' }}>Scope(s)</div>
      </div>

      <div className="guides-scope-selector__muted" data-guide-loading style={{ padding: '16px', textAlign: 'center', fontSize: '13px' }}>Loading actions...</div>
      <div className="guides-scope-selector__muted" data-guide-no-results hidden style={{ padding: '16px', textAlign: 'center', fontSize: '13px' }}>No actions match your search.</div>
    </div>

    <div className="guides-scope-selector__url-section" style={{ marginTop: '12px', paddingTop: '12px' }}>
      <div className="guides-scope-selector__muted" style={{ fontSize: '12px', fontWeight: '500', marginBottom: '6px' }}>Dynamic Guide URL</div>

      <div style={{ display: 'flex', alignItems: 'center', gap: '8px', flexWrap: 'wrap' }}>
        <input type="text" readOnly className="guides-scope-selector__input" data-guide-url style={{ flex: 1, minWidth: '200px', padding: '8px 10px', borderRadius: '6px', fontSize: '12px', fontFamily: 'monospace' }} />

        <button type="button" className="guides-scope-selector__copy-btn" data-guide-copy-url style={{ width: '120px', padding: '8px 14px', borderRadius: '6px', fontSize: '13px', fontWeight: '500', cursor: 'pointer', whiteSpace: 'nowrap', marginLeft: 'auto' }}>Copy URL</button>
      </div>

      <div style={{ marginTop: '12px' }}>
        <div className="guides-scope-selector__muted" style={{ fontSize: '12px', fontWeight: '500', marginBottom: '6px' }}>Scopes Selected</div>

        <div style={{ display: 'flex', alignItems: 'stretch', gap: '8px', flexWrap: 'wrap' }}>
          <pre className="guides-scope-selector__input" role="textbox" aria-readonly="true" tabIndex={0} data-guide-scopes-output style={{ flex: 1, minWidth: '200px', minHeight: '88px', maxHeight: '120px', overflowY: 'auto', margin: 0, padding: '8px 10px', borderRadius: '6px', fontSize: '12px', fontFamily: 'monospace', whiteSpace: 'pre-wrap' }} />

          <div className="guides-scope-selector__muted" style={{ display: 'flex', flexDirection: 'column', gap: '8px', fontSize: '12px', fontWeight: '500', flexShrink: 0, alignItems: 'flex-start' }}>
            <div style={{ whiteSpace: 'nowrap' }}>Separator</div>

            <select className="guides-scope-selector__input" data-guide-scope-delimiter style={{ width: '100%', padding: '6px 10px', borderRadius: '6px', fontSize: '12px' }}>
              <option value="space">Space</option>
              <option value="comma">Comma</option>
              <option value="semicolon">Semicolon</option>
              <option value="pipe">Pipe</option>
              <option value="newline">Newline</option>
            </select>

            <button type="button" className="guides-scope-selector__copy-btn" data-guide-copy-scopes style={{ width: '120px', padding: '8px 14px', borderRadius: '6px', fontSize: '13px', fontWeight: '500', cursor: 'pointer', whiteSpace: 'nowrap' }}>Copy scopes</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</Panel>

<section data-guide-section data-guide-scopes="">
  <h2>Create or select a Google Cloud project</h2>

  <p>To use YouTube Data API v3 with OAuth 2.0, you need a Google Cloud project.</p>

  <Steps>
    <Step title="Sign in to Google Cloud">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://console.cloud.google.com/" target="_blank" rel="noopener noreferrer">Google Cloud Console</a>.</p>
      </div>
    </Step>

    <Step title="Create or select a project">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Select an existing project from the dropdown at the top of the page, or create a new one by clicking <strong>New Project</strong> and filling in the <strong>Project name</strong>, <strong>Organization</strong>, and <strong>Parent resource</strong> fields, then clicking <strong>Create</strong>.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Enable the YouTube Data API v3</h2>

  <p>Enable the YouTube Data API v3 for your project. This step is required whether you created a new project or selected an existing one.</p>

  <Steps>
    <Step title="Open the API Library">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the Google Cloud Console, navigate to <strong>APIs & Services</strong> > <strong>Library</strong>.</p>
      </div>
    </Step>

    <Step title="Enable YouTube Data API v3">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Search for "YouTube Data API v3", click on it.</p>

        <ul>
          <li><strong>New project</strong>: Click <strong>Enable</strong> to activate the API.</li>
          <li><strong>Existing project</strong>: If the API is already enabled, the button will show <strong>Manage</strong>. If it shows <strong>Enable</strong>, click it to enable the API.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Configure Google Auth Platform</h2>

  <p>Before creating OAuth credentials, ensure Google Auth Platform is configured.</p>

  <Steps>
    <Step title="Navigate to Google Auth Platform">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the Google Cloud Console, go to <strong>APIs & Services</strong> > <strong>OAuth consent screen</strong>. This will open the Google Auth Platform dashboard.</p>
      </div>
    </Step>

    <Step title="Start configuration">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>If you have already configured Auth Platform (the OAuth Overview page with usage metrics is shown), skip this step and navigate to the <strong>Branding</strong> page from the sidebar. Otherwise, you will see a <strong>Get started</strong> button — click it to begin the configuration process.</p>
      </div>
    </Step>

    <Step title="Enter app information">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Fill in the required fields for your application.</p>

        <ul>
          <li><strong>App name</strong>: Enter a name for your application (e.g., StackOne Integration).</li>
          <li><strong>User support email</strong>: Select an email for user inquiries.</li>
          <li>Click <strong>Next</strong> to continue.</li>
        </ul>
      </div>
    </Step>

    <Step title="Select audience">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Choose the appropriate user type for your application.</p>

        <ul>
          <li><strong>Internal</strong>: Only users within your Google Workspace organization can authorize (no app verification required).</li>
          <li><strong>External</strong>: Any Google account can authorize (requires app verification for production use).</li>
          <li>Click <strong>Next</strong> to continue.</li>
        </ul>
      </div>
    </Step>

    <Step title="Enter contact information">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Provide email addresses for Google to notify you about any changes to your project. Click <strong>Next</strong> to continue.</p>
      </div>
    </Step>

    <Step title="Finish configuration">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Review your settings, agree to the Google API Services User Data Policy, and click <strong>Create</strong> to complete the setup.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Configure scopes</h2>

  <p>In Google Auth Platform, go to <strong>Data Access</strong> and click <strong>Add or Remove Scopes</strong> to configure the OAuth scopes your application needs.</p>

  <Steps>
    <Step title="Add scopes">
      <div data-guide-step data-guide-scopes="https://www.googleapis.com/auth/youtube,https://www.googleapis.com/auth/youtube.readonly,https://www.googleapis.com/auth/youtube.force-ssl,https://www.googleapis.com/auth/youtube.upload,https://www.googleapis.com/auth/youtube.channel-memberships.creator" data-guide-display-scopes-list="https://www.googleapis.com/auth/youtube,https://www.googleapis.com/auth/youtube.readonly,https://www.googleapis.com/auth/youtube.force-ssl,https://www.googleapis.com/auth/youtube.upload,https://www.googleapis.com/auth/youtube.channel-memberships.creator">
        <div className="connector-guide-actions-badge" data-guide-actions-badge data-guide-actions-badge-scopes="https://www.googleapis.com/auth/youtube,https://www.googleapis.com/auth/youtube.readonly,https://www.googleapis.com/auth/youtube.force-ssl,https://www.googleapis.com/auth/youtube.upload,https://www.googleapis.com/auth/youtube.channel-memberships.creator" style={{ display: 'block', width: 'fit-content', maxWidth: '100%', padding: '2px 8px', borderRadius: '8px', fontSize: '12px', marginBottom: '8px', marginTop: '-10px', whiteSpace: 'nowrap', overflowX: 'auto', overflowY: 'hidden', msOverflowStyle: 'none', scrollbarWidth: 'none' }}>
          <span>Enables actions: </span><span data-guide-actions-badge-labels>Add Playlist Item, Create Caption, Create Channel Section, Create Comment, Create Comment Thread, Create Playlist, Create Subscription, Delete Caption, Delete Channel Section, Delete Comment, Delete Playlist, Delete Subscription, Delete Video, Download Caption, Get Authenticated Channel, Get Video Rating, List Activities, List Captions, List Channel Sections, List Channels, List Comment Threads, List Comments, List Languages, List Members, List Membership Levels, List Playlist Items, List Playlists, List Regions, List Subscriptions, List Video Abuse Report Reasons, List Video Categories, List Videos, Rate Video, Remove Playlist Item, Report Video Abuse, Search, Set Channel Watermark, Set Comment Moderation Status, Unset Channel Watermark, Update Caption, Update Channel, Update Channel Section, Update Comment, Update Playlist, Update Playlist Item, Update Video, Upload Video</span>
        </div>

        <p>Add the required YouTube Data API v3 scopes for your integration.</p>

        <div style={{ marginTop: '8px' }} data-guide-display-scopes>
          <div className="connector-guide-scopes-container">
            <ul className="not-prose" style={{ listStyleType: "'- '", paddingLeft: '1em', margin: 0 }}>
              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="https://www.googleapis.com/auth/youtube">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy https://www.googleapis.com/auth/youtube" title="Copy scope" data-copy="https://www.googleapis.com/auth/youtube">
                  <span className="connector-guide-scope-copy__label">[https://www.googleapis.com/auth/youtube](https://www.googleapis.com/auth/youtube)</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="https://www.googleapis.com/auth/youtube.readonly">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy https://www.googleapis.com/auth/youtube.readonly" title="Copy scope" data-copy="https://www.googleapis.com/auth/youtube.readonly">
                  <span className="connector-guide-scope-copy__label">[https://www.googleapis.com/auth/youtube.readonly](https://www.googleapis.com/auth/youtube.readonly)</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="https://www.googleapis.com/auth/youtube.force-ssl">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy https://www.googleapis.com/auth/youtube.force-ssl" title="Copy scope" data-copy="https://www.googleapis.com/auth/youtube.force-ssl">
                  <span className="connector-guide-scope-copy__label">[https://www.googleapis.com/auth/youtube.force-ssl](https://www.googleapis.com/auth/youtube.force-ssl)</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="https://www.googleapis.com/auth/youtube.upload">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy https://www.googleapis.com/auth/youtube.upload" title="Copy scope" data-copy="https://www.googleapis.com/auth/youtube.upload">
                  <span className="connector-guide-scope-copy__label">[https://www.googleapis.com/auth/youtube.upload](https://www.googleapis.com/auth/youtube.upload)</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="https://www.googleapis.com/auth/youtube.channel-memberships.creator">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy https://www.googleapis.com/auth/youtube.channel-memberships.creator" title="Copy scope" data-copy="https://www.googleapis.com/auth/youtube.channel-memberships.creator">
                  <span className="connector-guide-scope-copy__label">[https://www.googleapis.com/auth/youtube.channel-memberships.creator](https://www.googleapis.com/auth/youtube.channel-memberships.creator)</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </Step>

    <Step title="Select scopes from the list">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>Update selected scopes</strong> side panel that opens, check the required scopes from the list.</p>
      </div>
    </Step>

    <Step title="Manually add scopes (if needed)">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>If a required scope is not shown in the list, use the <strong>Manually add scopes</strong> section.</p>

        <ul>
          <li>Enter the full scope URL in the input field.</li>
          <li>Click <strong>Add to table</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Apply and save">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Confirm and persist your scope configuration.</p>

        <ul>
          <li>Click <strong>Update</strong> to apply the selected scopes. The side panel will close.</li>
          <li>On the <strong>Data Access</strong> page, click <strong>Save</strong> to persist the scope configuration.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Create OAuth 2.0 client credentials</h2>

  <p>Set up OAuth client credentials to authenticate with YouTube Data API v3. If you already have an existing OAuth 2.0 client, you can reuse it by adding the StackOne redirect URI and generating a new secret.</p>

  <Steps>
    <Step title="Navigate to Credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the Google Cloud Console, go to <strong>APIs & Services</strong> > <strong>Credentials</strong>.</p>
      </div>
    </Step>

    <Step title="Option A — Create a new OAuth client">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Skip this step if you are using an existing client.</p>

        <ul>
          <li>Click <strong>+ Create Credentials</strong> and select <strong>OAuth client ID</strong>.</li>
          <li>Select <strong>Web application</strong> as the application type.</li>
          <li>Enter a <strong>Name</strong> for your OAuth client (e.g., StackOne YouTube Integration).</li>
          <li>Under <strong>Authorized redirect URIs</strong>, click <strong>Add URI</strong> and enter `https://api.stackone.com/connect/oauth2/youtube/callback`.</li>
          <li>Click <strong>Create</strong>. A dialog will display your <strong>Client ID</strong> and <strong>Client Secret</strong> — copy and store them securely.</li>
        </ul>
      </div>
    </Step>

    <Step title="Option B — Use an existing OAuth client">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Skip this step if you created a new client above.</p>

        <ul>
          <li>Click on your existing OAuth 2.0 client ID from the list.</li>
          <li>Under <strong>Authorized redirect URIs</strong>, click <strong>Add URI</strong>, enter `https://api.stackone.com/connect/oauth2/youtube/callback`, and click <strong>Save</strong>.</li>
          <li>Under <strong>Client secrets</strong>, click <strong>+ Add secret</strong> to generate a new secret. Copy it and store it securely — it will not be shown again.</li>
          <li>Your <strong>Client ID</strong> is shown on the same page under <strong>Additional information</strong>.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>YouTube</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>YouTube</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Client ID</strong></li>
          <li><strong>Client Secret</strong></li>
          <li><strong>Scopes</strong> (Optional)</li>
        </ul>
      </li>

      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>YouTube</strong>.
