Connect App Store Connect to HeyMetra
6 steps · You copy a key or the connection details from the account and paste them into HeyMetra.
Before you start
You will need:
- Issuer ID
- Key ID
- Vendor Number
- Private key (.p8)
Steps
-
Generate a TEAM key, not an individual one
In App Store Connect go to Users and Access → Integrations → App Store Connect API. Stay on the Team Keys tab. Apple's individual keys cannot read Sales and Finance at all, so a key made there will not answer for sales however its role is set.
-
Give the key a role wide enough for what you want to ask
Apple decides what a key can reach from the role you pick here, and the role cannot be changed afterwards. Sales figures need a role with report access; reading your App Store reviews needs one that covers them. Admin covers everything HeyMetra reads.
-
Download the .p8 file, because this is your only chance
Apple keeps no copy. If it is lost the key is gone and you generate a new one. Note the Key ID beside it and the Issuer ID shown above the list; the Issuer ID is the same for every key on the account.
-
Copy your Vendor Number for sales figures
It is in App Store Connect under Payments and Financial Reports, an eight-digit number at the top. Without it HeyMetra can still read your apps and your reviews; only sales reports need it.
-
Paste all four into HeyMetra
On the Connections screen choose App Store Connect. The Issuer ID and Key ID go in as they are, and the private key is the WHOLE .p8 file including its BEGIN and END lines. HeyMetra proves the key works before saving anything.
-
Add HeyMetra to the assistant you use
Claude, ChatGPT, Grok, Perplexity, Claude Code, Codex, Cursor or Antigravity, with the details HeyMetra gives you. The App Store Connect tools appear there once the connection is saved.
What you allow
Full account access
Lets your assistant read anything in this account to answer your questions. The figures are the provider's own, not ones HeyMetra has checked. It can also propose changes: none is applied until you approve it, and HeyMetra cannot undo one afterwards.
When it does not work
- Your apps and sales answer, but asking about reviews is refused.
- The key's role does not cover customer reviews. Apple fixes what a key can reach when it is created and the role cannot be widened afterwards.
- Generate a new team key with a wider role and paste it into this connection with the pencil. The old one can then be revoked in App Store Connect.
- Sales are refused while everything else works.
- Either the key is an individual key, which Apple does not let read Sales and Finance at all, or the Vendor Number is missing from the connection.
- Check the key was made on the Team Keys tab, and that the Vendor Number from Payments and Financial Reports is in the connection.
- The private key is rejected when you paste it.
- The .p8 was pasted without its first and last lines, or reformatted by a text editor that folded the line breaks.
- Open the file in a plain text editor and paste everything, including -----BEGIN PRIVATE KEY----- and the END line.
- You cannot find the .p8 file to paste.
- Apple lets it be downloaded once and keeps no copy of it.
- Generate a new key, download it immediately, and revoke the old one.
- Today's sales are missing.
- Apple publishes one sales report per day, some hours after the day has ended, so the most recent one available is yesterday's.
- Ask about yesterday or earlier. A day with no report yet is reported as not published, never as zero sales.
Then add HeyMetra to your AI assistant
- Claude
Settings → Customize → Connectors → Add custom connector - ChatGPT
chatgpt.com/plugins → + → Add custom MCP server - Grok
grok.com/connectors → New Connector → Custom - Perplexity
Plugins → Add custom → Connector → Add MCP connector → Remote - Claude Code
claude mcp add --transport http - Codex
~/.codex/config.toml - Cursor
~/.cursor/mcp.json, or .cursor/mcp.json in a project - Antigravity
~/.gemini/config/mcp_config.json, or .agents/mcp_config.json in a project
7 days free · Set up in about 3 minutes