# JavaScript SDK Demos

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

{% embed url="<https://github.com/eyepop-ai/Demos>" %}

In this guide, we'll walk through the basics of running the EyePop Demos found above. Before getting started, download and open the Demo repository on your local machine in your editor of choice. &#x20;

1. Copy your newly created Pop's Endpoint and Auth Token into all `config.js` files of the Demo subdirectories as shown below&#x20;

   <figure><img src="https://i.imgur.com/5fDlb4x.jpeg" alt=""><figcaption></figcaption></figure>
2. Run a local server from the root directory of this demo folder
   1. See <https://github.com/64blit/Demos/blob/main/README.md> for local server setup instructions
3. Open the root index.html file of the demo repository:

   <figure><img src="/files/A6t5N6hBZ6BhQbq6Rg13" alt=""><figcaption></figcaption></figure>
4. Run test each example either with preceded test data or your own!


---

# 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.eyepop.ai/developer-documentation/sdks/javascript-sdk/javascript-sdk-demos.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.
