Fivetran Connection SOP: Meta Ads & Pages
🔑 The System User Token
Instead of using a personal Facebook login, we are using a System User Token for long-term stability.
🛠️ How to Retrieve the Token
- Go to Business Settings for The Dog Wizard (Main).
- Navigate to Users > System Users.
- Select
TDW_Data_Engine. - If Savanna has approved the request, click Generate Token.
- Select the
TDW Data EngineApp. - Ensure the following scopes are checked:
ads_readpages_read_engagementpages_show_listbusiness_management
- Copy the token immediately (Meta only shows it once).
🚀 Fivetran Setup
- Log into Fivetran and select Add Connector.
- Facebook Ads: Select the “System User” authentication method. Paste the token.
- Facebook Pages: Create a second connector. Paste the same token.
- Validation: Ensure both connectors pass the “Test Connection” phase.
🛡️ Maintenance
- If a new location is added to Meta, you must go to the
TDW_Data_EngineSystem User in Business Settings and click Add Assets to give it access to the new Page/Ad Account. - Fivetran will then automatically discover the new schema.