> For the complete documentation index, see [llms.txt](https://intensity-labs.gitbook.io/integration-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intensity-labs.gitbook.io/integration-docs/integration-guide-sdk/money-legos/initializing-the-legoclient.md).

# Initializing the LegoClient

Get up and running in just a few easy steps.

## Initial Setup

The first step to integration is initializing a new `LegoClient` The most basic info you'll need is your `Shogun API Key`, which is used for tracking fee share

```tsx
import { LegoClient, OneShotClient, ShogunBalancesApiClient } from '@shogun-sdk/money-legos';

// Initialize the Lego client for NFT purchases
const legoClient = new LegoClient({ 
  apiKey: 'YOUR_API_KEY', // Get this from Shogun dashboard
});
```

{% content-ref url="/pages/4SlC6GLUuFgY9DHYTeZO" %}
[Purchase an NFT with any token on any chain](/integration-docs/integration-guide-sdk/money-legos/purchase-an-nft-with-any-token-on-any-chain.md)
{% endcontent-ref %}
