# Init gfmSDK

Setting up the SDK is **effortless**. Simply create a **Solana RPC connection** and pass it into the **SDK initializer**:

```typescript
import { Connection } from "@solana/web3.js";
import { initGoFundMemeSDK } from "@gofundmeme/sdk";

// Replace with your preferred RPC endpoint
const connection = new Connection("https://api.mainnet-beta.solana.com");

(async () => {
  // This is all you need to start interacting with the GFM protocol
  const gfmSDK = await initGoFundMemeSDK({ connection });
})();
```

\
Now that your SDK is initialized, you’re ready to interact with the **GoFundMeme Protocol**! Check out the next sections for detailed guides on **Fair Launch**, **Bonding Curves**, **Staking**, and more. 🚀

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gofundmeme.io/developers/init-gfmsdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
