How to set up Hangar on a BM
Step by step with pictures to connect a Business Manager to Hangar: Meta app, System User, access, token and your first AI agent at work
Updated on November 28, 2026
This guide is also in Português · Español
Before you start
- You need to be an admin of the client's Business Manager
- Do the steps one BM at a time. Each BM has its own app, its own System User and its own token
- Open Business in the browser and profile you already use for that BM
- It takes a few minutes per BM. Hangar checks every item with Meta at the end
The Meta screens in this guide are reproductions with sample data (Studio Lumen BM). Menu names may change slightly as Meta updates Business
1Create the BM's Meta app
- In Meta for Developers, click Create app. The first time, Meta asks you to register as a developer and confirm your phone
- For the use case, choose Create & manage ads with Marketing API
- Connect the app to the client's business portfolio (the BM). If that BM already has an app, use it

- In Business settings › Accounts › Apps, check that the app shows up in the BM
- You don't need to publish the app or send it for review to use it in its own BM

2Create the System User as Employee
- In Business settings › Users › System users, click Add
- Give it a name that says what it's for, for example
hangar-studio-lumen. Hangar suggests this name during setup - Choose the Employee role and create it. Accept the terms if Meta asks
Don't use the Admin role. Meta's official MCP rejects Admin tokens. An Employee only sees what you assign to it, which is also safer

3Assign the ad accounts, Page and app
- With the System User selected, click Assign assets
- Apps: the app from step 1, with full control
- Ad accounts: the client's accounts, with full control (manage campaigns)
- Pages: the client's Page, with permission to create ads. Without a Page you can't create new ads
- Datasets and pixels: the website pixel, to measure conversions

4Generate a token that never expires
- On the System User, click Generate new token and choose the app from step 1
- For expiration, choose Never
- Check these four permissions and generate the token:
ads_managementads_readbusiness_managementads_mcp_managementCopy the token right away. Meta only shows it once. Don't paste it in chat, shared spreadsheets or email: it goes straight into Hangar in the next step
Don't see ads_mcp_management in the list? Add the ads use case (Marketing API) to the app and generate the token again


5Paste the token in Hangar
- In Hangar, click New BM in the sidebar
- Name the BM. On the first step the app shows a proxy field, which is optional. It's recommended if you run many BMs or want a fixed IP per BM. Without one, just click Continue without a proxy
- The Meta app, System User and Access steps repeat what you did above, with direct links to each Business screen
- On the Token step, paste the token and click Check with Meta
- Hangar shows the System User, BM and app it found, and checks expiration, permissions, role, accounts, pixel and Page. Pick the accounts this BM will use and click Save BM


The token stays on your computer only. It never goes to Hangar's server
6Pick the agent and approve the first change
- Under Agents in the sidebar, pick Claude, Codex or Cursor. Each one uses your own subscription: Claude Pro or Max, ChatGPT Plus or Pro for Codex, or your Cursor plan
- If the agent isn't on your computer yet, Hangar installs it. In the first conversation you sign in to your account
- Open a tab and ask anything about the BM, for example a summary of the last 7 days. The agent only sees that BM
- When the agent wants to pause, activate or change a budget, a window shows what will change. You click Approve or Decline. With no answer in 5 minutes, the request is declined


Common errors and how to fix them
| What Hangar shows | What to do |
|---|---|
| Role: Admin. For Meta's official MCP, the System User must be an Employee | Admin tokens don't work with the official MCP. Create a System User as Employee, assign the assets and generate the token on it |
| This token belongs to a person, not a System User | A personal profile token expires and is tied to your login. Generate the token on the System User, in step 4 |
| Missing ads_mcp_management | Add the ads use case (Marketing API) to the app and generate the token again with that permission checked |
| Missing ads_management, or only ads_read | With only ads_read the agent can read but can't create or edit. Generate again with ads_management checked |
| Token expires in a few days | The expiration was set to 60 days. Generate a new one with expiration Never and replace it in the BM setup |
| Invalid token | The token was revoked or copied wrong. Generate a new one on the System User and paste it again |
| The System User can't see any ad account | Go back to step 3 and assign the account with full control |
| No Page assigned | Assign the client's Page to the System User. Without it you can analyze, but not create new ads |
| Restricted account | The problem is on the account itself, on Meta's side. Check the account quality in Business |
FAQ
Can I use the same token for several BMs?
No. Each BM has its own app, System User and token. That's what keeps accounts apart: a problem in one BM doesn't spill over to the others
Does the token go to a server?
No. Hangar keeps the token on your computer only. Our server only knows your email, your plan and which computers are active
Do I need to publish the app or go through review?
Not to use the app inside the client's own BM. If you use an app from another BM (your agency's, for example) to manage client accounts, Meta may ask for app review. That's why Hangar uses one app per BM
Can the AI spend on its own?
No. Pausing, activating or changing a budget always opens the approval window. If you don't answer in 5 minutes, the request is declined and nothing goes to Meta
Which agent should I pick?
The one you already pay for. Claude uses the Pro or Max plan, Codex uses ChatGPT Plus or Pro and Cursor uses your Cursor plan. You can switch agents anytime
Ready to connect your first BM?
All your BMs in one window, with an AI agent for each one. The AI analyzes and suggests, you approve the spend
See HangarTalk to us