# Presearch on StackOS

## Locate the most recent tag

Go to:

<https://hub.docker.com/r/presearch/node/tags>

And copy the most recent "version numbered" tag.  Have this on hand for the pod configuration:

&#x20;

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FkDj4N3VQi24JnSaywUJU%2Fimage.png?alt=media\&token=e5c46e26-98fa-45b4-8136-06236eab0689)

We assume you already have your PreSearch API Key and account set up. &#x20;

**If you need more details on that reference this:**

<https://docs.presearch.org/nodes/api>

\
**Go to your dashboard:**

<https://nodes.presearch.org/dashboard>

\
**And have your PreSearch Node Registration Code ready:**

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FwGUtWD09zm8vVMCVe8K4%2Fimage.png?alt=media\&token=03b71992-80ff-4921-aed7-02a498a51fd7)

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2Fxg82cwDWmALSCChbUHP3%2Fimage.png?alt=media\&token=534e00e7-2549-4272-b613-203cb337e559)

## ✅ Fund your StackOS Account:

* [StackOS Fund Account - PreSearch](https://www.evernote.com/shard/s79/sh/3ffed2cd-dd4d-4377-6cc7-674b1ef061af/a5787173b1dcc88722ac26819b38762f)

## ✅ Go to the AppStore

## ![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2Fy4O3mypXUFAapm1KY7vy%2Fimage.png?alt=media\&token=c7c728a7-cc0d-460b-9553-ed27ea2e033b)<br>

## ✅ Launch your PreSearch Node

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FMOUxEES2oEXZVscxVVxL%2Fimage.png?alt=media\&token=9170c7d4-7b4f-480a-8488-3eb53f49f307)

## ✅ Configure your PreSearch Node

Update the Image Name to have the latest tag:

For example: "presearch/node:1.0.1"

Configure your environment with the Node Registration Code:

`REGISTRATION_CODE = 123123123123123`

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FrwacoliWpRjnN2IAi6xy%2Fimage.png?alt=media\&token=f366f775-99f1-4278-a3c4-dba74c61d1a4)

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FpzeKW0LOvDygRmty54Pq%2FScreen%20Shot%202022-01-11%20at%204.16.57%20AM.png?alt=media\&token=7d244277-9630-4500-a768-ff709afda12c)

## ✅ Verify Operation

\
Check <https://nodes.presearch.org/dashboard> and verifiy your node appears

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FsEuhP7uGIT4GWyvBIIER%2Fimage.png?alt=media\&token=b9c49ecc-0701-4658-a6f7-5d4e3425c81e)

Look for green connection icon<br>

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FdBwbdB5P1XL844NRRGMD%2Fimage.png?alt=media\&token=5edf6b40-e843-4938-8138-be80e2566bd8)

## ✅ Troubleshooting

\
If your node is not starting properly for some reason, consider opening a WebTTY and checking the logs:

{% content-ref url="../operations/create-webtty" %}
[create-webtty](https://docs.stackos.io/stackos-docs/operations/create-webtty)
{% endcontent-ref %}

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

\
`kubectl get pods`

## ✅ Show the logs for the pod

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

## ✅ Expect to see something like this

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FVpWT816oRXBXAgqij3uQ%2Fimage.png?alt=media\&token=4cd34195-b999-4f14-be6b-e729550615ff)


---

# 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.stackos.io/stackos-docs/app-store-notes/presearch-on-stackos.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.
