> For the complete documentation index, see [llms.txt](https://docs.invana.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.invana.io/products/invana-engine/installation.md).

# Installation

Invana Engine is served over GraphQL, so it can be used without Invana Studio. For any such use cases, below are the docker-based and standalone installation methods.

Invana Engine connects to the Apache TinkerPop's Gremlin Server's for communicating with the Graph Database. Below is the simple representation of how Invana Engine connects to a Graph Database.

![](/files/-MZJpqSv74FhVEOMJEXV)

### Running using Docker

```
$ docker run -p 8200:8200 -d  -e GREMLIN_SERVER_URL=ws://xx.xx.xx.xx:8182/gremlin --name invana-engine invanalabs/invana-engine 
```

Invana Engine will be available at http\://\<ip-address:8200>. Following Docker environment variables are supported:

* **GREMLIN\_SERVER\_URL**: http or ws gremlin url. ex: ws\://xx.xx.xx.xx:8182/gremlin or <http://xx.xx.xx.xx:8182/gremlin>
* **GREMLIN\_TRAVERSAL\_SOURCE**(optional): defaults: 'g'
* **GREMLIN\_SERVER\_USERNAME**(optional): gremlin username. ex: myusername
* **GREMLIN\_SERVER\_PASSWORD**(optional): gremlin password. ex: mypassword
* **SERVER\_PORT**(optional, available in standalone python mode only): port on which invana engine server is available: defaults to 8200

{% hint style="info" %}
You can explore docker compose templates from [here](https://github.com/invanalabs/invana-engine/tree/develop/docker-templates) to deploy Invana Engine with Analytics Infrastructure with any of Invana supported Graph databases.
{% endhint %}

### Running using Python server (standalone)

```
pip3 install invana-engine

export GREMLIN_SERVER_URL=ws://xx.xx.xx.xx:8182/gremlin
invana-engine-start
```

{% hint style="warning" %}
Running python server via this implementation is not designed for production setup.&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.invana.io/products/invana-engine/installation.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.
