# Prerequisites

## 1. NPM install

```sh
$ pnpm i @aptos-labs/ts-sdk @aptos-labs/script-composer-sdk @hyperionxyz/sdk
```

{% hint style="info" %}
It requires @aptos-labs/ts-sdk ≥ 5.1.0, @aptos-labs/script-composer-sdk ≥ 0.3.1
{% endhint %}

## 2. Setting Up Configuration

> You need create an Aptos Build account, and generate a API key for using Aptos public services. Click <https://build.aptoslabs.com/docs/introduction> to learn more.

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

```typescript
import { Network } from "@aptos-labs/ts-sdk";
import { initHyperionSDK } from '@hyperionxyz/sdk'

const sdk = initHyperionSDK({
    network: Network.MAINNET, 
    APTOS_API_KEY: "Your APTOS API key"
})
```

Now, you can start using Hyperion SDK!

<sub>The White Paper is for informational purposes only. Nothing in the White Paper constitutes legal, financial or tax advice. Its content may be updated from time to time without express notice. You should seek your own professional advice before engaging in any activity in connection with Hyperion. See</sub> [<sub>Legal Disclaimer</sub>](https://docs.hyperion.xyz/legal-and-compliance/legal-disclaimer)<sub>.</sub>
