# Running a node on Stack OS

We assume you already have your PreSearch Node Registration Code and account set up.  If you need more details on that reference this: <https://docs.presearch.org/nodes/setup>\
\
Go to your [Node's dashboard](https://nodes.presearch.com/dashboard) and have your Presearch Node Registration Code ready.

## Fund your StackOS Account:

Go to <https://app.stackos.io/> and login with Metamask

* BSC MainNet
* Choose Cluster:
  * Dev/Test: Titan or Matrix Cluster
  * Production: Authority for high uptime deploys

Go to the upgrade tab:

![](/files/4M5HBeLl9BKDIo8EnEaM)\
Type in the following information

![](/files/Ex6h73LDgTpc4CUje4Os)\
As a note, we can assign the resources as follows:  &#x20;

* CPU as follows: 2000 for PreSearch, 100 for webtty  &#x20;
* RAM: 4000 for PreSearch, 100 for webtty &#x20;
* Disk: 16-32 GB for PreSearch\
  \
  You will be given a quote for the number of $STACK tokens you need to deposit.\
  Buy some $STACK tokens from Pancake Swap and deposit that amount into StackOS<https://medium.com/stackos/how-to-buy-stack-on-pancakeswap-using-metamask-3e122dc04061>\
  \
  Click the Deposit or Upgrade button to fund your StackOS account![](/files/F6mhiOBIkoxf014TDCSD)

## Go to the AppStore

![
](/files/X44ZqB1OLvwD6KtHs0Aa)

## Launch your PreSearch Node

![](/files/wEpgpSZHCWCrGwhxc5lL)

![](/files/Md8ZOYLVAzVVwTLjKNop)

![](/files/xBWIiLHcTYTpTlSWcmjJ)

## Verify Operation

\
Check <https://nodes.presearch.com/dashboard> and verify your node appears on the list

![](/files/6Oi8IeJ12s5SQVmhjTvc)

Look for green connection icon

![](/files/1Xo3Er4lMzGjOcMumCRO)

## Troubleshooting

\
If your node is not starting properly for some reason, consider opening a WebTTY and checking the logs:\
\
Create a WebTTY [StackOS - WebTTY (external)](https://www.evernote.com/shard/s79/sh/647ab636-068b-946f-9cf5-2c6e9895c0a9/43124974ed3a91d7f41cc255325aba7b)

### Get the name of the presearch-0x... pod

\
kubectl get pods\ <br>

### Show the logs for the pod

`kubectl logs -f presearch-0xYOURETHADDRESS-RANDOM`<br>

### Expect to see something like this

![](/files/vXvJt93VZjrhUgL4huNE)


---

# 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.presearch.io/nodes/setup/vps-setup/running-a-node-on-stack-os.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.
