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

# Connect Coinbase Exchange

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

```text
Follow https://gofin.sh/docs/connections/coinbase-exchange/ to help me connect Coinbase Exchange 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. Use the Coinbase Exchange dashboard for the account you intend to connect. Select **API** in the sidebar, then **+ New API Key**.
2. Choose the exact portfolio and enable **View**, **Trade** and **Transfer** for supported read, trading and funding workflows. Enable **Manage** too when you intend to use supported account or address-book administration.
3. Create a passphrase and supply the required IP whitelist. Complete key creation and two-step verification.
4. Keep the API key, API secret and passphrase for GoFin’s private prompts. The secret/passphrase display is limited; retain them securely if needed.

See [Coinbase Exchange’s official key guide](https://help.coinbase.com/en/exchange/managing-my-account/how-to-create-an-api-key).

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

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

## Permissions for read and write

The Exchange permission names above are product-specific. Transfer can move value and is not covered by Trade; key creation also requires an IP whitelist.

| Permission / capability | What to enable for read and write |
| --- | --- |
| View | Enable account, balance and order reads. |
| Trade | Enable supported order placement and cancellation. |
| Transfer | Enable supported deposits, withdrawals and portfolio funding movements. This is a separate permission from Trade. |
| Manage | Enable for supported account-settings or address-book administration you intend to use. Financial trading access does not itself require unrestricted administration. |

<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-exchange` are example local aliases; choose one you recognize. Replace any `YOUR_…` placeholder with the indicated public value before running.

```sh
gofin connections add --provider coinbaseexchange --name coinbase-exchange --credential-type hmac
```

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.

This institutional Exchange product uses HMAC credentials with a passphrase. It is separate from App/Advanced’s CDP signing key and International’s product-specific credentials. Confirm the selected portfolio; `--portfolio-id` is optional public metadata for an exact identity check.

<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 all three credential fields, the Exchange product, required IP whitelist and portfolio. Check the permission for the failing operation: a working balance read alone does not prove Trade, Transfer or Manage access.

<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 Exchange keys](https://help.coinbase.com/en/exchange/managing-my-account/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.
