[Connections](/docs/connections/index.md)

# Connect Kraken Spot

Continue with your agent, or follow the steps below in your own Terminal.

```text
Follow https://gofin.sh/docs/connections/kraken/ to help me connect Kraken Spot to GoFin with read and write permissions for the supported workflows I want. Verify the connection without trading or moving funds.
```

<a name="prepare"></a>

<a name="prepare-title"></a>

## 1. Prepare your connection

Start with [GoFin installed](/docs/index.md#installation) and a working [local agent setup](/docs/agents/index.md). The agent can inspect public help; you create credentials and complete protected prompts yourself.

1. Sign in to Kraken and open its API settings (on Kraken Pro, use the profile/settings API area). Choose the control to add a key and give it a recognizable description.
2. Select the read and write permissions mapped below for account inspection, order placement, cancellation and funding.
3. Include the trading and funding permissions for the supported workflows you want GoFin to perform. Configure IP restrictions for the Mac that will connect.
4. Generate the key and keep the API key and private key/secret ready for hidden entry. Find and confirm your public Kraken account identifier; replace `YOUR_PUBLIC_ACCOUNT_ID` below with it.

Follow [Kraken’s current Spot API-key instructions](https://support.kraken.com/articles/360000919966-how-to-create-an-api-key) if the account interface differs.

<a name="permissions"></a>

<a name="permissions-title"></a>

## Permissions for read and write

Kraken’s permissions are independent. A key that can place an order may still be unable to cancel it or withdraw. Review the full mapping when generating the key, and retain both its public API key and private secret for GoFin.

| Permission / capability | What to enable for read and write |
| --- | --- |
| Account and order reads | Enable **Query Funds**, **Query Open Orders & Trades**, **Query Closed Orders & Trades** and the ledger-query permission for the corresponding account/history reads. |
| Order placement and changes | Enable **Modify Orders**. |
| Order cancellation | Enable **Cancel/Close Orders**. |
| Deposit information | Enable **Deposit Funds** for deposit methods and addresses. |
| Withdrawals | Enable **Withdraw Funds** for supported funding/withdrawal operations. A destination may also need to be saved and activated in Kraken. |
| Reports and account administration | Select the separate export or account-management permission only when your intended supported operation requires it; those capabilities are not implied by trading permissions. |

<a name="enroll"></a>

<a name="enroll-title"></a>

## 2. Add it to GoFin

Check the installed requirements first:

```sh
gofin connections add --help
```

In Apple Terminal or your own macOS system OpenSSH session, run the command below. Names such as `kraken-main` are example local aliases; choose one you recognize. Replace any `YOUR_…` placeholder with the indicated public value before running.

```sh
gofin connections add --provider kraken --name kraken-main --credential-type hmac --account-id YOUR_PUBLIC_ACCOUNT_ID
```

Follow GoFin’s hidden credential prompts where required. Review the resolved identity and the read-only checks GoFin actually reports, then approve saving the connection. Secrets do not belong in flags, environment variables, JSON, screenshots or your agent’s terminal. Enrollment is a configuration change; it moves no funds and grants no future financial authority.

Spot and Futures have separate connections and keys. The public account ID is not an API secret and must be confirmed by you; do not invent an ID from an email address. Some funding workflows also require an explicitly selected Funding wallet ID. Discover those requirements before configuring them.

<a name="verify"></a>

<a name="verify-title"></a>

## 3. Check setup without executing a write

After enrollment, check local metadata and service health:

```sh
gofin connections list
gofin doctor
```

Confirm the expected local name and identity. A successful read confirms only that read. It does not prove permission or readiness to trade, transfer or withdraw. Ask your agent to inspect the key permissions and a supported account read, using the CLI’s current explanations and schemas. Report which permissions were actually observed and which remain unverified. Use a supported preview/dry-run when available; do not submit a test order or transfer during setup. A failed read is not a zero balance or proof that the account is empty.

Check Spot versus Futures credentials, Query Funds, IP restrictions and the public account ID. Kraken warns that API-key-specific 2FA requires client support; do not enable an unsupported challenge and assume GoFin can supply it.

<a name="maintain"></a>

<a name="maintain-title"></a>

## Manage credentials later

Use `gofin connections update --help` to discover the protected replacement flow for this provider. Check [rotation and removal guidance](/docs/connections/index.md#maintain) before changing an active connection. Revoking a venue key and removing a GoFin connection are separate actions; neither cancels outstanding venue activity.

<a name="sources"></a>

<a name="sources-title"></a>

## Sources and verification

For command and enrollment details, see the [GoFin onboarding documentation](https://raw.githubusercontent.com/LimeChain/gofin-cli/main/docs/onboarding.md). Official provider instructions reviewed on 18 October 2026. [Kraken Spot API keys](https://support.kraken.com/articles/360000919966-how-to-create-an-api-key)

Verification scope: documented commands and public instructions. No new credentials were created and no live enrollment, native approval, trading, transfer or withdrawal result is claimed here.
