> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/configure-web-targets/use-navigation-sequences.md).

# Use navigation sequences

Guide the scanner to specific application states and complex areas of your web application using navigation sequences.

## What are navigation sequences?

Navigation sequences are recorded sets of actions that the scanner replays during scans to reach specific areas of your application. Use navigation sequences when your web application has complex workflows, multi-step processes, or sections that require specific user interactions to access.

For example, if your application has a shopping cart flow, admin panels, or dynamic content that only appears after specific user actions, record those steps as a navigation sequence to ensure the scanner tests those areas.

## Record a navigation sequence

Before configuring a navigation sequence in Snyk API & Web, you must record it using the Snyk API & Web Sequence Recorder browser plugin.

Visit the [Use sequence recorder](/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/configure-web-targets/use-sequence-recorder.md) article for detailed instructions on installing the plugin and recording sequences.

When recording a navigation sequence:

* If your sequence requires authentication, ensure you are **logged in** to your target before starting the recording
* Perform each step carefully, clicking links and buttons as a user would
* Avoid unnecessary actions that are not part of the workflow you want the scanner to follow

## Add a navigation sequence

After recording a navigation sequence, add it to your target configuration:

1. Navigate to your target settings and locate the **Navigation Sequences** section in the **Scanner** tab.
2. Click **Add Navigation Sequence**. On the import screen:
   * Define a name for your sequence
   * Paste or upload the previously recorded navigation sequence
   * If your sequence requires authentication, select the **Requires authentication** option
3. Submit your sequence.

## Verify navigation sequences

After adding a navigation sequence, Snyk API & Web displays it in the Navigation Sequences list. The scanner replays this sequence during target scans to reach and test the specified areas of your application.

<figure><img src="/files/8o1dedz8qPcim7X5M0nC" alt="Navigation sequences list showing configured sequences"><figcaption></figcaption></figure>

Run a scan to verify the navigation sequence works correctly and the scanner reaches the intended areas of your application.


---

# 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://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/configure-web-targets/use-navigation-sequences.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.
