Connect Meta Ads to Grok Build for Facebook and Instagram advertising checks from the terminal. The first task is to select the correct ad account, then distinguish campaign, ad set and ad delivery. This guide targets paid advertising rather than organic social post analytics.
What do you need before installing?
You need Grok Build installed and working in your terminal, a LoomaScale account, and browser access for authentication. This guide covers the Grok Build terminal agent. Install Grok Build first using xAI's getting started guide.
You need a Meta identity with access to the intended advertising account. Page and Instagram identity access may also be required for creative or campaign creation tasks.
How do you install LoomaScale for Meta Ads in Grok Build?
1. Install the LoomaScale plugin
Run this command in your terminal:
grok plugin install "loomascale/agent-plugin@main#plugins/loomascale" --trustThe quoted source selects the plugins/loomascale directory on the main branch. The --trust flag grants plugin trust so Grok can load its components. This installs LoomaScale's shared plugin, which uses https://api.loomascale.com/mcp; each data source still needs its own connection.
2. Start Grok and open the MCP menu
grokInside the Grok session, enter the following slash command:
/mcps3. Authenticate the loomascale connection
Select loomascale in the MCP list and start authentication. Complete the LoomaScale sign-in in your browser, then return to the terminal. The MCP menu supports i for OAuth sign-in. If the browser does not open automatically, use the sign-in URL shown by Grok.
4. Connect your Meta Ads data source
Open Connections in LoomaScale and connect Meta Ads with the provider identity that can access your data. Browser authentication for the plugin and permission to a platform account are separate steps.
Choose Meta Ads, complete Meta authentication and select the permitted business assets. A Facebook Page connection alone does not establish access to the advertising account.
How do you verify access to Meta Ads?
Use LoomaScale to list my accessible Meta ad accounts with names and IDs. Ask which account to use and read its currency and time zone where available. Do not create, edit or activate advertising.
Verify the returned ad account ID against the advertiser you intended. Keep Page IDs, Instagram account IDs and advertising account IDs distinct.
How do you inspect Facebook and Instagram ad delivery?
An active ad can remain blocked by its ad set or campaign. Inspect the hierarchy before diagnosing creative fatigue. Separate delivery findings from performance comparisons and preserve the attribution setting used for each report.
For the selected Meta ad account, review the last 7 complete days. Show campaign and ad set spend, impressions, clicks and available attributed results, naming the result definition and attribution window. Inspect effective delivery status and available review issues for ads with no delivery. State dates and currency. Change nothing.
What can Grok Build do with Meta Ads through LoomaScale?
LoomaScale supports Meta reporting and supported campaign, ad set, ad and budget operations. Standard campaign creation flows create paused objects; activation is separate. Permission to an ad account does not automatically grant every Page or Instagram identity needed for a creative.
What if the plugin or account is missing?
Check the installation with grok plugin list. If needed, enable it with grok plugin enable loomascale, then start a new Grok session or reload the Plugins tab. Reopen /mcps and authenticate loomascale if sign-in is incomplete. If the server connects but the account is missing, check the provider connection and account permissions in LoomaScale.
If assets are missing, check Meta business permissions and the assets selected during consent. Different attribution windows can explain different conversion totals; an account connection does not make platform reports identical to GA4.
Connect Meta Ads to another AI assistant
- Connect ChatGPT to Meta Ads
- Connect Claude to Meta Ads
- Connect Claude Code to Meta Ads
- Connect Codex to Meta Ads
Connect another data source to Grok Build
Install the shared plugin once. These guides cover different account types and first checks; follow the one for the data you need.
- Connect Grok Build to Google Ads
- Connect Grok Build to LinkedIn Ads
- Connect Grok Build to Google Analytics 4
- Connect Grok Build to Google Tag Manager
- Connect Grok Build to Google Merchant Center
- Connect Grok Build to Google Search Console
Sources and setup references
- xAI's Grok Build plugin installation guide
- xAI's MCP server and OAuth documentation
- Meta Ads API reference
- LoomaScale plugin source and supported integrations
Setup references checked on November 15, 2026. Provider documentation explains platform behavior; the LoomaScale plugin defines the tools available through this connection.
