API Keys

Generate API keys to integrate GetCost with external applications and services.

Overview

API keys allow external applications to securely access your GetCost data. They are used to connect AI assistants such as ChatGPT and Claude to your account through the GetCost MCP endpoint. Access this under Settings | Advanced | MCP API Keys.

🔑

Secure Access

API keys provide authenticated access without sharing your password.

🔌

Integration Ready

Connect GetCost to automation tools, custom applications, and AI assistants.

Note: API keys require an active business on your account.
Looking to connect ChatGPT or Claude? See Connect an AI Assistant (MCP) for step-by-step instructions.

Creating an API Key

How to Create

  1. Go to Settings | Advanced
  2. Select MCP API Keys
  3. Click Create API Key
  4. The new key is generated and copied to your clipboard automatically
  5. Paste it into the application you are connecting

Keys start with mcp_. You can hold up to 5 keys per business.

Note: Your keys stay listed on this screen, so you can come back and copy one again later. Anyone who can open your GetCost account can see them.

Managing API Keys

View and manage all your API keys from the MCP settings screen.

Available Actions

Action Description
View See your keys and their creation dates
Copy Copy the full key to the clipboard
Delete Permanently revoke an API key
Tip: Create a separate key for each application you connect. If one has to be revoked, the others keep working.

Connected applications

Applications that sign in with your GetCost account instead of using a key are listed separately on the same screen, under Connected applications. Each one shows when it was connected and when it was last used, and Disconnect revokes its access immediately.

Security Best Practices

Keep Your Keys Safe

  • Never share API keys publicly or in code repositories
  • Use environment variables to store keys in applications
  • Rotate keys periodically or if you suspect compromise
  • Delete unused keys to minimize security risk
  • Create separate keys for different applications
Warning: If you believe an API key has been compromised, delete it immediately and create a new one. Anyone with your API key can access your GetCost data.