# Routes

Routes allow you to define custom URLs paths that the Routes component can respond to, switching content based on the route URL.

To add any new route, just open `routes` resource from the main menu.

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

The key is autogenerated and serves for dynamic referencing a route. The label is user friendly name and the path is URL path. You can also include a parameter, which starts with `:`.

For example, route UserDetail can look like `/users/id/:userId` -> this route will have a single parameter called userId.

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

All registered routes are available in some components which support Link property.

For example, this settings make from button a link to the Signup route -> after click you will see the url in your browser or in Tester.

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

{% hint style="warning" %}
Link to a route changes the URL address, but has no influence on the content. For defining content you need to use the Routes component.
{% endhint %}


---

# 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.adapptio.com/getting-started/architecture-overview/routes.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.
