# Using Pre-Compiled Binaries

{% hint style="info" %}
**Note- Binary will work only for Ubuntu based OS**
{% endhint %}

## Connect to the Testnet (Using Binary)

Pando Lab maintains a testnet environment that resembles the mainnet to facilitate partner development and testing.&#x20;

To connect to the testnet, open a terminal, and follow the steps below.

### Step 1- Go Environment

First, we need [**`Setup Go environment`**](https://docs.pandoproject.org/pandoproject/blockchain-integration#setup-go-environment) a system, please refer to our respective documentation for the same.&#x20;

### Step 2 - Binary download

In 2nd step, we need to download and place the binary in the following directory

```shell
/usr/local/go/bin/
```

To download the Binary compressed file we need to enter the following command&#x20;

```shell
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/pando.tar.gz
```

```shell
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/pandocli.tar.gz
```

Unzip this and place in the directory mentioned above

```shell
tar <filename>.tar.gz -C /usr/local/go/bin/
```

### Step 3 - Snapshot and config

In this step, we need to download and place a **snapshot and config.yaml** in the following directory

```shell
/$homeDir/testnet/node/
```

1. To download the latest **snapshot** of testnet we need to enter the following command&#x20;

```shell
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/snapshot
```

2\. To download the config file of testnet we need to enter the following command&#x20;

```shell
wget https://testnetblockchainupdates.s3.ap-southeast-1.amazonaws.com/config.yaml
```

### Step 4. Launch and connect to the testnet

Start a new session, and use the following commands to launch a node and connect to the pando network testnet. It may take some time to download the blockchain data to be in sync with the network.

Shell

```shell
pando start --config=../testnet/node
```

**Note:** when the testnet Pando Node is launched for the first time, you need to choose a password to generate an address for the node. Please choose a secure password and keep it in a safe place. The next time when you launch the node again, you will need the password to unlock it.


---

# 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.pandoproject.org/pando-network-docs/blockchain-integration/connect-to-the-testnet/using-pre-compiled-binaries.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.
