@extends('layouts.admin-simple') @section('content')

Connect WhatsApp

@unless($configured)
Embedded Signup is not configured
Set FB_APP_ID, FB_APP_SECRET and FB_ES_CONFIG_ID in the environment, then reload this page. You can still enter credentials manually.
@else

Step 1 — Connect with Meta

Sign in with the Facebook account that manages the business, and pick the WhatsApp number to connect. Nothing is saved here until you confirm the next step.

Talking to Meta… Enter credentials manually Send a signup link

Step 2 — Confirm the channel

@csrf
Phone number
{{ $pending['display_phone_number'] ?? '' }}
Verified name
{{ $pending['verified_name'] ?? '' }}
WhatsApp Business Account
{{ $pending['waba_name'] ?? '' }}
@error('name') {{ $message }} @enderror
@error('date_from') {{ $message }} @enderror
@error('date_to') {{ $message }} @enderror
@error('follow_up_minutes') {{ $message }} @enderror

On save, the app subscribes to this WhatsApp Business Account and registers the number. Anything that fails is reported and can be retried from Channel Preferences.

@endunless
@endsection @section('script') @if($configured) @include('admin.channel.partials.es-popup', ['exchangeUrl' => route('channel.connect.exchange', [], false)]) @endif @endsection