> For the complete documentation index, see [llms.txt](https://phoenixchain-sdk.phoenix.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoenixchain-sdk.phoenix.global/client/initializing-a-client.md).

# Initializing a Client

Before interacting with the blockchain, you need to initialize a client. First import the relevant packages:

```go
// Import the latest version of the package
import (
    phoenixClient "github.com/PhoenixGlobal/Phoenix-Chain-SDK/ethereum/ethclient"
)
```

Then connect a client:

```go
// Connect to a phoenix node
client, err := phoenixClient.Dial("https://dataseed1.phoenix.global/rpc")
if err != nil {
    log.Fatal(err)
}
```
