# NEAR RPC Nodes for CN Developers If you have trouble with using NEAR CLI on testnet, try run the below commands to configure alternative RPC nodes. ## BlockPi Node (Testnet) ```bash export NEAR_CLI_TESTNET_RPC_SERVER_URL=https://public-rpc.blockpi.io/http/near-testnet ``` ## BSN Node (Testnet) ```bash export NEAR_CLI_TESTNET_RPC_SERVER_URL=https://hk.bsngate.com/api/1e7227ced74cdd9507575cf08bef7d1ff715db9c8d9befd945b766a86c2ea1fd/Near-Testnet/rpc near set-api-key https://hk.bsngate.com/api/1e7227ced74cdd9507575cf08bef7d1ff715db9c8d9befd945b766a86c2ea1fd/Near-Testnet/rpc 29e93a93a9868bb25fadf2f5cf19848ca87b31797f963b314b462cbb79dc32ea ``` Please make sure run `set-api-key` before using NEAR CLI You can also create your own NEAR RPC nodes in https://bsnbase.io/. Check out the tutorial [here](https://medium.com/bsn-technical-guide/build-on-near-using-bsn-f2d9431d3f3b) ## BlockPi Node (Mainnet) ```bash export NEAR_CLI_MAINNET_RPC_SERVER_URL=https://public-rpc.blockpi.io/http/near ```