> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration

> DBC

The `dbc-go` provides a convenient way interact with the DAMM v2 instructions directly.

Before you begin, here are some important resources:

<CardGroup cols={1}>
  <Card title="Go SDK" icon="golang" iconType="solid" href="https://github.com/MeteoraAg/dbc-go">
    Meteora DBC Go SDK
  </Card>
</CardGroup>

# Getting Started

To use the Go SDK and test locally, you can use the following command:

## Clone the repository

```bash theme={"system"}
git clone https://github.com/MeteoraAg/dbc-go.git
```

## Install dependencies

```bash theme={"system"}
go mod tidy
```

## Run the examples

<Note> Before running the examples, you need to set the private keys and public keys in the examples. </Note>

```bash theme={"system"}
go run examples/<file-name>.go
```

# Examples

<CardGroup cols={2}>
  <Card title="Create Pool and Swap SOL" icon="coins" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/create_pool_and_swap_sol.go">
    Example showing how to create a new pool and perform SOL swaps
  </Card>

  <Card title="Create Pool and Swap USDC" icon="dollar-sign" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/create_pool_and_swap_usdc.go">
    Example showing how to create a new pool and perform USDC swaps
  </Card>

  <Card title="Claim Creator Trading Fee" icon="money-bill" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/claim_creator_trading_fee.go">
    Claim accumulated trading fees for pool creators
  </Card>

  <Card title="Claim Partner Trading Fee" icon="handshake" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/claim_partner_trading_fee.go">
    Claim accumulated trading fees for partners
  </Card>

  <Card title="Fetch Pool Configuration" icon="gear" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/get_pool_config.go">
    Retrieve pool configuration settings and parameters
  </Card>

  <Card title="Fetch Pool Fee Metrics" icon="chart-line" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/get_pool_fee_metrics.go">
    Get detailed fee metrics and statistics for a pool
  </Card>

  <Card title="Fetch Pool" icon="water" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/get_pool.go">
    Fetch pool information and current state
  </Card>

  <Card title="Fetch Bonding Curve Progress" icon="chart-area" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/get_bonding_curve_progress.go">
    Monitor the progress of the bonding curve for a pool
  </Card>

  <Card title="Transfer Pool Creator Fee" icon="transporter" iconType="solid" href="https://github.com/MeteoraAg/dbc-go/blob/main/examples/transfer_pool_creator.go">
    Transfer creator fees from one account to another
  </Card>
</CardGroup>
