# Scan a JavaScript URL

This article will walk you through the process of scanning a JavaScript URL using Jsmon to detect secrets and security vulnerabilities.

#### Step 1: Navigate to the Scans Page

* First, select your **workspace**.
* Click on **"Go to scans"** to navigate to the scans window.

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

#### Step 2: Initiate a JS URL Scan

* On the scans page, select **"JS URL Scan."**
* Paste the JavaScript URL you want to scan into the provided input field.

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

#### Step 3: Start the Scan

* Click the **"Submit"** button to begin the scan.
* The scan's status will be visible in the "Recent Scans" window, and you can click the reload icon to check its current status.

#### Step 4: View the Scan Results

* Once the status changes to **"success,"** you can click on the scan entry to view the results.
* The results will provide an overview of API endpoints, any leaked secrets, and PII data detected.

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

#### Step 5: View All Secrets

* The overview may only show a limited number of entries. To see the full list of detected secrets, click on **"View All Secrets."** \[00:01:05]

For more information, you can watch the full video tutorial here: [How to Scan a JavaScript URL in Jsmon | Detect Secrets & Security Issues](https://www.youtube.com/watch?v=JyOh8whyDP4)

{% embed url="<https://www.youtube.com/watch?v=JyOh8whyDP4>" %}

<a href="https://cal.com/jsmon/30min" class="button primary" data-icon="calendar-days">Want to learn more? Schedule a meeting with Jsmon Team!</a>


---

# 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://knowledge.jsmon.sh/documentation/basics/scan-js-url.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.
