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

# Connect Coinbase App / Advanced Trade

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

```text
Follow https://gofin.sh/docs/connections/coinbase/ to help me connect Coinbase App / Advanced Trade 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. Open the Coinbase Developer Platform’s **Secret API Keys** page and choose **Create API key**.
2. Name the key, expand API restrictions and advanced settings, and select the intended portfolio. Enable View, Trade and Transfer for supported read, trading and funding workflows; add Receive if you need creation of receiving addresses.
3. Set an appropriate IP allowlist. Choose **ECDSA** as the signature algorithm for this guide, following Coinbase App’s current instructions.
4. Create the key. Keep the full key name and private signing key available for GoFin’s hidden prompts; preserve the key’s PEM boundaries and line breaks.

Use [Coinbase App’s official authentication guide](https://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/api-key-authentication).

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

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

## Permissions for read and write

[Coinbase App’s authorization guide](https://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/authorization) defines these four API-key permission families. Keep the ECDSA key restricted to the intended portfolio and connecting IPs.

| Permission / capability | What to enable for read and write |
| --- | --- |
| View | Enable account and transaction reads. |
| Trade | Enable supported buy/sell order placement and cancellation. |
| Transfer | Enable supported portfolio movements and on/off-platform transfers, including withdrawals where the account and GoFin operation support them. |
| Receive | Enable creation of receiving addresses when your supported funding workflow requires it. |

<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 `coinbase-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 coinbase --name coinbase-main --credential-type ecdsa
```

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.

GoFin has separate providers for App/Advanced, Exchange and International. The API key’s permitted portfolio determines App/Advanced scope; optionally supply `--portfolio-id` only for the exact identity you intend to confirm. GoFin exposes both ECDSA and Ed25519 credential categories, but this walkthrough selects ECDSA because Coinbase App’s official guide requires it.

<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 Coinbase product, key algorithm, full key name, private-key formatting, IP allowlist and portfolio restrictions. An Exchange HMAC key or Coinbase Prime key is not this connection type.

<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. [Coinbase App API keys](https://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/api-key-authentication) · [Coinbase App permission definitions](https://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/authorization)

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.
