# Create Routes

Application developers can easily create a Route for their application in a few minutes using the following steps.

1. Click Add New HTTPRoute to create a new Route. Our platform will ask you to complete a form.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcJZFuiPx1ifXyZ1tMnAUStwU9fO-SQvHEYctmZ3RgzfeQUs9-Az9cYdzDvDK-D1QmzggGE-p2zI3uo0EBMLKH3mt9yq0kPGst907EhAM-tIE3ShSxIYjT2aARl-oQNdBdOHPtZxxrKilWkLRibMlbiQdVw?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

2. The form has three sections: **General Info** (about the namespace, labels, annotations, etc.), **Gateway linking** (linking to a Listener of a Gateway), and **HTTP Rules** (conditions to filter traffic and send it to the backend service).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfH-i7Hm2J_msT7y8C6wDZ6bt7bxUtwPI1R_xguepXmhUsKDtXX_9yQLOtAZ9KRbynE22iQJj_B9RgsC9X2yfM8G4cRfG_Hgl1D1iUGqmBoRDZJzrUUrO40Dh0EJONadlFU94REL1t2-ivz-Jd74_oLkOo?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

3. Under the HTTP Rules, engineers need to fill in the following information about Condition (to filter traffic), Action (such as modifying request header, redirect to, URL rewrite, Request mirror), and Destination (backend service name, port, and traffic percentage).&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAIIAdeiPEUOkPqUI-TsYYyNQ67nwJ_3YvmZ8FyBVnRUOODcrsFp5WKBsdSAo8OqpAZP0LwljMbNbx7cf0U2w1hFx4QanaRGCycWMoGa2naAZg3_3hFOWjS_u7kpU3qTgmy_UJt4bEoO85bD0s8OpGhMNY?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfkNQuEP4Stc_Y3ba5tghQyYD_SigfGBr6TvL1bfh8Au611EMeLW5QMAO5uIhPkEXZC4ho0whrBRNGvag5D9LBqtBc9U6Do4LK_s6tY5ErWdPjYzatSvcFPaSgcJrhQRcrZEnU9Jx6oTDXphVgxJLod_-fD?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfjENEh9AbPn4En7_vNBxmxKNBROI3-MWnPyAwmXgOVAjDpI6uot0NcLlBYhxsE8zjGjAoYkKC62LqZ9XpaRJhSVMJ9kuXrpnIRWbuHsl4tDVNF659Ve1aHRrR-rzfQTt0uvNiL2_XPJK900cbupkStuCAj?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

4. Once the form is completed, saved, and deployed, a new Route resource is created. IMESH API Gateway creates a YAML file and stores it for further reference.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfcz98YjguxJOeMFWjzt8q6Iow4KHC85P5Eh4sM142RIB1lShDrKfAy0Ol18x7Cn2L_gLmC1MVfOo1mrk1mULm6B61NhoFPNT4lQpBbbbWDcspsqVUGDWA0JPDP2KKbuaOsWFGjB1wTj8yA-zDJjXTTANAb?key=TmnoeuMYwYPADPNdd3FkNg" alt=""><figcaption></figcaption></figure>

Note: Please let us know on our [Slack channel ](https://imesh.ai/register-slack.html)if you have any questions.&#x20;

The following sections will discuss various cases to manage HTTP traffic, such as modifying headers, URL rewrite/redirect, etc.

<br>


---

# 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.imesh.ai/routes/create-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.
