# Setup the Hybrid Runner

[`nodegen-server`](https://github.com/orgs/Coherent-Partners/packages/container/package/nodegen-server) acts as a worker and does not handle user authentication or authorization. It does not store any sensitive data during its runtime, including when executing models or retrieving Wasm modules. It is the responsibility of the end user to secure the server and implement necessary authentication and authorization mechanisms such as a proxy or API gateway.

There are multiple ways to setup the hybrid runner:

1. [Hybrid method 1: Automatic Wasm pull](/hybrid-runner/setup-the-hybrid-runner/hybrid-method-1-automatic-wasm-pull.md): With this option, once [`nodegen-server`](https://github.com/orgs/Coherent-Partners/packages/container/package/nodegen-server) is running, it can automatically fetch the necessary Wasm modules from the Spark SaaS.
2. [Hybrid method 2: Manual Wasm mount](/hybrid-runner/setup-the-hybrid-runner/hybrid-method-2-manual-wasm-mount.md): This alternate method involves downloading the required Wasm modules using the Export API and utilizing Docker's [`bind-mount`](https://docs.docker.com/engine/storage/bind-mounts/) feature to execute them.
3. [Hybrid method 3: Custom Docker image](/hybrid-runner/setup-the-hybrid-runner/hybrid-method-3-custom-docker-image.md): This is a variation of method 2 where the end result is a [Docker image](https://docs.docker.com/) that can be deployed which includes the runner and Wasm files.

We always recommend using the latest version of the runner available. If you are not using the latest version of the runner, you can potentially encounter issues when used in conjunction with newer versions of [Neuron](/build-spark-services/neuron.md). More information is described in [Hybrid Runner environment variables reference](/hybrid-runner/setup-the-hybrid-runner/hybrid-runner-environment-variables-reference.md#manage-compatible-neuron-versions).

Information about [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) can be found in [Hybrid Runner environment variables reference](/hybrid-runner/setup-the-hybrid-runner/hybrid-runner-environment-variables-reference.md#configure-opentelemetry).

{% hint style="info" %}
The following steps assume that you have already created and tested a Spark service in the Spark SaaS environment. If you haven't done so, please refer to the guides such as [Get started in 5 minutes](/getting-started-in-5-minutes.md) or [How to: Create a Spark service](/build-spark-services/how-to-create-a-spark-service.md).
{% endhint %}


---

# 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.coherent.global/hybrid-runner/setup-the-hybrid-runner.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.
