{{ __('CMD K') }}
@if (session('success'))
{{ session('success') }}
@endif @if (isset($errors) && $errors->any())
{{ $errors->first() }}
@endif
@csrf
{{ __('Admin · Project settings') }}

{{ __('Google') }} {{ __('integration') }}.

{{ __('Configure one Google Cloud OAuth app for the whole platform. Workspaces then connect their own Google account once — unlocking Appointments scheduling, Google Meet links, and the Google Sheets / Docs / Forms flow nodes.') }}

{{ __('All integrations') }}
{{-- What a single OAuth app unlocks --}}
{{ __('What this unlocks') }}
{{ __('Appointments') }}
{{ __('free/busy slots') }}
{{ __('Google Meet') }}
{{ __('auto video links') }}
{{ __('Sheets') }}
{{ __('append rows') }}
{{ __('Docs') }}
{{ __('generate copies') }}
{{ __('Forms') }}
{{ __('capture replies') }}
{{-- Step-by-step "How to create your Google OAuth app". --}}
{{ __('Getting started') }}

{{ __('How to create your Google OAuth app') }}

{{ __('Follow these five steps in the Google Cloud Console to issue the credentials you paste below. This only happens once for the whole platform — every workspace then connects its own Google account via OAuth.') }}

    {{-- Step 1 --}}
  1. 1
    {{ __('Create a Google Cloud project') }}

    {{ __('Go to') }} {{ __('console.cloud.google.com') }} {{ __('and create a project (or pick an existing one).') }}

  2. {{-- Step 2 --}}
  3. 2
    {{ __('Enable the APIs') }}

    {{ __('In') }} {{ __('APIs & Services → Library') }}, {{ __('enable') }} {{ __('Google Calendar API') }}, {{ __('Sheets API') }}, {{ __('Docs API') }}, {{ __('Drive API') }} {{ __('and') }} {{ __('Forms API') }}. {{ __('A scope whose API is not enabled fails at runtime with') }} {{ __('accessNotConfigured') }}.

  4. {{-- Step 3 --}}
  5. 3
    {{ __('Configure the consent screen') }}

    {{ __('Under') }} {{ __('OAuth consent screen') }}, {{ __('set the app name + support email and add the same scopes you paste below. Add test users while in "Testing", or publish the app for any Google account to connect.') }}

  6. {{-- Step 4 --}}
  7. 4
    {{ __('Create an OAuth client & set the redirect URI') }}

    {{ __('In') }} {{ __('Credentials → Create credentials → OAuth client ID') }} ({{ __('type') }} {{ __('Web application') }}), {{ __('paste this exactly under') }} {{ __('Authorized redirect URIs') }} — {{ __('it must match or OAuth fails with') }} {{ __('redirect_uri_mismatch') }}:

    {{ __('Note:') }} {{ __('production redirect URIs must be HTTPS. Then copy the generated') }} {{ __('Client ID') }} {{ __('and') }} {{ __('Client secret') }} {{ __('into the box below.') }}

  8. {{-- Step 5 --}}
  9. 5
    {{ __('Enable Google here & save') }}

    {{ __('Tick the') }} {{ __('Enable Google') }} {{ __('switch in the credentials box and hit') }} {{ __('Save changes') }}. {{ __('Workspace owners can then connect their Google account at') }} /google-account.

{{ __('google · oauth credentials') }}

{{ __('App credentials') }}

{{ __('install-status') }}

{{ __('Install readiness') }}

@php $checks = [ 'credentials saved' => $clientId !== '' && $hasSecret, 'feature enabled' => $enabled, 'redirect set' => $redirectUri !== '', ]; @endphp @foreach ($checks as $label => $ok) @if ($ok) @else @endif {{ $label }} @endforeach
{{ __('usage') }}

{{ __('Live across workspaces') }}

{{ __('Accounts connected') }}
{{ number_format($connectedCount) }}
{{ __('Platform status') }}
{{ $enabled ? __('Enabled') : __('Disabled') }}
{{ __('Credentials') }}
{{ $clientId !== '' && $hasSecret ? __('Set') : __('Missing') }}