# Connection to Hyperliquid

### Step 1: Generate Credentials on Hyperliquid

First, you need to authorize a "trading agent" that Quantower will use to sign transactions on your behalf.

1. Go to [app.hyperliquid.xyz](https://app.hyperliquid.xyz) and connect your primary wallet (MetaMask, Rabby, etc.).
2. Navigate to More (the three dots in the menu) → API.
3. Click Generate API Wallet.
4. Crucial: The system will display a Private Key for this specific API Wallet.\
   \&#xNAN;*Copy and save it immediately in a secure location.* It will not be shown again.

   <figure><img src="https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LD6FsRvQ3jgwJIg6O7r%2Fuploads%2FmU3L3y3sCE3tYP2fsiPY%2Fimage.png?alt=media&#x26;token=80918966-e985-4234-b153-91812a6e2555" alt=""><figcaption></figcaption></figure>
5. Click Authorize API Wallet and sign the transaction in your primary wallet. This gives the API Wallet permission to execute trades.
6. Copy your Main Account Address (your primary wallet address where your funds are located).<br>

   <figure><img src="https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LD6FsRvQ3jgwJIg6O7r%2Fuploads%2FH7mQHMHj0FccYttSlgMc%2Fimage.png?alt=media&#x26;token=b825f849-3cc7-43d3-a599-91d59eb9828a" alt=""><figcaption></figcaption></figure>

***

### Step 2: Configure the Connection in Quantower

1. Open Quantower and click on the Connections icon in the top panel).
2. In the Connections Manager, find Hyperliquid in the list. (If it’s missing, ensure your Quantower is updated to the latest version).<br>

   <figure><img src="https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LD6FsRvQ3jgwJIg6O7r%2Fuploads%2FbBqCtthgyg5GUYp7uQnb%2Fimage.png?alt=media&#x26;token=07e38b3e-c9e5-423e-8aa0-4fdee4181e8a" alt=""><figcaption></figcaption></figure>
3. Fill in the following parameters:
   * Account Address: Paste your Main Wallet Address (the one holding the USDC).
   * API Secret / Private Key: Paste the Private Key of the API Wallet you generated in Step 1.

***

### Step 3: Connect and Verify

1. Click the Connect button next to Hyperliquid.
2. It takes a few minutes to connect while the data from all symbols is being loaded.
3. Open the [Crypro Balances](https://help.quantower.com/quantower/informational-panels/crypto-balances) panel in Quantower to verify that your USDC balance is correctly displayed.
