1. Go to developers.facebook.com
Open →2. Create application
Click on "Create app" → Select "Business"
3. Complete details
Name: AgenciaSpark Dashboard
Email: contacto@agenciaspark.cl
1. In your app, find "Marketing API"
Under "Add products to your application"
2. Set up
Click "Set Up" on the Marketing API card
1. Go to Business Manager
Open →2. Create System User
Settings → Users → System users → Add
3. Assign ad account
In the System User → Ad accounts → Add
4. Generate token
Click "Generate token" → Select your app → Permissions: ads_read, ads_management, read_insights
⚠️ Important: Copy the token immediately
1. Go to Ads Manager
Open →2. See the ID in the URL
In the address bar you'll see: ...?act=123456789
Your complete ID will be: act_123456789
1. Return to the Dashboard
Dashboard → Clients → [Client] → "APIs & Reports" tab
2. Enter credentials
Paste your Access Token and Ad Account ID
3. Test and save
Click "Test Connection" → If it works → "Save"