# How to add routes in batch for ZTNA

This feature enables batch registration of multiple Network Mappings via CSV upload, streamlining the registration process for large amounts of data such as 10, 30, or even 100 records. This process can be performed in both Test and Production environments.&#x20;

## How to upload the routes registration records

The steps below will teach you how to upload a CSV file containing multiple routes (Network Mappings).&#x20;

1. Click **Connectivity** in the upper right corner on the Platform home page.
2. Click the **Network Mapping** tab and then **Add Network Mapping** button. This button is only available if you have already [created an Edge Router.](/documentation/developer-guide/connectivity-management/ztna/new-connections.md)
3. Select **In batch (CSV)** on the menu.&#x20;
4. Click **Download template** to download the CSV template.
5. Fill in the CSV template with your Network Mapping with the following information:
   * Host
   * Host Alias&#x20;
   * Environment
   * Port

## How to add routes in bulk on the Platform

1. Back at the Platform, click the **Upload CSV** button to upload the CSV file from your computer.&#x20;
2. Once uploaded, a preview table is displayed before confirmation.
3. The Platform validates required fields and format errors in the uploaded CSV . If the file is invalid, an error message will be displayed. You can upload a new valid CSV file.&#x20;
4. Click **Save**.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4523BaA7JfghHEYBbLWY%2Fuploads%2Fw55hOa8JcSsOFQrbWu1B%2FZTNA%20Batch%20-%20Made%20with%20Clipchamp.mp4?alt=media&token=99705592-4e6c-461d-b484-1c2258b42b30>" %}

{% hint style="info" %}
After uploading the CSV it’s only necessary to redeploy your pipelines that will use new routes. Pipelines in test mode are automatically redeployed, which may cause temporary instability in this environment.
{% 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.digibee.com/documentation/developer-guide/connectivity-management/ztna/routes-batch.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.
