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

# Connect CoinGecko

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

```text
Follow https://gofin.sh/docs/connections/coingecko/ to help me connect CoinGecko to GoFin. 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. Choose your CoinGecko API plan. This example uses Demo; an existing Pro subscription requires `--api-plan pro`.
2. Sign in to CoinGecko’s Developer Dashboard and choose **+ Add New Key**.
3. Keep the generated key for GoFin’s protected prompt. Check your plan’s usage and billing limits before using it.

See [CoinGecko’s key-setup guide](https://docs.coingecko.com/docs/setting-up-your-api-key).

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

```sh
gofin connections add --provider coingecko --name pricing --credential-type api_key --api-plan demo
```

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 is a pricing-service connection, not an exchange account or wallet signer. GoFin’s documented enrollment performs an authenticated ping and a fresh ETH/USD quote. A pricing key does not move funds or guarantee that every asset has a usable price.

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

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

## 3. Verify without moving funds

After enrollment, check local metadata and service health:

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

Confirm the expected local name and identity. These checks do not by themselves establish live provider access. Ask your agent to discover a supported read for this connection, inspect its explanation and schema, and report the actual result with available timestamps. A failed read is not a zero balance or proof that the account is empty.

Check Demo versus Pro selection, account/key status and rate limits. A missing quote is not a zero price; do not substitute an unverified value.

<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. [CoinGecko key setup](https://docs.coingecko.com/docs/setting-up-your-api-key)

Verification scope: documented commands and public instructions. No new provider credentials were created and no live enrollment, native approval or account-read result is claimed here.
