Skip to main content
Signing in through your browser is the right way to connect an AI tool you use yourself. For things that run without a person, such as a nightly data collector, a CI job or a server, use an account API key instead. A key is a Bearer token that acts on behalf of your Gainable account. It works with the Gaia connector at https://build.gainable.dev/mcp and with the builder’s HTTP API.

Create a key

1

Open API keys

In the builder, open your account menu and select API keys, or go to build.gainable.dev/account/api-keys.
2

Create it

Enter a Label so you can tell keys apart later, such as the machine or job that uses it, and select Create key.
3

Copy it now

Select Copy and store the key somewhere safe, such as your password manager or your CI system’s secrets. It’s shown once. Gainable keeps only a hash, so a lost key can’t be recovered, only replaced.
Keys start with gak_. The list shows each key’s Key ID, Label, when it was Created and when it was Last used. The Key ID is safe to share. The key itself isn’t. Creating keys needs the Mint API keys permission on your Gainable account. If you can’t open API keys, ask an account owner to give you that permission.

Use it with the Gaia connector

Send the key as a Bearer token in the Authorization header. For example, in Claude Code:
Other clients that support custom headers for a remote MCP server work the same way. There’s no browser sign-in. How a key differs from signing in: Because a key reaches every tool, give each job its own key, keep it in a secret store, and revoke it when the job goes away.

Revoke a key

Select Revoke next to the key. Anything still using it gets refused (401) straight away. Revoking is permanent. Create a new key to replace it.

Common uses

  • A data collector on a schedule that sends rows to a dataset every night.
  • CI that builds or changes an app, or keeps a demo app’s data fresh.
  • Scripts that list your apps and datasets, or read a dataset’s rows.