@include('whatsappcenter::admin.partials.styles')

Settings

Configure Meta Cloud API credentials and OpenAI integration

@if(session('success'))
{{ session('success') }}
@endif
@csrf
{{-- Meta API ─────────────────────────────────────────────────────────── --}}
WhatsApp Cloud API (Meta)
@foreach([ ['wa_phone_number_id','Phone Number ID','text','123456789012345','Meta Developer Console → WhatsApp → Phone Numbers'], ['wa_access_token','Access Token','password','EAABxxxx...','Permanent System User token from Meta Business Manager'], ['wa_app_secret','App Secret','password','For webhook signature verification',null], ['wa_verify_token','Webhook Verify Token','text','any_secret_string','You choose this — enter the same when configuring Meta webhook'], ] as [$name,$label,$type,$ph,$hint])
@if($hint)

{{ $hint }}

@endif
@endforeach
Webhook URL
{{ url('/whatsapp/webhook') }}
{{-- OpenAI ───────────────────────────────────────────────────────────── --}}
OpenAI Integration
Enable OpenAI Fallback
AI answers questions the bot can't handle — using your KB only

Leave blank to use the default system prompt.

{{-- Business & Legal Pages ──────────────────────────────────────────── --}}
Business Info & Legal Pages
Auto-generates your Privacy Policy & Terms pages — required for Meta App Review to go live.
Privacy Policy: {{ url('/privacy-policy') }}  |  Terms of Service: {{ url('/terms') }}

Appears in Privacy Policy and Terms pages