# Connecting Your Lattice to Your Own Private Endpoint

By default, your Lattice1 connects to and routes tx requests via our own GridPlus cloud infrastructure. Any messages sent to and from your device are always end-to-end encrypted and remain completely secure; however, we believe that Lattice1 owners should always have the option to manage this service themselves, should they choose to do so.

<figure><img src="/files/eSBIsG1HMpqmiE9aNNn7" alt=""><figcaption></figcaption></figure>

And for this reason, we created a basic service you can run on your own network via a command line that will replace our cloud endpoint entirely, allowing you to sign with your Lattice without using any GridPlus infrastructure.

Running **Lattice Connect** yourself provides several advantages:

* Offers the fastest message routing possible for a Lattice1
* Provides the highest amount of privacy available while using a Lattice1
* Zero configuration changes required (e.g., no SSH'ing necessary)
* Setup takes less than 5 minutes!

**You can find the source code and guide here on our public Github repository:**

{% embed url="<https://github.com/GridPlus/lattice-connect-v2>" %}


---

# 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.gridplus.io/apps-and-integrations/lattice-manager/connecting-your-lattice-to-your-own-private-endpoint.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.
