# Prerequisites

## 1. **NPM install**

```
npm i @cetusprotocol/cetus-sui-clmm-sdk
```

## 2. Setting Up Configuration <a href="#setting-up-configuration" id="setting-up-configuration"></a>

Cetus Typescript SDK now includes a default initialization method that allows for quick generation of the Cetus SDK configuration. You can utilize the `src/config/initCetusSDK` method to swiftly initialize the configuration. You have the option to select either 'mainnet' or 'testnet' for the network.

```typescript
import { initCetusSDK } from '@cetusprotocol/cetus-sui-clmm-sdk'

const cetusClmmSDK = initCetusSDK({network: 'mainnet'})
```

If you wish to set your own full node URL and simulate address, you can do so as follows:

```typescript
import { initCetusSDK } from '@cetusprotocol/cetus-sui-clmm-sdk'

const network = 'mainnet';
const fullNodeUrl = "YOUR_FULL_NODE_URL"
const wallet = "YOUR_WALLET_ADDRESS"
const cetusClmmSDK = initCetusSDK({network, fullNodeUrl, wallet})
```

Now, you can start using Cetus SDK!


---

# 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://cetus-1.gitbook.io/cetus-developer-docs/developer/via-sdk/prerequisites.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.
