> For the complete documentation index, see [llms.txt](https://engine.sygnal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://engine.sygnal.com/setup/advanced-install-notes/creating-a-persistent-test-env.md).

# Creating a Persistent Test Env

If you are working with Sygnal and using Sygnal's DevProxy, we can also setup a Persistent TEST Environment.&#x20;

## Video Tutorial

{% embed url="<https://www.loom.com/share/d5f8ae18a98f46a5b6bad1d9522c641b>" %}

## Setup Test CDN ( optional )

Create a second new site in Netlify

Connect to the same repo, with these settings;&#x20;

| Setting             | Value              | Notes                                                                       |
| ------------------- | ------------------ | --------------------------------------------------------------------------- |
| Site name           | e.g. `mysite-test` | Our convention is to use the same site name as before, affixed with `-test` |
| Branch to deploy    | `dev`              | <- note difference                                                          |
| Base directory      | ( blank )          |                                                                             |
| Build command       | `npm run build`    |                                                                             |
| Publish directory   | `dist`             |                                                                             |
| Functions directory | ( blank )          |                                                                             |

Deploy&#x20;

Test it

e.g. [https://mysite-test.netlify.app/index.js](https://nanistori.netlify.app/index.js)

## Update your Webflow Script

In site-wide before-head, add your script references;

{% hint style="info" %}
Make certain to adjust the prod and test URLs accordingly.&#x20;
{% endhint %}

```html
<!-- Site Engine (SSE)
     https://engine.sygnal.com
--> 
<script 
  src="https://mysite.netlify.app/index.js"
  test-src="https://mysite-test.netlify.app/index.js"
  dev-src="http://127.0.0.1:3000/dist/index.js"
  ></script> 
```


---

# 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, and the optional `goal` query parameter:

```
GET https://engine.sygnal.com/setup/advanced-install-notes/creating-a-persistent-test-env.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
