Connect Adapty to HeyMetra
5 steps · You copy a key or the connection details from the account and paste them into HeyMetra.
Before you start
You will need:
- Secret key
Steps
-
Open the app you want to read
Sign in at app.adapty.io and pick the app from the switcher at the top. An Adapty key belongs to ONE app, so the app you are looking at now is the app this connection will answer for.
-
Go to App settings → General and find Api keys
It is at app.adapty.io/settings/general. Scroll to the section headed Api keys; it lists a Public SDK Key and a Secret Key together.
-
Copy the Secret Key
The one that starts with secret_live_. Not the one that starts with public_live_: that is the Public SDK Key, it belongs inside your app, and it cannot read any of these figures.
-
Paste it into HeyMetra and give the connection a name
On the Connections screen choose Adapty, paste the key, and name it after the app, such as 'Cleanr' rather than 'Adapty'. The key is stored encrypted and never shown again. HeyMetra checks it works before saving anything, so a rejected key never leaves a connection that looks healthy.
-
Add HeyMetra to the assistant you use
Claude, ChatGPT, Grok, Perplexity, Claude Code, Codex, Cursor or Antigravity, with the details HeyMetra gives you. The Adapty 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
- The key is rejected and it was copied straight from the Api keys screen.
- Two keys sit on that screen and only the Secret Key reads analytics. The Public SDK Key is for the app itself.
- Check what you pasted starts with secret_live_ rather than public_live_, and copy the other one.
- A connection that worked for months suddenly answers with a login error.
- Somebody generated a new key in Adapty and deleted the old one. Generating alone does not break anything; pressing the trash icon beside the previous key does.
- Copy the current Secret Key from App settings → General and paste it into this connection with the pencil. The connection keeps its name and everything pointing at it.
- You have a token from 'adapty auth login' and it is not accepted.
- That is the Developer CLI token, from Settings → Developer API. It authorises the command-line tool and nothing else.
- Use the Secret Key from App settings → General instead. It starts with secret_live_ and is copied, not issued by a login flow.
- Revenue and MRR answer, but proceeds and net revenue come back as 'not reported for this app'.
- Those two need store payment data, and Adapty only has it once App Store Connect or Google Play reporting is wired into that app. Until then Adapty has no figure to give, so HeyMetra says so rather than showing revenue in their place.
- Connect the store's reporting in Adapty. Everything that does not depend on it keeps answering in the meantime.
- Answers come back slowly, or one in a batch fails.
- Adapty's analytics API allows two requests a second per key, and a question that spans several charts or several apps makes one call each.
- Ask again. HeyMetra reports a busy moment as a temporary gap rather than as no data, so the figure is never quietly replaced by a zero.
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