Skip to main content

Make a Meta access token for the hosted Meta connector

This page shows you how to make the Meta access token that our hosted Meta connector asks for (metaapi-mcp.authortools.net). You make the token once and paste it into the connector's page, and that's it. There's nothing to install on your computer, and it works in Claude on the web, on desktop and on your phone.

Running the personal Meta server on your own computer instead? You don't need this page. See Sign in to Meta and get your access token.

You'll paste the token into our page, not into a chat. We check it with Meta straight away and keep it encrypted. Your AI app never sees it.

Pick the kind of token

There are two kinds of token, and either one works:

  • A system user token from your business portfolio. It doesn't expire, so you set it up once and you're done. This is the best choice if your ad account belongs to a business portfolio.
  • A personal token that lasts about 60 days. It's quicker to make, but you'll need to make a fresh one every couple of months.

Both kinds need a Meta app of your own. If you don't have one yet, follow the first three sections of Create your Meta app: sign in as a developer, create the app, and pick the Create & manage ads with Marketing API use case. You can skip the part about letting the sign-in come back to your computer, because that's only for the personal server. The app stays private to you, and nothing about your ads changes.

One setting to check on your Meta app

  1. In your app's left-hand menu, open App settings, then Advanced.
  2. In the Security section, make sure Require App Secret is off, then click Save changes if you changed it.

If it's on, Meta turns the connector's requests away. Don't worry if you miss this step: the connector will tell you when you paste the token, and nothing is saved until it passes.

Screenshot: App settings, Advanced, with Require App Secret switched off Capture: App settings → Advanced, scrolled to Security, with Require App Secret off.

Which permissions to give the token

So that the connector can never do more in your Meta account than work with your ads, it only accepts tokens with these permissions:

  • ads_management, to create and change ads. Or use ads_read instead if you only want reports.
  • pages_show_list and pages_read_engagement are optional. They let the connector find your Facebook Page when it makes ads.
  • catalog_management is optional. You only need it if you sell from a product catalog.

A system user token may also carry business_management and pages_manage_ads. Meta insists on business_management for system users, and often adds pages_manage_ads by itself, so the connector accepts both on a system user token. It still has no tools that use them. A personal token doesn't need either, so leave them off there.

Leave everything else unticked. If the token has any other permission, the page refuses it and tells you which one to remove, so you can make it again.

Option 1: a system user token (doesn't expire)

Make the system user

  1. Open Business settings and choose the business portfolio that owns your ad account.
  2. Under Users, choose System users, then Add. Give it a name you'll recognize, such as Meta Ads connector, and the Admin role.
  3. With the system user selected, choose Assign assets. Pick Ad accounts, choose your ad account and turn on full control (manage campaigns). If you'd like the connector to find your Page, assign your Page too.
  4. Under Accounts, choose Apps and make sure your Meta app is listed. If it isn't, add it there.

Screenshot: the System users page with the new system user and its ad account Capture: Business settings → Users → System users, with the system user and its assigned ad account showing.

Generate the token

  1. With the system user selected, choose Generate new token.
  2. Pick your app. If Meta asks how long the token should last, choose Never.
  3. Tick ads_management, plus any of the optional ones you want. If Meta won't let you untick business_management, or adds pages_manage_ads, that's fine: leave them.
  4. Choose Generate token and copy the token. Meta only shows it once, so keep this tab open until you've pasted it. If you lose it, you can generate another one.

Option 2: a personal token (about 60 days)

Make the token

  1. Open the Graph API Explorer.
  2. Under Meta App, choose your app. Under User or Page, choose User Token.
  3. Under Permissions, add ads_management, plus any of the optional ones above. Remove anything else that's already listed, except public_profile, which is fine to keep.
  4. Choose Generate Access Token and approve the Facebook screens that pop up. If Facebook offers a choice of businesses, Pages or ad accounts, pick the ones your book ads use.

Make it last 60 days

The token from the Explorer only lasts an hour or two, so stretch it before you paste it:

  1. Copy the token, open the Access Token Debugger, paste the token in and choose Debug.
  2. At the bottom of the Access Token Info table, choose Extend Access Token.
  3. Copy the new token that appears. Its Expires line should now say about 60 days from today.

When it runs out, your AI app will ask you to connect again. Make a fresh token the same way and paste it in.

Paste it into the connector

Go back to the connector's Add your Meta access token page, paste the token and click Check and continue. We check it with Meta right away and then send you back to your AI app.

If something isn't right, the page tells you what to change and lets you try again, and nothing is saved until the token passes. Here's what it might say:

  • "That token has more permissions than this connector accepts." Make the token again and leave out the permissions it names.
  • "Your Meta app has 'Require App Secret' switched on." Switch it off (see above), save, and paste the same token again. There's no need to make a new one.
"Meta didn't accept that token" or "That token can't list your ad accounts." Check that Require App Secret is off (see above), then makeMake a fresh token.token and try again. "That token can't see any ad accounts." Make the token as the person, or system user, who has access to your ad account.

You can see and disconnect your connections at any time at metaapi-mcp.authortools.net/connections. Disconnecting stops your AI app straight away and deletes the stored token.