> For the complete documentation index, see [llms.txt](https://docs.licensespring.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.licensespring.com/vendor-platform/importing-exporting-data/license-import.md).

# License Import

Importing licenses refers to the ability to bulk upload license data efficiently using a pre-defined CSV file. This page walks you through the entire process, including where to find templates, how to structure your CSV file, and how to upload it through the platform interface or Management API.

{% stepper %}
{% step %}

### Navigate to the Licenses Import Section

* Go to the `Licenses` menu on the sidebar and click the `Licenses Import` tab, as shown below.

![License Import Tab](/files/b681ad14666c2264d796a462dca03b0098c2b2ad)
{% endstep %}

{% step %}

### Prepare Your CSV File

* Populate your CSV file with your license data. Ensure you include the **required headers**, such as `license__license_key` and `product__short_code`.
* There are other **optional headers** that can be included in this CSV file for more detailed configurations, such as `license__max_activations` and `license__validity_period`. See: [Import Licenses From CSV](/management-api/license/import-licenses-from-csv.md).
* Optionally, you can click the `Download import template file` button to download a pre-formatted CSV file. This template ensures your data conforms to the required structure:
  * [license\_import\_template.31dc5f35.csv](https://api.archbee.com/api/presign/1qQvw4Dswzp513JIpU4f9-5LIH-vNz5kVTNoHEf1dBY-20241204-011307.csv)
    {% endstep %}

{% step %}

### Upload Your CSV File

* Drag and drop your prepared file into the upload area or click to browse and select your file. The platform accepts `.csv` files only.

![CSV Upload Area](/files/9d998fca2ce708fdc1964d19623001bb8bd71097)
{% endstep %}

{% step %}

### Monitor the Upload Status

* Once uploaded, the platform will validate your data and display the status in the `Imports List` section.
* If successful, the status will show as `success`. Otherwise, review the error messages, correct the data, and re-upload.

![Imports List and Status](/files/64ee55fb072af63bc98c2fa222f3c01ab49313d0)
{% endstep %}
{% endstepper %}

### Importing Licenses via Management API

For advanced users, the platform also supports license imports programmatically through the Management API.

More information regarding this style of importing can be found at [**Import Licenses From CSV**](/management-api/license/import-licenses-from-csv.md), our page outlining the Management API endpoint for performing the equivalent action.


---

# 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.licensespring.com/vendor-platform/importing-exporting-data/license-import.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.
