<p>The easiest way is to use this tool to run everything you need: <a href="https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli</a>. You probably don't need the PAB or wallet backend, so for just a node and chain-index you can run e.g. <code>pab-cli testnet remotewallet</code></p>

CC BY-SA 4.0
2022-04-20T15:38:39.503Z
Thank you. I got the point. One more question. Could you please give a hint how to use/deploy contracts in the case of full usage of PAB( node & chain index in my case.
I want to sign on client side !
ViktorYasterbov
CC BY-SA 4.0
2022-04-20T15:51:20.697Z
Not easy to summarise. Best to look at examples such as the integration test, see https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/examples
james
CC BY-SA 4.0
2022-04-19T10:03:41.800Z
2022-04-19T10:09:11.090Z
2022-04-19T10:09:11.090Z
james
<p>I would like to use Plutus API for getting script datum (datumFromHash) but how to setup and run Plutus chain index on testnet or main net?</p>
<p>I saw there are methods in Plutus.ChainIndex.Types.</p>

<plutus-pab>
How to use Plutus chain index with real testnet
# How to use Plutus chain index with real testnet

(Asked by: username_0 on 2022-04-17)

I would like to use Plutus API for getting script datum (datumFromHash) but how to setup and run Plutus chain index on testnet or main net?

I saw there are methods in Plutus.ChainIndex.Types.

**Tags:** plutus-pab

---

## 1 answers

### Answer by username_1 on 2022-04-19. Score: 1 | Accepted answer

The easiest way is to use this tool to run everything you need: <https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/pab-cli>. You probably don't need the PAB or wallet backend, so for just a node and chain-index you can run e.g. `pab-cli testnet remotewallet`

> **Comments:**
> **username_0**: Thank you. I got the point. One more question. Could you please give a hint how to use/deploy contracts in the case of full usage of PAB( node & chain index in my case. I want to sign on client side !  
> **username_1**: Not easy to summarise. Best to look at examples such as the integration test, see https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/examples  

---

