Production ReadySaaS CRMAI Automation

Meta Production Configuration

Real Meta configuration checklist for connecting Meta Business Manager, Developer App, Ad Account, Facebook Page, Lead Forms, Webhooks and CRM lead capture.

Open Sync Center

Logged In

Catechu Admin

Provider

META

Connection Status

PENDING

Configured

0

Pending

4

Backend Environment Variables

All Meta keys and tokens must be stored only in backend .env. Frontend must never receive Meta secrets.

META_BUSINESS_ID

Meta Business Manager ID connected with the client business.

META_APP_ID

Meta Developer App ID used for Marketing API and Lead Ads integration.

META_APP_SECRET

Meta Developer App Secret. Keep this only on backend server.

META_ACCESS_TOKEN

Long-lived access token or system user token for server-to-server API calls.

META_AD_ACCOUNT_ID

Ad account ID in act_xxxxx format for campaign and insights sync.

META_PAGE_ID

Facebook Page ID connected with lead forms and leadgen webhooks.

META_VERIFY_TOKEN

Private verification token used when Meta verifies the webhook callback URL.

META_GRAPH_BASE_URL

Graph API base URL. Kept configurable so API version can be changed without code change.

Production Webhook URLs

Verification URL

GET https://your-production-domain.com/meta/webhook

Lead Capture URL

POST https://your-production-domain.com/meta/webhook

Event

leadgen

Security Rules

Do not store Meta access token in frontend code.
Do not send Meta token to browser.
Use backend .env for all Meta secrets.
Rotate token if it is ever shared in chat, email or public repository.
Use HTTPS production domain for webhook.
Keep sync logs for audit and issue tracking.

Go-Live Flow

1

Create or use existing Meta Developer App

2

Connect app with Meta Business Manager

3

Generate backend access token or system user token

4

Add ad account ID and page ID in backend environment

5

Configure webhook callback URL in Meta app

6

Subscribe page to leadgen webhook events

7

Run page, form, campaign and insights sync

8

Receive live leadgen events and fetch lead details

9

Create CRM lead and assign to salesperson

10

Trigger dialer, WhatsApp and SMS follow-up