Connect Stripe to HeyMetra
3 steps · You copy a key or the connection details from the account and paste them into HeyMetra.
Before you start
You will need:
- Secret or restricted key
Steps
-
Copy a secret key or create a restricted one
Stripe Dashboard → Developers → API keys. The secret key there works, and so does a restricted key you create on the same page. HeyMetra reaches only what the key allows in Stripe, and every change your assistant proposes still waits for your yes in your assistant.
-
Paste it into HeyMetra
A live key starts with sk_live_ or rk_live_. Choose Stripe on the Connections screen and paste it. It is stored encrypted and never shown again, here or anywhere else.
-
Add HeyMetra to the assistant you use
Claude, ChatGPT, Grok, Perplexity, Claude Code, Codex, Cursor or Antigravity. Your Stripe account answers there once it connects.
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
- It connects, and the figures are a fraction of what Stripe shows.
- A test-mode key. It answers about the test ledger, which is a different set of books rather than an error.
- Switch the dashboard out of test mode before copying or creating the key, and check it starts sk_live_ or rk_live_.
- Some answers work and others are refused as not permitted.
- A restricted key without Read on that resource. Each kind of question reads a different one, so a missing permission shows up as one question failing rather than the connection failing.
- Edit the restricted key in Stripe and give it Read on the resource named in the refusal. The same key updates in place; there is nothing to paste again.
- You approved a change and Stripe refused it.
- A restricted key with Read but not Write on that resource, or a connection set up read-only.
- Give the key Write on the resource in Stripe. A read-only connection is changed by connecting again and allowing changes.
- A platform's connected accounts are missing.
- A key reads the account it belongs to. Stripe Connect accounts are separate accounts.
- Connect each account HeyMetra should see with its own key. If that is unworkable at your scale, tell us: your assistant can send HeyMetra a request, and it is counted.
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